# validateaddress
validateaddress coin address
The validateaddress
method checks if an input string is a valid address of the specified coin.
# Arguments
Structure | Type | Description |
---|---|---|
coin | string | the coin to validate address for |
address | string | the input string to validate |
# Response
Structure | Type | Description |
---|---|---|
result.is_valid | bool | whether input string is a valid coin address |
result.reason | string (optional) | the reason why input string is not a valid address |
# 📌 Examples
# Command
curl --url "http://127.0.0.1:7783/" --data "{
\"userpass\":\"$userpass\",
\"method\":\"validateaddress\",
\"coin\":\"RICK\",
\"address\":\"RRnMcSeKiLrNdbp91qNVQwwXx5azD4S4CD\"
}"