Look up a loaded wallet by name.

Synopsis

Declared in <wallet/wallet.h>

std::shared_ptr<CWallet>
GetWallet(
    WalletContext& context,
    std::string const& name);

Return Value

The matching wallet, or nullptr if not loaded.

Parameters

Name

Description

context

The wallet context to query.

name

The wallet name to find.

Created with MrDocs