# cancelWithdrawal()

{% hint style="info" %}
Every pending withdrawal has a unique ID. To get a list of pending withdrawals for an address, see [withdrawalRequestIds()](https://docs.bancor.network/developer-guides/read-functions/withdrawals/withdrawalrequestids).
{% endhint %}

### **Function** cancelWithdrawa&#x6C;**()**

```solidity
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.&#x20;

### **Function Arguments**

<table><thead><tr><th width="161">Name</th><th width="150">Type</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>uint256</td><td>The ID of the pending withdrawal to cancel. </td></tr></tbody></table>

This function does not return anything.
