Function cancelVaultTransferImpl

  • Cancels a pending vault transfer for a given asset and transfer type. This function will fail if there is no pending transfer for the specified type.

    Throws

    Throws an error if no pending transfer of the specified type exists.

    Todo

    Add a rent checker for account creation cost.

    Parameters

    • this: SdxClient
    • asset: AssetType

      The type of the asset associated with the vault transfer.

    • transferType: TransferType

      The type of transfer to cancel.

    Returns Promise<TransactionSignature>

    A promise that resolves to the transaction signature of the cancellation operation.

Generated using TypeDoc