Parse an address purpose from its serialized string form.
Declared in <wallet/wallet.h>
std::optional<AddressPurpose>
PurposeFromString(std::string_view s);
The parsed purpose, or nullopt if unrecognized.
| Name | Description |
|---|---|
| s | The string name to parse. |