PairingProvider
PairingProvider =
object
Provider surface used by useProviderPairing.
A Konekt Provider satisfies this type without an adapter or wrapper.
Properties
Section titled “Properties”chains?
Section titled “chains?”
optionalchains?: readonlyobject[]
The chains this provider proposes. The modal lists wallets that support them.
connect
Section titled “connect”connect: (
opts?) =>Promise<unknown>
Starts a connection and accepts a signal for cancellation.
Parameters
Section titled “Parameters”signal?
Section titled “signal?”AbortSignal
Returns
Section titled “Returns”Promise<unknown>
connected
Section titled “connected”connected:
boolean
Whether the provider already has an approved session.
off: (
event,listener) =>void
Removes a pairing-URI listener.
Parameters
Section titled “Parameters”"display_uri"
listener
Section titled “listener”(uri) => void
Returns
Section titled “Returns”void
on: (
event,listener) =>void
Adds a pairing-URI listener.
Parameters
Section titled “Parameters”"display_uri"
listener
Section titled “listener”(uri) => void
Returns
Section titled “Returns”void
projectId?
Section titled “projectId?”
optionalprojectId?:string
WalletConnect Cloud project ID, forwarded to the modal for Wallet Explorer listings.