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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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
emit()
Section titled “emit()”
protectedemit<T>(eventName,data?):void
Defined in: node_modules/.pnpm/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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/@[email protected]_@[email protected]_bufferutil@[email protected]_type_732bf6e1de1eb68be1ccb0e2f713f747/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