Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetTransferTransaction

Spends the existing asset and creates a new asset. Ownership can be transferred during this process.

An AssetTransferTransaction consists of:

  • A list of AssetTransferInput to burn.
  • A list of AssetTransferInput to spend.
  • A list of AssetTransferOutput to create.
  • A network ID. This must be identical to the network ID of which the transaction is being sent to.

All inputs must be valid for the transaction to be valid. When each asset types' quantity have been summed, the sum of inputs and the sum of outputs must be identical.

Hierarchy

  • AssetTransferTransaction

Index

Constructors

constructor

Properties

burns

inputs

networkId

networkId: NetworkId

orders

orders: OrderOnTransfer[]

outputs

Methods

rlpBytes

  • rlpBytes(): Buffer

toEncodeObject

  • toEncodeObject(): (string | number | (Buffer | (string | number)[] | number[][])[][] | (string | number | Buffer[])[][] | (string | number | (string | number | Buffer[] | (string | number)[][])[])[][])[]
  • Convert to an object for RLP encoding.

    Returns (string | number | (Buffer | (string | number)[] | number[][])[][] | (string | number | Buffer[])[][] | (string | number | (string | number | Buffer[] | (string | number)[][])[])[][])[]

toJSON

Generated using TypeDoc