Class TransferDeployItem

Represents a deploy item with a transfer of funds and associated arguments.

Hierarchy

  • TransferDeployItem

Constructors

Properties

Methods

Constructors

Properties

args: Args

The arguments for the transfer.

Methods

  • Creates a new transfer deploy item with the specified amount, target, source purse, and transfer ID.

    Returns

    A new TransferDeployItem instance.

    Throws

    Error if the target is not specified or the transfer ID is missing.

    Parameters

    • amount: string | BigNumber

      The amount to transfer.

    • target: PublicKey | URef

      The target address (either a URef or a PublicKey).

    • sourcePurse: null | URef = null

      The source purse (optional).

    • Optional id: BigNumberish

      The transfer ID.

    Returns TransferDeployItem

Generated using TypeDoc