Skip to main content
cURL
curl --request GET \
  --url https://test.deribit.com/api/v2/private/submit_transfer_to_subaccount \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 210,
  "method": "private/submit_transfer_to_subaccount",
  "params": {
    "currency": "ETH",
    "amount": 12.1234,
    "destination": 20
  }
}
'
{
  "jsonrpc": "2.0",
  "id": 9187,
  "result": {
    "amount": 0.2,
    "created_timestamp": 1550579457727,
    "currency": "BTC",
    "direction": "payment",
    "id": 2,
    "other_side": "2MzyQc5Tkik61kJbEpJV5D5H9VfWHZK9Sgy",
    "state": "cancelled",
    "type": "user",
    "updated_timestamp": 1550579457727
  }
}

Query Parameters

currency
enum<string>
required

The currency symbol Currency, i.e "BTC", "ETH", "USDC"

Available options:
BTC,
ETH,
USDC,
USDT,
EURR
amount
number
required

Amount of funds to be transferred

destination
integer
required

Id of destination subaccount. Can be found in My Account >> Subaccounts tab

Example:

1

Response

200 - application/json

Success response

jsonrpc
enum<string>
required

The JSON-RPC version (2.0)

Available options:
2.0
result
object
required
id
integer

The id that was sent in the request