Skip to content

WalletModalProps

WalletModalProps = WcAppearanceProps & object

Props for WalletModal.

optional chains?: readonly string[]

CAIP-2 chain IDs. Explorer results must support at least one. Defaults to pairing.chains.

onClose: () => void

Requests that the controlling component set open to false.

void

optional onDismiss?: () => 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.

void

open: boolean

Whether the dialog is rendered.

pairing: Pairing

Connection binding created by useProviderPairing() or useWagmiPairing().

optional wallets?: WalletFilter

Include, exclude, and featured lists of WalletConnect Explorer IDs.