> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tonhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Transfer link

> Transfer link allows to create and send TON transactions from Tonhub with an HTTP request. This page describes how transfer links are structured.

As always, you can use the Sandbox environment for testing and development. To create link for [sandbox](/docs/sandbox), use *[https://test.tonhub.com/](https://test.tonhub.com/)* (ton-test://transfer) endpoint instead of *[https://tonhub.com/](https://tonhub.com/)* (ton://transfer)

The link follows this format

<CodeGroup>
  ```bash bash theme={null}
  https://tonhub.com/transfer/{ADDRESS}?amount=5000000000
  ```
</CodeGroup>

Query parameters you can specify:

| Parameter | Req      | Description                                                                               |
| --------- | -------- | ----------------------------------------------------------------------------------------- |
| amount    | Required | The amount of the transaction in nano TONs/Jettons                                        |
| text      | Optional | Comment on the transaction, if the bin is specified, it is the purpose of the transaction |
| bin       | Optional | Binary payload of the transaction, serialized as base64 BOC                               |
| init      | Optional | State init, serialized as base64 BOC                                                      |
| jetton    | Optional | Jettons Master address for jetton transfers                                               |

## Examples

### Send TON to address

This link is used for sending 0.5 TON to kQDvRFMYLdxmvY3Tk-cfWMLqDnXF\_EclO2Fp4wwj33WhlGrZ

<CodeGroup>
  ```bash bash theme={null}
  https://test.tonhub.com/transfer/kQDvRFMYLdxmvY3Tk-cfWMLqDnXF_EclO2Fp4wwj33WhlGrZ?amount=500000000
  ```
</CodeGroup>

### Send TON to address with the comment

This link is used for Deposit in Ton Whales Staking Pools. You can see how it was used [here](https://tonsandbox.com/staking/pool/kQBs7t3uDYae2Ap4686Bl4zGaPKvpbauBnZO_WSop1whaLEs), in *Deposit via Tonhub* button.

<CodeGroup>
  ```bash bash theme={null}
  https://tonsandbox.com/staking/pool/kQBs7t3uDYae2Ap4686Bl4zGaPKvpbauBnZO_WSop1whaLEs
  ```
</CodeGroup>

[https://test.tonhub.com/transfer/EQBs7t3uDYae2Ap4686Bl4zGaPKvpbauBnZO\_WSop1whaAqm?text=Deposit](https://test.tonhub.com/transfer/EQBs7t3uDYae2Ap4686Bl4zGaPKvpbauBnZO_WSop1whaAqm?text=Deposit)

### Deploying contract

This link is used for deploying the contract (*init*) and contains the first message (*bin*). Also, there is a *text*, so the purpose of the transaction is "Deploy contract"

<CodeGroup>
  ```bash bash theme={null}
  https://tonhub.com/transfer/${address}?text=Deploy%20contract&amount=500000000&init=${stateInit}&bin=${payload}
  ```
</CodeGroup>

### Jetton transfers

This link is used for sending Jettons via link. Note that you will loose *init* & *bin* params when you add *jetton*

<CodeGroup>
  ```bash bash theme={null}
  https://tonhub.com/transfer/{address}?text=Test%20transfer&amount=5000000000&jetton=EQCcLAW537KnRg_aSPrnQJoyYjOZkzqYp6FVmRUvN1crSazV
  ```
</CodeGroup>
