z_validateaddress - Pastel RPC

z_validateaddress "zaddr"

Return information about the given z address.

Arguments:
1. "zaddr"     (string, required) The z address to validate

Result:
{
  "isvalid" : true|false,       (boolean) If the address is valid or not. If not, this is the only property returned.
  "address" : "zaddr",          (string) The z address validated
  "type" : "xxxx",              (string) "sprout" or "sapling"
  "ismine" : true|false,        (boolean) If the address is yours or not
  "payingkey" : "hex",          (string) [sprout] The hex value of the paying key, a_pk
  "transmissionkey" : "hex",    (string) [sprout] The hex value of the transmission key, pk_enc
  "diversifier" : "hex",        (string) [sapling] The hex value of the diversifier, d
  "diversifiedtransmissionkey" :"hex", (string) [sapling] The hex value of pk_d

}

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


Maintained by Pastel Network; license of the docs is MIT (see pastel repo)

Generated from a mainnet node