curl --request GET \
--url https://test.deribit.com/api/v2/private/get_address_book \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 31,
"method": "private/get_address_book",
"params": {
"currency": "BTC",
"type": "withdrawal"
}
}
'{
"jsonrpc": "2.0",
"id": 31,
"result": [
{
"waiting_timestamp": 1720252232860,
"creation_timestamp": 1719993033041,
"requires_confirmation_change": false,
"personal": true,
"info_required": false,
"beneficiary_first_name": "John",
"beneficiary_last_name": "Doe",
"beneficiary_address": "NL, Amsterdam, Street, 1",
"requires_confirmation": true,
"currency": "BTC",
"agreed": true,
"address": "2NBqqD5GRJ8wHy1PYyCXTe9ke5226FhavBz",
"type": "withdrawal",
"status": "waiting",
"label": "Main Address"
},
{
"waiting_timestamp": 1720252232760,
"creation_timestamp": 1719993032041,
"requires_confirmation_change": false,
"personal": true,
"info_required": false,
"beneficiary_company_name": "MyCompany",
"beneficiary_address": "NL, Haarlem, Street, 5",
"requires_confirmation": false,
"currency": "BTC",
"agreed": true,
"address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf0uyj",
"type": "withdrawal",
"status": "waiting",
"label": "One More Address"
}
]
}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.
๐ Related Article: Managing Withdrawals
Scope: wallet:read
curl --request GET \
--url https://test.deribit.com/api/v2/private/get_address_book \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 31,
"method": "private/get_address_book",
"params": {
"currency": "BTC",
"type": "withdrawal"
}
}
'{
"jsonrpc": "2.0",
"id": 31,
"result": [
{
"waiting_timestamp": 1720252232860,
"creation_timestamp": 1719993033041,
"requires_confirmation_change": false,
"personal": true,
"info_required": false,
"beneficiary_first_name": "John",
"beneficiary_last_name": "Doe",
"beneficiary_address": "NL, Amsterdam, Street, 1",
"requires_confirmation": true,
"currency": "BTC",
"agreed": true,
"address": "2NBqqD5GRJ8wHy1PYyCXTe9ke5226FhavBz",
"type": "withdrawal",
"status": "waiting",
"label": "Main Address"
},
{
"waiting_timestamp": 1720252232760,
"creation_timestamp": 1719993032041,
"requires_confirmation_change": false,
"personal": true,
"info_required": false,
"beneficiary_company_name": "MyCompany",
"beneficiary_address": "NL, Haarlem, Street, 5",
"requires_confirmation": false,
"currency": "BTC",
"agreed": true,
"address": "bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf0uyj",
"type": "withdrawal",
"status": "waiting",
"label": "One More Address"
}
]
}The currency symbol
Currency, i.e "BTC", "ETH", "USDC"
BTC, ETH, STETH, ETHW, USDC, USDT, EURR, SOL, XRP, USYC, PAXG, BNB, USDE Address book type
transfer, withdrawal, deposit_source Success response
The JSON-RPC version (2.0)
2.0 Hide child attributes
Currency, i.e "BTC", "ETH", "USDC"
BTC, ETH, STETH, ETHW, USDC, USDT, EURR, SOL, XRP, USYC, PAXG, BNB, USDE Address in proper format for currency
"1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa"
The timestamp (milliseconds since the Unix epoch)
1536569522277
Address book type
transfer, withdrawal, deposit_source Label of the address book entry
"Main address"
Name of beneficiary VASP
"Money's Gone"
DID of beneficiary VASP
"did:example:123456789abcdefghi"
Website of the beneficiary VASP
First name of the beneficiary (if beneficiary is a person)
"John"
Last name of the beneficiary (if beneficiary is a person)
"Doe"
Company name of the beneficiary (if beneficiary is a company)
"Company Name"
Geographical address of the beneficiary
"NL, Amsterdam, Street, 1"
Indicates that the user agreed to shared provided information with 3rd parties
true
The user confirms that he provided address belongs to him and he has access to it via an un-hosted wallet software
true
Signalises that addition information regarding the beneficiary of the address is required
true
Wallet address status, values: [admin_locked, waiting, confirmed, ready]
admin_locked, waiting, confirmed, ready Timestamp when the address will be ready
true
If address requires email confirmation for withdrawals
true
If email confirmation change is in progress
true
The id that was sent in the request
Was this page helpful?