Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetOutPoint

AssetOutPoint consists of tracker and index, asset type, and quantity.

  • The transaction that it points to must be either AssetMint or AssetTransfer.
  • Index is what decides which Asset to point to amongst the Asset list that transaction creates.
  • The asset type and quantity must be identical to the Asset that it points to.

Hierarchy

  • AssetOutPoint

Index

Constructors

constructor

Properties

assetType

assetType: H160

index

index: number

Optional lockScriptHash

lockScriptHash: H160

Optional parameters

parameters: Buffer[]

quantity

quantity: U64

shardId

shardId: number

tracker

tracker: H256

Methods

toEncodeObject

  • toEncodeObject(): (string | number)[]

toJSON

Static fromJSON

Generated using TypeDoc