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

# Transfer funds To/From an exchange

> Move funds between your Finrock wallets and a connected exchange account using the Create Transaction endpoint with source or destination type Exchange.

**[MCP scope](https://apidocs.finrock.io/api-reference/mcp-scopes.md):** `dac.funds` (not available to AI connectors yet)

Exchange transfers use the [Create Transaction](https://apidocs.finrock.io/api-reference/transactions/create-transaction.md) endpoint. To send funds to a connected exchange, set `destination_type` to `Exchange`. To fetch funds from an exchange into your Finrock wallet, set `source_type` to `Exchange`. The exchange must be added and active in your workspace; check `is_added` and `is_active` with [Exchange Accounts](https://apidocs.finrock.io/api-reference/exchanges/list-exchange-accounts.md) first.

## Body Parameters

This page covers the parameters used for exchange transfers. See [Create Transaction](https://apidocs.finrock.io/api-reference/transactions/create-transaction.md) for the full parameter list.

**asset** `string` *required*

The asset to transfer. Use the `id` value from the [Supported Assets](https://apidocs.finrock.io/api-reference/utilities/supported-assets.md) list (e.g. `BTC`, `ETH`, `USDT_ETH`).

**amount** `double` *required*

The amount to transfer, in the asset's native unit. Maximum precision is 8 decimal places.

**source\_type** `string` *required*

`Internal` when sending to an exchange. `Exchange` when fetching from an exchange.

**source\_id** `string`

When fetching from an exchange, the exchange name (e.g. `Binance`), matching the `exchange` value from [Exchange Accounts](https://apidocs.finrock.io/api-reference/exchanges/list-exchange-accounts.md).

**destination\_type** `string` *required*

`Exchange` when sending to an exchange. `Internal` when fetching from an exchange.

**destination\_id** `string`

When sending to an exchange, the exchange name (e.g. `Binance`), matching the `exchange` value from [Exchange Accounts](https://apidocs.finrock.io/api-reference/exchanges/list-exchange-accounts.md).

**memo** `string`

A free-text note attached to the transaction record in Finrock. Not broadcast on-chain.

**sequence\_id** `string`

A client-generated unique identifier for idempotency. See [Request Idempotency](https://apidocs.finrock.io/reference/idempotency.md).

```bash Send to exchange theme={null}
curl --request POST \
     --url https://api.finrock.io/dac/v1/transaction \
     --header 'Authorization: Bearer {JWT}' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: YOUR_API_KEY' \
     --data '{
       "asset": "USDT_ETH",
       "amount": 500,
       "source_type": "Internal",
       "destination_type": "Exchange",
       "destination_id": "Binance",
       "memo": "Top up Binance liquidity",
       "sequence_id": "exch-deposit-0001"
     }'
```

```bash Fetch from exchange theme={null}
curl --request POST \
     --url https://api.finrock.io/dac/v1/transaction \
     --header 'Authorization: Bearer {JWT}' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: YOUR_API_KEY' \
     --data '{
       "asset": "BTC",
       "amount": 0.25,
       "source_type": "Exchange",
       "source_id": "Binance",
       "destination_type": "Internal",
       "memo": "Move Binance BTC to custody",
       "sequence_id": "exch-withdraw-0001"
     }'
```

> [!TIP]
>
> Before fetching funds, call [Exchange Balance](https://apidocs.finrock.io/api-reference/exchanges/exchange-balance.md) to confirm the exchange account holds enough of the asset.

> [!NOTE]
>
> The response is the same transaction object returned by [Create Transaction](https://apidocs.finrock.io/api-reference/transactions/create-transaction.md). Track it with [List Transactions](https://apidocs.finrock.io/api-reference/transactions/list-transactions.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.