Optional
dataThe CompilationData required to compile the specified script.
The scenario ID that can be used to estimate the final size of this unlocking script. This is required when using fee estimation.
The script ID to compile.
Optional
tokenThe CashToken contents of this input. This property is only defined if the
input contains one or more tokens. For details, see
CHIP-2022-02-CashTokens
.
The number of fungible tokens (of category
) held in this output.
Because Number.MAX_SAFE_INTEGER
(9007199254740991
) is less than the
maximum token amount (9223372036854775807
), this value is encoded as
a bigint
.
The 32-byte ID of the token category to which the token(s) in this output belong in big-endian byte order. This is the byte order typically seen in block explorers and user interfaces (as opposed to little-endian byte order, which is used in standard P2P network messages).
Optional
nft?: { If present, the non-fungible token (NFT) held by this output. If the
output does not include a non-fungible token, undefined
.
The NonFungibleTokenCapability of this non-fungible token.
The commitment contents included in the non-fungible token (of
category
) held in this output.
The satoshis
value of the Output being spent by this input.
Required for use in signing serializations.
Generated using TypeDoc
The Compiler with which to generate bytecode.