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