Retrieves the address book entries of the given type. Returns all saved addresses that can be used for withdrawals, along with their labels and beneficiary information if available.
Coinbase wallet type
For Coinbase wallet type accounts currency accepts any portfolio currency or "all", and type accepts withdrawal, transfer or deposit (deposit addresses created via private/create_deposit_address). The returned entries are Coinbase address book entry objects: they include the entry id (usable instead of address in the other address book methods), kind (onchain or ctn), network, network_display_name, tag and the Coinbase travel rule fields (name, country, financial_institution, account, account_location, entity_type, wallet_type, is_self) when set.
📖 Related Article: Managing Withdrawals
Scope: wallet:read
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/get_address_book
- Authnone declared
Query parameters
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol. Legacy wallet type: wallet currencies only. Coinbase wallet type: any portfolio currency or "all".
Address book type. deposit_source is legacy wallet type only; deposit is Coinbase wallet type only.
Address book type. Legacy wallet type: withdrawal, transfer or deposit_source. Coinbase wallet type: withdrawal, transfer or deposit.
Response
Success response
Example response
{
"result": [
{
"address": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"creation_timestamp": 1536569522277,
"label": "Main address",
"beneficiary_vasp_name": "Money's Gone",
"beneficiary_vasp_did": "did:example:123456789abcdefghi",
"beneficiary_first_name": "John",
"beneficiary_last_name": "Doe",
"beneficiary_company_name": "Company Name",
"beneficiary_address": "NL, Amsterdam, Street, 1",
"agreed": true,
"personal": true,
"info_required": true,
"waiting_timestamp": true,
"requires_confirmation": true,
"requires_confirmation_change": true
}
]
}Changes
- breaking
removed the enum value
BNBfrom thequeryrequest parametercurrency - breaking
removed the enum value
ETHWfrom thequeryrequest parametercurrency - breaking
removed the enum value
PAXGfrom thequeryrequest parametercurrency - breaking
removed the enum value
SOLfrom thequeryrequest parametercurrency - breaking
removed the enum value
STETHfrom thequeryrequest parametercurrency - breaking
removed the enum value
USDEfrom thequeryrequest parametercurrency - breaking
removed the enum value
USYCfrom thequeryrequest parametercurrency - breaking
removed the enum value
XRPfrom thequeryrequest parametercurrency - breaking
added to the
/response propertyoneOflist for the response status - breaking
the
/response's property type changed fromobjectto no type for status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - breaking
removed the required property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the new enum value
depositto thequeryrequest parametertype
- breaking