FilecoinAppKitAdapter
Defined in: packages/iso-filecoin-wallets/src/appkit.js:28
TODO:
- auth provider for SIWX
Description
Section titled âDescriptionâFilecoin adapter for AppKit
Extends
Section titled âExtendsâAdapterBlueprint
Constructors
Section titled âConstructorsâConstructor
Section titled âConstructorânew FilecoinAppKitAdapter(
params):FilecoinAppKitAdapter
Defined in: packages/iso-filecoin-wallets/src/appkit.js:42
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | { adapters: WalletAdapter[]; } |
params.adapters | WalletAdapter[] |
Returns
Section titled âReturnsâFilecoinAppKitAdapter
Overrides
Section titled âOverridesâAdapterBlueprint.constructor
Properties
Section titled âPropertiesâadapters
Section titled âadaptersâadapters:
WalletAdapter[]
Defined in: packages/iso-filecoin-wallets/src/appkit.js:37
adapterType
Section titled âadapterTypeâadapterType:
string|undefined
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:32
Inherited from
Section titled âInherited fromâAdapterBlueprint.adapterType
availableConnections
Section titled âavailableConnectionsâ
protectedavailableConnections:Connection[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:36
Inherited from
Section titled âInherited fromâAdapterBlueprint.availableConnections
availableConnectors
Section titled âavailableConnectorsâ
protectedavailableConnectors:FilecoinConnector[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:35
Inherited from
Section titled âInherited fromâAdapterBlueprint.availableConnectors
caipNetworks
Section titled âcaipNetworksâcaipNetworks:
CaipNetwork[] |undefined
Defined in: packages/iso-filecoin-wallets/src/appkit.js:61
connector?
Section titled âconnector?â
protectedoptionalconnector:FilecoinConnector
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:37
Inherited from
Section titled âInherited fromâAdapterBlueprint.connector
getCaipNetworks()
Section titled âgetCaipNetworks()âgetCaipNetworks: (
namespace?) =>CaipNetwork[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:33
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
namespace? | ChainNamespace |
Returns
Section titled âReturnsâCaipNetwork[]
Inherited from
Section titled âInherited fromâAdapterBlueprint.getCaipNetworks
getConnectorId()
Section titled âgetConnectorId()âgetConnectorId: (
namespace) =>string|undefined
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:34
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
namespace | ChainNamespace |
Returns
Section titled âReturnsâstring | undefined
Inherited from
Section titled âInherited fromâAdapterBlueprint.getConnectorId
namespace
Section titled ânamespaceânamespace:
ChainNamespace|undefined
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:30
Inherited from
Section titled âInherited fromâAdapterBlueprint.namespace
projectId?
Section titled âprojectId?â
optionalprojectId:string
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:31
Inherited from
Section titled âInherited fromâAdapterBlueprint.projectId
provider?
Section titled âprovider?â
protectedoptionalprovider:Provider
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:38
Inherited from
Section titled âInherited fromâAdapterBlueprint.provider
providerHandlers
Section titled âproviderHandlersâ
protectedproviderHandlers:Record<string, {accountsChanged: (accounts) =>void;chainChanged: (chainId) =>void;disconnect: () =>void;provider:Provider|CombinedProvider; } |null>
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:39
Inherited from
Section titled âInherited fromâAdapterBlueprint.providerHandlers
Accessors
Section titled âAccessorsâconnections
Section titled âconnectionsâGet Signature
Section titled âGet Signatureâget connections():
Connection[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:65
Gets the available connections.
Returns
Section titled âReturnsâConnection[]
An array of available connections
Inherited from
Section titled âInherited fromâAdapterBlueprint.connections
connectors
Section titled âconnectorsâGet Signature
Section titled âGet Signatureâget connectors():
Connector[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:60
Gets the available connectors.
Returns
Section titled âReturnsâConnector[]
An array of available connectors
Inherited from
Section titled âInherited fromâAdapterBlueprint.connectors
networks
Section titled ânetworksâGet Signature
Section titled âGet Signatureâget networks():
CaipNetwork[]
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:70
Gets the supported networks.
Returns
Section titled âReturnsâCaipNetwork[]
An array of supported networks
Inherited from
Section titled âInherited fromâAdapterBlueprint.networks
Methods
Section titled âMethodsâaddConnection()
Section titled âaddConnection()â
protectedaddConnection(âŚconnections):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:95
Adds connections to the available connections list
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
âŚconnections | Connection[] | The connections to add |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.addConnection
addConnector()
Section titled âaddConnector()â
protectedaddConnector(âŚconnectors):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:90
Adds one or more connectors to the available connectors list.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
âŚconnectors | FilecoinConnector[] | The connectors to add |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.addConnector
clearConnections()
Section titled âclearConnections()â
protectedclearConnections(emit?):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:105
Clears all connections from the available connections list
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
emit? | boolean | Whether to emit the connections event |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.clearConnections
connect()
Section titled âconnect()âconnect(
params):Promise<ConnectResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:128
Connect
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | ConnectParams |
Returns
Section titled âReturnsâPromise<ConnectResult>
Overrides
Section titled âOverridesâAdapterBlueprint.connect
connectWalletConnect()
Section titled âconnectWalletConnect()âconnectWalletConnect(
_chainId?):Promise<{clientId:string; } |undefined>
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:136
Connects to WalletConnect.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
_chainId? | string | number | Optional chain ID to connect to |
Returns
Section titled âReturnsâPromise<{ clientId: string; } | undefined>
Inherited from
Section titled âInherited fromâAdapterBlueprint.connectWalletConnect
construct()
Section titled âconstruct()âconstruct(
params):void
Defined in: packages/iso-filecoin-wallets/src/appkit.js:53
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | Params |
Returns
Section titled âReturnsâvoid
Overrides
Section titled âOverridesâAdapterBlueprint.construct
deleteConnection()
Section titled âdeleteConnection()â
protecteddeleteConnection(connectorId):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:100
Deletes a connection from the available connections list
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
connectorId | string | The connector ID of the connection to delete |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.deleteConnection
disconnect()
Section titled âdisconnect()âdisconnect(
_params):Promise<DisconnectResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:203
Disconnect
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | DisconnectParams |
Returns
Section titled âReturnsâPromise<DisconnectResult>
Overrides
Section titled âOverridesâAdapterBlueprint.disconnect
protectedemit<T>(eventName,data?):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:131
Emits an event with the given name and optional data.
Type Parameters
Section titled âType Parametersâ| Type Parameter |
|---|
T extends EventName |
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
eventName | T | The name of the event to emit |
data? | EventData[T] | The optional data to be passed to the event listeners |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.emit
emitFirstAvailableConnection()
Section titled âemitFirstAvailableConnection()â
protectedemitFirstAvailableConnection():void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:274
Emits the first available connection.
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.emitFirstAvailableConnection
estimateGas()
Section titled âestimateGas()âestimateGas(
_params):Promise<EstimateGasTransactionResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:312
Estimate gas
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | EstimateGasTransactionArgs |
Returns
Section titled âReturnsâPromise<EstimateGasTransactionResult>
Overrides
Section titled âOverridesâAdapterBlueprint.estimateGas
formatUnits()
Section titled âformatUnits()âformatUnits(
_params):string
Defined in: packages/iso-filecoin-wallets/src/appkit.js:346
Format units
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | FormatUnitsParams |
Returns
Section titled âReturnsâstring
Overrides
Section titled âOverridesâAdapterBlueprint.formatUnits
getAccounts()
Section titled âgetAccounts()âgetAccounts(
params):Promise<GetAccountsResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:79
Get accounts
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | GetAccountsParams |
Returns
Section titled âReturnsâPromise<GetAccountsResult>
Overrides
Section titled âOverridesâAdapterBlueprint.getAccounts
getBalance()
Section titled âgetBalance()âgetBalance(
params):Promise<GetBalanceResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:236
Get balance
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | GetBalanceParams |
Returns
Section titled âReturnsâPromise<GetBalanceResult>
Overrides
Section titled âOverridesâAdapterBlueprint.getBalance
getCapabilities()
Section titled âgetCapabilities()âgetCapabilities():
Promise<{ }>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:356
Returns
Section titled âReturnsâPromise<{ }>
Overrides
Section titled âOverridesâAdapterBlueprint.getCapabilities
getConnection()
Section titled âgetConnection()âgetConnection(
params): {account: {address:string;publicKey?:string;type?:string; } |undefined;accounts:object[];auth?: {name:string|undefined;username:string|undefined; };caipNetwork?:CaipNetwork;connector:ChainAdapterConnector|undefined;connectorId:string;icon?:string;name?:string;networkIcon?:string; } |null
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:287
Gets a connection based on provided parameters. If connectorId is provided, returns connection for that specific connector. Otherwise, returns the first available valid connection.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
params | GetConnectionParams | Connection parameters |
Returns
Section titled âReturnsâ{ account: { address: string; publicKey?: string; type?: string; } | undefined; accounts: object[]; auth?: { name: string | undefined; username: string | undefined; }; caipNetwork?: CaipNetwork; connector: ChainAdapterConnector | undefined; connectorId: string; icon?: string; name?: string; networkIcon?: string; } | null
Connection or null if none found
Inherited from
Section titled âInherited fromâAdapterBlueprint.getConnection
getProfile()
Section titled âgetProfile()âgetProfile():
Promise<{profileImage:undefined;profileName:undefined; }>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:350
Returns
Section titled âReturnsâPromise<{ profileImage: undefined; profileName: undefined; }>
getWalletConnectConnector()
Section titled âgetWalletConnectConnector()â
protectedgetWalletConnectConnector():WalletConnectConnector
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:236
Returns
Section titled âReturnsâWalletConnectConnector
Inherited from
Section titled âInherited fromâAdapterBlueprint.getWalletConnectConnector
getWalletConnectProvider()
Section titled âgetWalletConnectProvider()âgetWalletConnectProvider(
params):any
Defined in: packages/iso-filecoin-wallets/src/appkit.js:386
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | { provider: any; } |
params.provider | any |
Returns
Section titled âReturnsâany
Overrides
Section titled âOverridesâAdapterBlueprint.getWalletConnectProvider
grantPermissions()
Section titled âgrantPermissions()âgrantPermissions():
Promise<{ }>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:359
Returns
Section titled âReturnsâPromise<{ }>
Overrides
Section titled âOverridesâAdapterBlueprint.grantPermissions
listenProviderEvents()
Section titled âlistenProviderEvents()â
protectedlistenProviderEvents(connectorId,provider):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:265
Listens to provider events for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
connectorId | string | The ID of the connector |
provider | Provider | CombinedProvider | The provider to listen to |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.listenProviderEvents
off<
T>(eventName,callback):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:120
Removes an event listener for a specific event.
Type Parameters
Section titled âType Parametersâ| Type Parameter |
|---|
T extends EventName |
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
eventName | T | The name of the event |
callback | EventCallback<T> | The callback function to be removed |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.off
on<
T>(eventName,callback):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:113
Adds an event listener for a specific event.
Type Parameters
Section titled âType Parametersâ| Type Parameter |
|---|
T extends EventName |
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
eventName | T | The name of the event |
callback | EventCallback<T> | The callback function to be called when the event is emitted |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.on
onAccountsChanged()
Section titled âonAccountsChanged()â
protectedonAccountsChanged(accounts,connectorId,disconnectIfNoAccounts?):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:248
Handles accounts changed event for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
accounts | (string | ParsedCaipAddress)[] | The accounts that changed |
connectorId | string | The ID of the connector |
disconnectIfNoAccounts? | boolean | - |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.onAccountsChanged
onChainChanged()
Section titled âonChainChanged()â
protectedonChainChanged(chainId,connectorId):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:259
Handles chain changed event for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
chainId | string | number | The ID of the chain that changed |
connectorId | string | The ID of the connector |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.onChainChanged
onConnect()
Section titled âonConnect()â
protectedonConnect(accounts,connectorId):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:242
Handles connect event for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
accounts | (string | ParsedCaipAddress)[] | The accounts that changed |
connectorId | string | The ID of the connector |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.onConnect
onDisconnect()
Section titled âonDisconnect()â
protectedonDisconnect(connectorId):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:253
Handles disconnect event for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
connectorId | string | The ID of the connector |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.onDisconnect
parseUnits()
Section titled âparseUnits()âparseUnits(
_params):bigint
Defined in: packages/iso-filecoin-wallets/src/appkit.js:336
Parse units
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | ParseUnitsParams |
Returns
Section titled âReturnsâbigint
Overrides
Section titled âOverridesâAdapterBlueprint.parseUnits
reconnect()?
Section titled âreconnect()?â
optionalreconnect(params):Promise<void>
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:231
Reconnects to a wallet.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
params | ConnectParams | Reconnection parameters |
Returns
Section titled âReturnsâPromise<void>
Inherited from
Section titled âInherited fromâAdapterBlueprint.reconnect
removeAllEventListeners()
Section titled âremoveAllEventListeners()âremoveAllEventListeners():
void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:124
Removes all event listeners.
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.removeAllEventListeners
removeProviderListeners()
Section titled âremoveProviderListeners()â
protectedremoveProviderListeners(connectorId):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:270
Removes provider listeners for a specific connector.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
connectorId | string | The ID of the connector |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.removeProviderListeners
revokePermissions()
Section titled ârevokePermissions()ârevokePermissions():
Promise<`0x${string}`>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:362
Returns
Section titled âReturnsâPromise<`0x${string}`>
Overrides
Section titled âOverridesâAdapterBlueprint.revokePermissions
sendTransaction()
Section titled âsendTransaction()âsendTransaction(
_params):Promise<SendTransactionResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:324
Send transaction
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | SendTransactionParams |
Returns
Section titled âReturnsâPromise<SendTransactionResult>
Overrides
Section titled âOverridesâAdapterBlueprint.sendTransaction
setAuthProvider()
Section titled âsetAuthProvider()âsetAuthProvider(
authProvider):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:85
Sets the auth provider.
Parameters
Section titled âParametersâ| Parameter | Type | Description |
|---|---|---|
authProvider | W3mFrameProvider | The auth provider instance |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.setAuthProvider
setStatus()
Section titled âsetStatus()â
protectedsetStatus(status,chainNamespace?):void
Defined in: node_modules/.pnpm/@reown+appkit-controllers@1.8.14_@types+react@19.2.7_bufferutil@4.0.9_react@19.2.1_type_693bc12fa66b6b97804a7e9f0aae69bc/node_modules/@reown/appkit-controllers/dist/types/src/controllers/AdapterController/ChainAdapterBlueprint.d.ts:106
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
status | "reconnecting" | "connected" | "disconnected" | "connecting" | undefined |
chainNamespace? | ChainNamespace |
Returns
Section titled âReturnsâvoid
Inherited from
Section titled âInherited fromâAdapterBlueprint.setStatus
setUniversalProvider()
Section titled âsetUniversalProvider()âsetUniversalProvider():
Promise<void>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:380
Sets the universal provider for WalletConnect.
Returns
Section titled âReturnsâPromise<void>
Overrides
Section titled âOverridesâAdapterBlueprint.setUniversalProvider
signMessage()
Section titled âsignMessage()âsignMessage(
_params):Promise<SignMessageResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:300
Sign message
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | SignMessageParams |
Returns
Section titled âReturnsâPromise<SignMessageResult>
Overrides
Section titled âOverridesâAdapterBlueprint.signMessage
switchNetwork()
Section titled âswitchNetwork()âswitchNetwork(
params):Promise<void>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:220
Switch network
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | SwitchNetworkParams |
Returns
Section titled âReturnsâPromise<void>
Overrides
Section titled âOverridesâAdapterBlueprint.switchNetwork
syncConnection()
Section titled âsyncConnection()âsyncConnection(
params):Promise<ConnectResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:190
Sync connection
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
params | SyncConnectionParams |
Returns
Section titled âReturnsâPromise<ConnectResult>
Overrides
Section titled âOverridesâAdapterBlueprint.syncConnection
syncConnections()
Section titled âsyncConnections()âsyncConnections(
_params):void|Promise<void>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:118
Sync connections
Parameters
Section titled âParametersâ| Parameter | Type |
|---|---|
_params | SyncConnectionsParams |
Returns
Section titled âReturnsâvoid | Promise<void>
Overrides
Section titled âOverridesâAdapterBlueprint.syncConnections
syncConnectors()
Section titled âsyncConnectors()âsyncConnectors():
void|Promise<void>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:106
Sync connectors
Returns
Section titled âReturnsâvoid | Promise<void>
Overrides
Section titled âOverridesâAdapterBlueprint.syncConnectors
walletGetAssets()
Section titled âwalletGetAssets()âwalletGetAssets():
Promise<{ }>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:365
Returns
Section titled âReturnsâPromise<{ }>
Overrides
Section titled âOverridesâAdapterBlueprint.walletGetAssets
writeContract()
Section titled âwriteContract()âwriteContract():
Promise<WriteContractResult>
Defined in: packages/iso-filecoin-wallets/src/appkit.js:374
Write contract
Returns
Section titled âReturnsâPromise<WriteContractResult>
Overrides
Section titled âOverridesâAdapterBlueprint.writeContract