> For the complete documentation index, see [llms.txt](https://docs.bancor.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bancor.network/developer-guides/read-functions/withdrawals/withdrawalrequest.md).

# withdrawalRequest()

### Function withdrawalRequest()

{% code title="PendingWithdrawals.sol" %}

```javascript
function withdrawalRequest(uint256 id) external view returns (WithdrawalRequest memory)
```

{% endcode %}

This function provides detailed information about a pending withdrawal.&#x20;

### Function Arguments

| Name | Type    | Description                     |
| ---- | ------- | ------------------------------- |
| id   | uint256 | The ID of a pending withdrawal. |

### Return Variables

This function returns a list of information about the pending withdrawal.&#x20;

Example response:

```
tuple :  0x04444499F1Cf0C0264664B43977ED08fEee22222,0xAB05Cf7C6c3a288cd36326e4f7b8600e7268E344,0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C,1652132072,35689994719818965491542,35693378174384324203302
```

| Variable Type | Returns                                                                 |
| ------------- | ----------------------------------------------------------------------- |
| address       | This is the address to which the withdrawn tokens will go.              |
| address       | This is the address of the Bancor Pool tokens that are being withdrawn. |
| address       | This is the address of the token that will be received.                 |
| uint32        | The Unix timestamp of when the requested was initiated.                 |
| uint256       | The number of pool tokens (bnTokens) being withdrawn.                   |
| uint256       | The number of tokens that will be received.                             |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bancor.network/developer-guides/read-functions/withdrawals/withdrawalrequest.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
