Crate rusnap_api
source ·Expand description
JSONRPC API to Metamask Snap
Modules
- Helper function to create
UiComponent
.
Structs
- Entropy for Bip32
- Entropy for Bip32
Enums
- Curve for Bip32
- Error
- Type of Notify
- Snap custom UI Component.
Functions
- Create an alert dialog.
- Create a confirmation dialog.
- Get entropy in BIP32.
- Get public key in BIP32.
- Get entropy in EIP44.
- Create entropy v1
- Create entropy v1 using salt
- Displays a notification in MetaMask or natively in the browser.
- Create a prompt dialog
- Call metamask using
snap.request
. - Clear state
- Get state
- Update state.
Type Aliases
- Result