cancelWithdrawal()

This function is in the BancorNetwork.sol contract

Every pending withdrawal has a unique ID. To get a list of pending withdrawals for an address, see withdrawalRequestIds().

Function cancelWithdrawal()

function cancelWithdrawal(uint256 id) external

This function cancels a pending withdrawal. It accepts the ID of the pending withdrawal as arguments, and can only be done by the address that owns the pending withdrawal.

Function Arguments

NameTypeDescription

id

uint256

The ID of the pending withdrawal to cancel.

This function does not return anything.

Last updated