Skip to main content
  • Snap
  • Website
  • Restricted

wallet_snap

Description

Calls the specified JSON-RPC API method of the specified Snap. The Snap must be installed and the dapp must have permission to communicate with the Snap, or the request is rejected. The dapp can install the Snap and request permission to communicate with it using wallet_requestSnaps.

Parameters

snapId

stringrequired

request

Record<string, Json>required

Returns

Json

The result of the Snap method call.