Account
Get Address History
This endpoint returns a list of addresses associated with a custody wallet for a given coin, with pagination support. The response is a JSON array of objects, each containing a 'coin' field and an 'address' field.
GET
/v1/custody/address_history/
API-SECRET*
Request
coinrequired
String
The coin symbol.
page_index
Int
The page index, starting from 0.
page_length
Int
The number of items per page.
sort_flag
Int
The sort flag, 0 for ascending and 1 for descending.
Response
success
bool
request successful or failed
result
object[]
request(
"GET",
"/v1/custody/address_history/",
{
"coin": "ETH",
"page_index": 0,
"page_length": 20,
},
api_key, api_secret, host
)
{
"success": true,
"result": [
{
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e"
},
{
"coin": "ETH",
"address": "0x644094588811118b7701cf4a9dea056e775b4b4e"
},
{
"coin": "ETH",
"address": "0x574094588811118b7701cf4a9dea056e775b4b4e"
}
]
}
request(
"GET",
"/v1/custody/address_history/",
{
"coin": "ETH",
"page_index": 0,
"page_length": 20,
},
api_key, api_secret, host
)
{
"success": true,
"result": [
{
"coin": "ETH",
"address": "0x544094588811118b7701cf4a9dea056e775b4b4e"
},
{
"coin": "ETH",
"address": "0x644094588811118b7701cf4a9dea056e775b4b4e"
},
{
"coin": "ETH",
"address": "0x574094588811118b7701cf4a9dea056e775b4b4e"
}
]
}