Validate a single address (WaaS 2.0)
Use the Check address validity operation (GET /wallets/check_address_validity). Pass two query parameters: chain_id (the chain to validate against) and address (the address to check). The response contains a single boolean field, validity: true means the address is valid for that chain, and false means it is not. The response is a boolean only and does not include a reason field.
Worked example â validating an XRP address: pass chain_id set to XRP and address set to the address you want to check. Because validation is performed server-side per chain_id, the same address is judged against the rules of the chain you specify.
Validate multiple addresses (WaaS 2.0)
Two batch operations are available:- Check addresses validity (
GET /wallets/check_addresses_validity): validates multiple addresses for a single chain in one request. - Check address validity across chains (
GET /wallets/check_address_chains_validity): validates one address across multiple chains in one request.
Validate an address (WaaS 1.0)
If you are still on WaaS 1.0, use the equivalent legacy operations:- GET /v1/custody/is_valid_address/ for Custodial Wallets.
- GET /v1/custody/mpc/is_valid_address/ for MPC Wallets.
