Get a list of addresses
Getting a list of addresses
Header parameters
x-api-public-keystringOptional
Public API-key
x-api-signaturestringOptional
Signing the request body with a private API-key
Content-typestringOptionalExample:
Request content type
application/json
Body
pageintegerOptional
Offset (for pagination)
limitintegerOptional
Limit (for pagination)
networksstring[]OptionalExample:
List of networks to search for addresses in
ethereum
Responses
200Success
application/json
post
POST /api-gateway/address-book/get HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 44
{
"page": 1,
"limit": 1,
"networks": [
"ethereum"
]
}
200Success
{
"success": true,
"response": {
"addresses": [
{
"id": "e2a1517b-a083-4acd-a194-21817c359490",
"networks": [
"ethereum"
],
"address": "0xe2d3A739EFFCd3A99387d015E260eEFAc72EBea2",
"alias": "",
"comment": ""
}
],
"count": 1,
"countPages": 1,
"limit": 1,
"page": 1
}
}
Last updated