Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Asset

Object created as an AssetMintTransaction or TransferAsset.

Hierarchy

  • Asset

Index

Constructors

constructor

Properties

assetType

assetType: H160

lockScriptHash

lockScriptHash: H160

orderHash

orderHash: H256 | null

outPoint

outPoint: AssetOutPoint

parameters

parameters: Buffer[]

quantity

quantity: U64

shardId

shardId: number

Methods

createTransferInput

createTransferTransaction

  • Parameters

    • params: object
      • Optional approvals?: string[]
      • Optional expiration?: undefined | number
      • Optional metadata?: string | object
      • networkId: NetworkId
      • Optional recipients?: Array<object>
      • Optional timelock?: null | Timelock

    Returns TransferAsset

toJSON

Static fromJSON

Generated using TypeDoc