Expand description
JSONRPC API to Metamask Snap
Modules§
- ui
- Helper function to create
UiComponent
.
Structs§
- Bip32
Entropy - Entropy for Bip32
- Bip44
Entropy - Entropy for Bip32
Enums§
- Curve
- Curve for Bip32
- Error
- Error
- Notify
Type - Type of Notify
- UiComponent
- Snap custom UI Component.
Functions§
- alert
- Create an alert dialog.
- confirm
- Create a confirmation dialog.
- get_
bip32_ entropy - Get entropy in BIP32.
- get_
bip32_ public_ key - Get public key in BIP32.
- get_
bip44_ entropy - Get entropy in EIP44.
- get_
entropy_ v1 - Create entropy v1
- get_
entropy_ v1_ salt - Create entropy v1 using salt
- notify
- Displays a notification in MetaMask or natively in the browser.
- prompt
- Create a prompt dialog
- request
- Call metamask using
snap.request
. - state_
clear - Clear state
- state_
get - Get state
- state_
update - Update state.
Type Aliases§
- Result
- Result