IsValidDestinationString overloads

Synopses

Declared in <key_io.h>

Check whether a string is a valid address for the current chain.

bool
IsValidDestinationString(std::string const& str);

Check whether a string is a valid address for the given chain parameters.

bool
IsValidDestinationString(
    std::string const& str,
    CChainParams const& params);

Return Value

True if the string is a valid destination.

Parameters

Name

Description

str

The address string to validate.

params

The chain parameters to validate against.

Created with MrDocs