validateaddress "address"
Return information about the given bitcoin address.
Type: string, required
The bitcoin address to validate
{ (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 "iswitness" : true|false, (boolean) If the address is a witness address "witness_version" : n, (numeric, optional) The version number of the witness program "witness_program" : "hex" (string, optional) The hex value of the witness program }
digibyte-cli validateaddress "SXXgn4BX1wTXrCxAtwtiB2r3DPg7nnhjYA"
curl --user myusername --data-binary '{"jsonrpc": "1.0", "id": "curltest", "method": "validateaddress", "params": ["SXXgn4BX1wTXrCxAtwtiB2r3DPg7nnhjYA"]}' -H 'content-type: text/plain;' http://127.0.0.1:14022/