Skip to main content

CoinData

@totemsdk/kissvm


@totemsdk/kissvm / CoinData

Interface: CoinData

A single input coin

Properties​

address​

address: string


amount​

amount: number


coinCreatedBlock?​

optional coinCreatedBlock?: number

Block when this coin was created (for

COINAGE​

=

BLOCK​

− coinCreatedBlock)


coinId​

coinId: string


scriptHash?​

optional scriptHash?: string

Hash of the coin's locking script (for @SCRIPT)


tokenId​

tokenId: string