@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
19 lines • 813 B
TypeScript
import { UserOperationStruct } from "@account-abstraction/contracts";
export declare class HttpRpcClient {
private readonly userOpJsonRpcProvider;
initializing: Promise<void>;
bundlerUrl: string;
entryPointAddress: string;
chainId: number;
constructor(bundlerUrl: string, entryPointAddress: string, chainId: number, clientId?: string, secretKey?: string);
validateChainId(): Promise<void>;
/**
* send a UserOperation to the bundler
* @param userOp1
* @return userOpHash the id of this operation, for getUserOperationTransaction
*/
sendUserOpToBundler(userOp1: UserOperationStruct): Promise<string>;
estimateUserOpGas(userOp1: Partial<UserOperationStruct>): Promise<string>;
private printUserOperation;
}
//# sourceMappingURL=http-rpc-client.d.ts.map