Update docs

This commit is contained in:
Aayush Rajasekaran 2020-09-30 01:45:03 -04:00
parent a388bcfad6
commit bc4cbdc895

View File

@ -181,6 +181,7 @@
* [WalletSetDefault](#WalletSetDefault) * [WalletSetDefault](#WalletSetDefault)
* [WalletSign](#WalletSign) * [WalletSign](#WalletSign)
* [WalletSignMessage](#WalletSignMessage) * [WalletSignMessage](#WalletSignMessage)
* [WalletValidateAddress](#WalletValidateAddress)
* [WalletVerify](#WalletVerify) * [WalletVerify](#WalletVerify)
## ##
@ -4585,6 +4586,21 @@ Response:
} }
``` ```
### WalletValidateAddress
WalletValidateAddress validates whether a given string can be decoded as a well-formed address
Perms: read
Inputs:
```json
[
"string value"
]
```
Response: `"t01234"`
### WalletVerify ### WalletVerify
WalletVerify takes an address, a signature, and some bytes, and indicates whether the signature is valid. WalletVerify takes an address, a signature, and some bytes, and indicates whether the signature is valid.
The address does not have to be in the wallet. The address does not have to be in the wallet.