List addresses

get/api/v2/{coin}/wallet/{walletId}/addresses

List receive addresses on a wallet

Path Parameters

  • coinstringRequired
    A cryptocurrency or token ticker symbol.
    Example: "btc"
  • walletIdstringRequired
    Example: "59cd72485007a239fb00282ed480da1f"
    Pattern: ^[0-9a-f]{32}$

Query Parameters

  • labelContainsstring
    A case-insensitive regular expression which will be used to filter returned addresses based on their address label.
  • limitintegerDefault: 25
    Maximum number of results to return. If the result set is truncated, use the "nextBatchPrevId" value to get the next batch.
  • minebooleanDefault: false
    Whether to return only the addresses which the current user has created.
  • segwitboolean
    DEPRECATED. Mutually exclusive with "chains". Returns only "p2shP2wsh" unspents/addresses on true. Returns only "p2sh" unspents/addresses on false. Equivalent to passing 10 and 11 as the only value in "chains" on true, 0 and 1 on false.
  • sortintegerDefault: 1
    Sort order of returned addresses. (1 for ascending, -1 for descending).
    Enum: -11
  • chaininteger
    Filter by address chain. May be given multiple times.
    Example: 1
    Enum: 01101120213031
  • includeBalancesbooleanDefault: false
    Whether to include address balances
  • includeTokensbooleanDefault: true
    Whether to include token addresses
  • includeTotalAddressCountbooleanDefault: false
    For large wallets (>100k addresses), include total count of addresses (including addresses pending on-chain) matching the query.
  • returnBalancesForTokenstring
    Name of the token that the response should include balances for. (Eth and Celo only)
  • pendingDeploymentboolean
    Filter the addresses based on their deployment status. Return the deployed addresses if this param is passed as false and return undeployed addresses if it is passed as true. (Eth only)

200 Response

coin string
totalAddressCount integer
Total number of addresses which match the provided query parameters. **Note:** for wallets with many addresses (100,000 or more), this property may be omitted for performance reasons. If the total address count is needed for a large wallet, the "includeTotalAddressCount" query parameter can be used to force an address count to be returned with the initial page of addresses.
pendingAddressCount integer
Total number of addresses pending on-chain initialization on this wallet **Note:** for wallets with many addresses (100,000 or more), this property may be omitted for performance reasons. If the pending address count is needed for a large wallet, the "includeTotalAddressCount" query parameter can be used to force an address count to be returned with the initial page of addresses.
addresses array[object]
id string
platform public id for an address
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
address string
Max length: <= 250 characters
Example: 2MvrwRYBAuRtPTiZ5MyKg42Ke55W3fZJfZS
index integer
coin string
lastNonce integer
Default: -1
wallet string
The wallet which contains this address
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
coinSpecific object
Properties which are specific to certain coin types
balance object
Balance of the address. In case of Eth and Celo, if returnBalancesForToken is passed with includeBalances, then it will return token balance in the address object. This field will be present only when "includeBalances" query param is passed as true.
labelOne of
A human-readable label for the address.
addressType string
Allowed values: p2sh p2sh-p2wsh p2wsh
Example: p2sh
nextBatchPrevId string <uuid>
When a result set is truncated, this field returns the id of the last object in the previous batch. To get the next batch of results, pass this value via the "prevId" query parameter.
Example: 585951a5df8380e0e3063e9f

400 Response

One of
error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code