Verify Address

Verify whether an address is correctly b58-encoded and return the address_hash of the provided address.

Required ParamPurposeRequirements

address

The address on which to perform this action.

Result attributes:

NameTypeDescription

verified

boolean

true if supplied address is a valid B58-encoded public address, otherwise false

address_hash

16 bytes as hex-encoded string

hash of the provided public address, as used by memos to identify counterparties

Example

{
  "method": "verify_address",
  "params": {
    "address": "8VWJpZDdmLT8sETcZfHdVojWdFmoo54yVEk7nmae7ixiFfxjZyVFLFj9moCiJBzkeg6Vd5BPXbbwrDvoZuxWZWsyU3G3rEvQdqZBmEbfh7x",
  },
  "jsonrpc": "2.0",
  "id": 1
}

Last updated