Create a new instance of KeyringSnapRpcClient
.
Caller's origin.
The MetaMaskInpageProvider
instance to use.
Account ID (UUIDv4).
Keyring request ID (UUIDv4).
Inner request sent by the client application.
Optional
params?: Json[] | Record<string, Json>Request's scope (CAIP-2 chain ID).
Account main address.
Account ID (UUIDv4).
Account supported methods.
Account options.
Account type.
A
KeyringClient
that allows the communication with a snap through the snap JSON-RPC API.