Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

  • Transfer operation constructor

    Parameters

    • from: ChainObject

      account object id of the sender

    • to: ChainObject

      account object id or content object id of the receiver

    • amount: AssetAmount

      an [AssetAmount] to transfer

    • Optional memo: Memo

      optional string note

       * @param fee <a href="_models_assetamount_.assetamount.html">AssetAmount</a> fee for the operation or asset id, if left undefined the fee will be computed in DCT asset.

      When set, the request might fail if the asset is not convertible to DCT or conversion pool is not large enough

    • Optional fee: Fee

    Returns TransferOperation

Properties

amount

amount: AssetAmount

extensions

extensions: any[] = []

Optional fee

Optional feeAssetId

feeAssetId: ChainObject

from

Optional memo

memo: Memo

to

type

Methods

setFee

  • setFee(fee?: Fee): void

Generated using TypeDoc