Get a list of addresses

Getting a list of addresses

Get a list of addresses

post

/api-gateway/address-book/get

Header parameters
x-api-public-keystring

Public API-key

x-api-signaturestring

Signing the request body with a private API-key

Content-typestring

Request content type

Example: application/json
Body
pageinteger

Offset (for pagination)

limitinteger

Limit (for pagination)

networksstring[]

List of networks to search for addresses in

Responses
curl -L \
  --request POST \
  --url 'https://ocp.onchainpay.io/api-gateway/address-book/get' \
  --header 'Content-Type: application/json' \
  --data '{"networks":["ethereum"]}'
{
  "success": true,
  "response": {
    "count": 1,
    "countPages": 1,
    "limit": 1,
    "page": 1,
    "addresses": [
      {
        "id": "39acb199-5116-47a6-8571-9f20f4032920",
        "address": "0xe2d3A739EFFCd3A99387d015E260eEFAc72EBea2",
        "alias": "",
        "comment": "",
        "networks": [
          "ethereum"
        ]
      }
    ]
  }
}

Last updated