SpentAmounts
bitcoinjs-lib / SpentAmounts
Type Alias: SpentAmounts
SpentAmounts:
FixedArray
\<ByteString
, typeofTX_INPUT_COUNT_MAX
>
Defined in: packages/scrypt-ts-btc/src/smart-contract/types/structs.ts:175
The context of the spent amounts. spentAmounts is an array of the spent amounts, that is the amount of the previous output. [spentAmount1, spentAmount2, ...], length is MAX_INPUT. The rest is empty ByteString if inputs are less than MAX_INPUT. each non-empty element is a ByteString of 8 bytes, which is the amount of the previous output.