Given a raw tx, how to determine whether an input is of type witness_v0_keyhash or witness_v1_taproot? Thanks.

For example:

0100000000010180896ef46031af4aa6633bfc93ba2051605df3b81c2dd2beee626adca1e9a2370000000000ffffffff022bae3a010000000022512057b565e1ee4231a53f1f62ef7250c2640cc110f845086b902fe389f36c87dbe0cdd90000000000001600147978341fb68e3956812c494a56d9d3efaef0ee3a0141a8f4b208bb6e28cab7935e8b677f9480a192de7749b55ed6e1e3a31e1b5f6853017ff5cdd1f37d5e3ad91623cdbf377a9105f42df7dcc675e9c008014d16fc440100000000

source

By pplny

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다