Withdrawals

Validate address

Changed on

Checks 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.

get/withdrawals/validate_address

Request

  • Base URL
    https://api.cert.zerohash.com
  • URL
    https://api.cert.zerohash.com/withdrawals/validate_address
  • Auth
    API key in header X-SCX-API-KEY and API key in header X-SCX-PASSPHRASE

Query parameters

assetstring required

The asset symbol

addressstring required

The address to validate

destination_tagstring

Used for tag based assets

Headers

X-SCX-SIGNEDstring required

HMAC-SHA256 signature of the request, base64-encoded. See the Authentication guide for the exact signing formula.

X-SCX-TIMESTAMPstring required
Example:1678901234

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.

OR

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