UNPKG

@thirdweb-dev/wallets

Version:

<p align="center"> <br /> <a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a> <br /> </p> <h1 align="center">thirdweb Wallet SDK</h1> <p align="center"> <a href="ht

22 lines 1.09 kB
import { SmartContract, ThirdwebSDK } from "@thirdweb-dev/sdk"; import { BigNumberish, BigNumber, ethers } from "ethers"; import { AccountApiParams } from "../types"; import { BaseAccountAPI } from "./base-api"; export declare class AccountAPI extends BaseAccountAPI { sdk: ThirdwebSDK; params: AccountApiParams; accountContract?: SmartContract; factoryContract?: SmartContract; constructor(params: AccountApiParams, originalProvider: ethers.providers.Provider); getChainId(): Promise<number>; getAccountContract(): Promise<SmartContract>; getAccountInitCode(): Promise<string>; getFactoryContract(): Promise<SmartContract<ethers.BaseContract>>; getCounterFactualAddress(): Promise<string>; getNonce(): Promise<BigNumber>; encodeExecute(target: string, value: BigNumberish, data: string): Promise<string>; encodeExecuteBatch(targets: string[], values: BigNumberish[], datas: string[]): Promise<string>; signUserOpHash(userOpHash: string): Promise<string>; isAcountDeployed(): Promise<boolean>; } //# sourceMappingURL=account.d.ts.map