Skip to main content
  • Snap
  • Website

wallet_getAllSnaps

Description

wallet_getAllSnaps gets all installed Snaps. Currently, this can only be called from https://snaps.metamask.io.

Returns

Record<SnapId, { error: JsonRpcError } | Snap>

The result returned by the wallet_getSnaps method.

It consists of a map of Snap IDs to either the Snap object or an error.