Validating addresses
POST /api/public/v1/addresses/validate
This endpoint validates wallet addresses.
Make sure to supply application/json in the Content-Type header.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <api_key>
Request Body
Name
Type
Required
Description
address
string
Yes
Recipient wallet address.
Response
{
"data": {},
"status": "ok",
"jsonapi": {
"version": "1.0"
}
}
// Address format is valid.{
"errors": [
{
"status": 422,
"title": "Invalid address",
"code": "invalid_address"
}
]
}
// Invalid address format.{
"errors": [
{
"status": 422,
"title": "We couldn’t send funds to this address, please try another address",
"code": "address_has_high_risk_score"
}
]
}
// Address is evaluated by Txn as high-risk.{
"errors": [
{
"status": 404,
"title": "Record not found",
"code": "network_not_found"
}
]
}
// Network code not found.Last updated