This page has been updated for Wallets SDK V1. If you are using the previous version,
see the previous version docs or the V1 migration guide.
Callbacks = object
Defined in: packages/wallets/src/wallets/types.ts:175
Properties
onAuthRequired()?
Defined in: packages/wallets/src/wallets/types.ts:178optionalonAuthRequired: (signerType,signerLocator,needsAuth,sendOtp,verifyOtp,reject) =>Promise<void>
Parameters
| Parameter | Type |
|---|---|
signerType | "email" | "phone" |
signerLocator | string |
needsAuth | boolean |
sendOtp | () => Promise<void> |
verifyOtp | (otp) => Promise<void> |
reject | () => void |
Returns
Promise<void>
onTransactionStart()?
Defined in: packages/wallets/src/wallets/types.ts:177optionalonTransactionStart: () =>Promise<void>
Returns
Promise<void>
onWalletCreationStart()?
Defined in: packages/wallets/src/wallets/types.ts:176optionalonWalletCreationStart: () =>Promise<void>
Returns
Promise<void>
