WalletModalProps
WalletModalProps =
WcAppearanceProps&object
Props for WalletModal.
Type Declaration
Section titled “Type Declaration”chains?
Section titled “chains?”
optionalchains?: readonlystring[]
CAIP-2 chain IDs. Explorer results must support at least one. Defaults to pairing.chains.
onClose
Section titled “onClose”onClose: () =>
void
Requests that the controlling component set open to false.
Returns
Section titled “Returns”void
onDismiss?
Section titled “onDismiss?”
optionalonDismiss?: () =>void
Runs when an unfinished pairing attempt is discarded: the user left, or the modal replaced a
pairing that was about to lapse. Use it to cancel work owned outside the Pairing, such as a
wagmi connector’s pending connection.
Returns
Section titled “Returns”void
open:
boolean
Whether the dialog is rendered.
pairing
Section titled “pairing”pairing:
Pairing
Connection binding created by useProviderPairing() or useWagmiPairing().
wallets?
Section titled “wallets?”
optionalwallets?:WalletFilter
Include, exclude, and featured lists of WalletConnect Explorer IDs.