Check whether a string is a valid address for the given chain parameters.
Declared in <key_io.h>
bool
IsValidDestinationString(
std::string const& str,
CChainParams const& params);
True if the string is a valid destination.
| Name | Description |
|---|---|
| str | The address string to validate. |
| params | The chain parameters to validate against. |