Listing account addresses

Listing account addresses

GET /api/public/v1/accounts/:id/addresses

This endpoint returns a list of existing addresses for a given account ID.

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Path Parameters

Name
Type
Description

id

string

Account ID.

URL Parameters

Name
Type
Description

order

string

Order in which the list of addresses should be returned. Can be created_at.

order_type

string

Order type. Can be either asc or desc.

page

number

Page for which you want to return addresses.

per_page

number

Number of addresses per page to return.

Response

{
  "data": [
    {
      "id": "138928d2-769d-478f-9508-90b7e4f8942a",
      "type": "addresses",
      "attributes": {
        "label": "Apr 11",
        "value": "TUbHdtAyfeiWTJPzF12gcBnpLtmLo3qgkS",
        "createdAt": "2025-04-11T07:19:09.729Z"
      },
      "relationships": {
        "account": {
          "meta": {
            "included": false
          }
        },
        "network": {
          "data": {
            "type": "network",
            "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2"
          }
        }
      }
    }
  ],
  "included": [
    {
      "id": "8ededca3-a1cd-4b46-8c3a-14915f706ab2",
      "type": "network",
      "attributes": {
        "currencyCode": "USDT",
        "name": "Tron (TRC20)",
        "code": "ttrx:usdt"
      }
    }
  ],
  "meta": {
    "page": 1,
    "per_page": 1,
    "total": 22
  },
  "jsonapi": {
    "version": "1.0"
  }
}

Last updated