Skip to main content

list_addresses

Get a list of deposit addresses belonging to the wallet. This method is useful to sequentually scan the list of deposit addresses.

Parameters

  • limit: (int) [optional] Limit results per request. Between 1 and 200. Default 50.
  • sort: (string) [optional] Sorting method of results;
    • oldest - Oldest first (Default)
    • newest - Newest first
  • marker: (string) [required] The address to start loading results from. Useful when you are making sequential requests to get data sets larger then the limit. It should be set to the last address in the previous request. If the previous request contained no results or less results than the limit, you are at the end of the data set. If used, all other parameters should be the same as the previous request.

Returns

An array of objects containing:

  • address: (string) The deposit address.

Example

Request

{
"id": 1,
"jsonrpc": "2.0",
"method": "list_addresses",
"params": {
"limit": "50",
}
}

Response

{
"id": 1,
"jsonrpc": "2.0",
"result": [
{
"address": "DFTk7F6ujZ5Tpq7hNCvYwgJboA5MMsrytc",
},
{
"address": "DFFMwm9zUh2B4DA6yQ1TXX8F1VHFGgqn4b",
}
],
}