On this page

latest contributor to this doc

Last Edit:

@gcharang

validateaddress

validateaddress coin address

The validateaddress method checks if an input string is a valid address of the specified coin.

StructureTypeDescription
coinstringthe coin to validate address for
addressstringthe input string to validate

StructureTypeDescription
is_validboolWhether input string is a valid coin address.
reasonstring (optional)Only present if not valid. The reason why input string is not a valid address.

POST
validateaddress
{
  "userpass": "RPC_UserP@SSW0RD",
  "method": "validateaddress",
  "coin": "DOC",
  "address": "RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD"
}