validateaddress

Verifies the validity of a given Bitcoin address and provides additional metadata about it.

⚠ This endpoint is only available with Blast access.

Path parameters

apiKeystringRequired

Request

This endpoint expects an object.
addressstringRequiredformat: "^(bc1|[13])[a-zA-HJ-NP-Z0-9]{25,39}$"
The Bitcoin address to validate.

Response

Validation result and metadata about the address.
isvalidboolean or null
Whether the address is valid.
addressstring or null
The validated Bitcoin address.
scriptPubKeystring or null
The hex encoded scriptPubKey generated by the address.
isscriptboolean or null
Whether the address corresponds to a script.
iswitnessboolean or null
Whether the address is a witness address.
witness_versioninteger or null
The version number of the witness program.
witness_programstring or null
The hex value of the witness program.