Validate address
Changed onChecks whether a withdrawal address is valid for a given asset. For tag-based assets (e.g. XRP, XLM, EOS), also validates whether a destination tag or memo is required.
Request
- Base URLhttps://api.cert.zerohash.com
- URLhttps://api.cert.zerohash.com/withdrawals/validate_address
- AuthAPI key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE
Query parameters
The asset symbol
The address to validate
Used for tag based assets
Headers
HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.
Current Unix timestamp in seconds. Must be within 60 seconds of server time or the request is rejected.
Response
Successfully retrieved address validation result. with an is_valid boolean and a human-readable message indicating whether the address is valid for the given asset.
Example response
{
"message": "the address is valid",
"is_valid": true
}Changes
- info
the response property
////became required for the status - info
the response property
////became required for the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status
- info