Check address format
Check address format within provided network
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
Object with address and network
addressstringOptionalExample:
Address
0x48EDAB72d22cebb5eE081351E6f471De6cE5567D
networkstringOptionalExample:
Network
bsc
Responses
200Success
application/json
post
POST /api-gateway/utils/validate-address HTTP/1.1
Host: ocp.onchainpay.io
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"address": "0x48EDAB72d22cebb5eE081351E6f471De6cE5567D",
"network": "bsc"
}
200Success
{
"success": true,
"response": {
"isValid": true,
"regex": "text"
}
}
Last updated