Retrieves the WalletContext stored in an RPC context, throwing if absent.
Declared in <wallet/rpc/util.h>
WalletContext&
EnsureWalletContext(std::any const& context);
A reference to the wallet context.
| Name | Description |
|---|---|
| context | The type-erased RPC context. |