Validateaddress

validateaddress "address"

Return information about the given bitcoin address.

Arguments:
1. address    (string, required) The bitcoin address to validate

Result:
{                             (json object)
  "isvalid" : true|false,     (boolean) If the address is valid or not. If not, this is the only property returned.
  "address" : "str",          (string) The bitcoin address validated
  "scriptPubKey" : "hex",     (string) The hex-encoded scriptPubKey generated by the address
  "isscript" : true|false     (boolean) If the key is a script
}

Examples:
> bitcoin-cli validateaddress "qrmzys48glkpevp2l4t24jtcltc9hyzx9cep2qffm4"
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "validateaddress", "params": ["qrmzys48glkpevp2l4t24jtcltc9hyzx9cep2qffm4"]}' -H 'content-type: text/plain;' http://127.0.0.1:8332/