SpentScripts
bitcoinjs-lib / SpentScripts
Type Alias: SpentScripts
SpentScripts:
FixedArray
\<ByteString
, typeofTX_INPUT_COUNT_MAX
>
Defined in: packages/scrypt-ts-btc/src/smart-contract/types/structs.ts:166
The context of the spent scripts. spentScripts is an array of the spent scripts, that is the script of the previous output. [spentScript1, spentScript2, ...], length is MAX_INPUT. The rest is empty ByteString if inputs are less than MAX_INPUT. each non-empty element is a ByteString, which is the script of the previous output.