Appearance
@swapped/connect-sdk / core / ConnectWalletRequest
Type Alias: ConnectWalletRequest
ConnectWalletRequest =
object
Defined in: src/types/wallets.types.ts:131
Properties
chainId?
optionalchainId?:ChainId
Defined in: src/types/wallets.types.ts:138
EVM only: chain to request at connect time.
force?
optionalforce?:boolean
Defined in: src/types/wallets.types.ts:148
WalletConnect only. Cancel any in-flight pairing before starting a new one.
forcePopup?
optionalforcePopup?:boolean
Defined in: src/types/wallets.types.ts:150
Always run this injected call in the Swapped popup.
namespaces?
optionalnamespaces?:ChainNamespace[]
Defined in: src/types/wallets.types.ts:136
Defaults to the namespaces the session / host supports.
onUri?
optionalonUri?: (payload) =>void
Defined in: src/types/wallets.types.ts:144
Called when the host emits a WalletConnect pairing URI so the consumer can render a QR (uri) and/or open a mobile deep link (deeplinkUrl). See WalletConnectUriPayload.
Parameters
payload
WalletConnectUriPayload
Returns
void
popupIfUnavailable?
optionalpopupIfUnavailable?:boolean
Defined in: src/types/wallets.types.ts:155
If the iframe probe did not find this extension, open the popup instead of failing in the iframe.
provider
provider:
IntegrationProvider
Defined in: src/types/wallets.types.ts:132
transport?
optionaltransport?:WalletTransport
Defined in: src/types/wallets.types.ts:134
Defaults to injected when the extension is on this page, else walletconnect.