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 } }
Transfer funds to subaccount.
Scope: wallets:read_write
wallets:read_write
Try in API console
The currency symbol Currency, i.e "BTC", "ETH", "USDC"
"BTC"
"ETH"
"USDC"
BTC
ETH
USDC
USDT
EURR
Amount of funds to be transferred
Id of destination subaccount. Can be found in My Account >> Subaccounts tab
My Account >> Subaccounts
1
Success response
The JSON-RPC version (2.0)
2.0
Show child attributes
The id that was sent in the request
Was this page helpful?