POSTvalidateaddress
https://bitcoin-mainnet.nodit.io/Validates the given Bitcoin address and returns the information derived from it.
Only the isvalid field is returned when the address is invalid.
It contains following parameter:
address: The Bitcoin address to validate, as a string. (required)
The Bitcoin address to validate.
Whether the address is valid.
The Bitcoin address that was validated. Returned only when the address is valid.
The hex-encoded output script generated by the address. Returned only when the address is valid.
Whether the key is a script. Returned only when the address is valid.
Whether the address is a witness address. Returned only when the address is valid.
The version number of the witness program. Returned only for witness addresses.
The hex value of the witness program. Returned only for witness addresses.
The reason the address is invalid. Returned only when an error occurred.
Indices of likely error locations in the address string. Returned only when the locations can be identified, such as for Bech32 errors.