You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have previously developed a decentralized app (dApp), you're likely familiar with
151
-
accessing the Ethereum provider using `window.ethereum`. In a Snap, the `window` object is not available.
152
-
Instead when you request the `endowment:ethereum-provider` permission, your Snap is granted access to the `ethereum` global object.
150
+
If you have previously developed a dapp, you're likely familiar with accessing the Ethereum provider using `window.ethereum`.
151
+
In a Snap, the `window` object is not available.
152
+
Instead, when you request the `endowment:ethereum-provider` permission, your Snap is granted access to the [`ethereum` global object](../about-snaps/apis.md#snap-requests).
0 commit comments