Generate a new receiving destination of the given type.
Declared in <wallet/wallet.h>
util::Result<CTxDestination>
GetNewDestination(
OutputType type,
std::string const& label);
The new destination, or an error if none could be generated.
| Name | Description |
|---|---|
| type | The output type for the new address. |
| label | The label to assign to the new address. |