Returns a new destination of the given output type, or an error if unsupported.
Declared in <wallet/scriptpubkeyman.h>
virtual
util::Result<CTxDestination>
GetNewDestination(OutputType const type);
The new destination, or an error if the type is unsupported.
| Name | Description |
|---|---|
| type | The output type of the destination to create. |