cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/get_ctn_id \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 4721,
"method": "private/get_ctn_id",
"params": {}
}'{
"jsonrpc": "2.0",
"id": 4721,
"result": {
"ctn_id": "6a1f2c3d-4b5e-4f60-8a71-9b0c1d2e3f40"
}
}Wallet
private/get_ctn_id
Returns the Coinbase Transfer Network (CTN) ID of the account. Share this ID with a sending party so they can add the account as a CTN counterparty and send funds to it.
Coinbase wallet type only. The method is available to institutional Coinbase accounts and takes no parameters. Other accounts receive an error.
Scope: wallet:read
cURL
curl --request POST \
--url https://test.deribit.com/api/v2/private/get_ctn_id \
--header 'Authorization: Bearer <ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 4721,
"method": "private/get_ctn_id",
"params": {}
}'{
"jsonrpc": "2.0",
"id": 4721,
"result": {
"ctn_id": "6a1f2c3d-4b5e-4f60-8a71-9b0c1d2e3f40"
}
}Response
200 - application/json
Success response
Was this page helpful?