# Withdraw

### Withdraw

```javascript
await sdk.withdraw(transaction_hash, ['0xADDR']) 
```

The withdraw function receives to arguments, the first one is the transaction hash in which the deposit occurs and the second argument is a list of recipient addresses, this means that you can split your withdraw between a list of recipients in order to improve your privacy, this withdraw is executed by the Typhoon paymaster, so all the network fees are covered and there is no link with the user withdrawing.

### Get withdraw calldata

```javascript
await sdk.get_withdraw_calldata(txhash, receiver_list)
```

This function receives the same arguments from the previous one, but instead of executing the transaction, this function just return the calldata to the withdraw function.


---

# Agent Instructions: 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:

```
GET https://typhoon-2.gitbook.io/typhoon-docs/getting-started/withdraw.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
