Return the default wallet and report how many wallets are loaded.
Declared in <wallet/wallet.h>
std::shared_ptr<CWallet>
GetDefaultWallet(
WalletContext& context,
size_t& count);
The first loaded wallet, or nullptr if none.
| Name | Description |
|---|---|
| context | The wallet context to query. |
| count | Set to the number of loaded wallets. |