Parameters
snapId
stringrequired
The ID of the Snap to invoke.
request
Record<string, Json>required
The JSON-RPC request to send to the Snap.
Returns
Json
The result returned by the wallet_invokeSnap method, which is the result
returned by the Snap.