cancelWithdrawal

cancelWithdrawal is a method on the ARIO class that cancels a pending withdrawal for a gateway, returning the stake back to the delegated amount.

cancelWithdrawal requires authentication.

Examples

cancelWithdrawal

const { id: txId } = await ario.cancelWithdrawal({
    gatewayAddress: 't4Xr0_J4Iurt7caNST02cMotaz2FIbWQ4Kbj616RHl3',
    vaultId: 'vault_123'
});

Parameters

ParameterTypeDescriptionOptional
gatewayAddressstring - WalletAddressThe wallet address of the gatewayfalse
vaultIdstring

The ID of the vault containing the withdrawal to cancel

false
tagsarray

An array of GQL tag objects to attach to the transfer AO message

true

Was this page helpful?