Type alias WalletActions<TChain, TAccount>

WalletActions<TChain, TAccount>: {
    addChain: ((args) => Promise<void>);
    deployContract: (<const TAbi, TChainOverride>(args) => Promise<DeployContractReturnType>);
    getAddresses: (() => Promise<GetAddressesReturnType>);
    getChainId: (() => Promise<GetChainIdReturnType>);
    getPermissions: (() => Promise<GetPermissionsReturnType>);
    prepareTransactionRequest: (<TChainOverride>(args) => Promise<PrepareTransactionRequestReturnType>);
    requestAddresses: (() => Promise<RequestAddressesReturnType>);
    requestPermissions: ((args) => Promise<RequestPermissionsReturnType>);
    sendRawTransaction: ((args) => Promise<SendRawTransactionReturnType>);
    sendTransaction: (<TChainOverride>(args) => Promise<SendTransactionReturnType>);
    signMessage: ((args) => Promise<SignMessageReturnType>);
    signTransaction: (<TChainOverride>(args) => Promise<SignTransactionReturnType>);
    signTypedData: (<const TTypedData, TPrimaryType>(args) => Promise<SignTypedDataReturnType>);
    switchChain: ((args) => Promise<void>);
    watchAsset: ((args) => Promise<WatchAssetReturnType>);
    writeContract: (<const TAbi, TFunctionName, TChainOverride>(args) => Promise<WriteContractReturnType>);
}

Type Parameters

Type declaration

Generated using TypeDoc