Wallet Creation
Wallet Creation Widgets and Modals
Get Method Widgets and Modals
To use the widgets in React components you need to import the Widget
component:
Every widget has an optional parameter called settings
.
Name | Type | Required | Default | Description |
---|---|---|---|---|
fullScreen | Boolean | true | Should widget be shown fullscreen | |
hideMenu | Boolean | true | Deprecated | |
preventClose | Boolean | true | Hides close button |
You can provide them to the widget like this:
Recreate wallet
Description
Purges the user's existing wallet and opens a new one. There is no way to recover the purged wallet unless the user knows its seed phrase. Use this function if the user lost access to their wallet and recovery efforts were unsuccessful.
Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
onClose |
| Close callback | ||
onError |
| Error callback | ||
onSuccess |
| Success callback |
Post Method Widgets and Modals
Mutation Parameters
Name | Type | Required | Default | Description |
---|---|---|---|---|
widget parameters | Widget parameters |
Create Wallet
Description
Create wallet mutation allows you to create a new wallet.
Recreate Wallet
Description
Purges the user's existing wallet and opens a new one. There is no way to recover the purged wallet unless the user knows its seed phrase. Use this function if the user lost access to their wallet and recovery efforts were unsuccessful.
Last updated