Account
Get Address Info
This endpoint returns information about a given address for a specific coin. It checks if the address belongs to the custody wallet and raises an exception if it doesn't. The response is a JSON object containing the coin and address fields.
GET
/v1/custody/address_info/
API-SECRET*
Request
coinrequired
String
The coin symbol.
addressrequired
String
The address to retrieve information for.
Response
success
bool
request successful or failed
result
object
request(
"GET",
"/v1/custody/address_info/",
{
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e"
}
}
----
{
"success": false,
"error_code": 12015,
"error_description": "0x544094588811118b7701cf4a9dea056e775b4b4e is not Cobo Address of Coin ETH"
}
request(
"GET",
"/v1/custody/address_info/",
{
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e",
},
api_key, api_secret, host
)
{
"success": true,
"result": {
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e"
}
}
----
{
"success": false,
"error_code": 12015,
"error_description": "0x544094588811118b7701cf4a9dea056e775b4b4e is not Cobo Address of Coin ETH"
}