UNPKG

@thirdweb-dev/wallets

Version:

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

15 lines 1.06 kB
import { UserOperationStruct } from "@account-abstraction/contracts"; import { PaymasterAPI, PaymasterResult } from "../types"; export declare const SIG_SIZE = 65; export declare const DUMMY_PAYMASTER_AND_DATA = "0x0101010101010101010101010101010101010101000000000000000000000000000000000000000000000000000001010101010100000000000000000000000000000000000000000000000000000000000000000101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101"; declare class VerifyingPaymasterAPI extends PaymasterAPI { private paymasterUrl; private entryPoint; private clientId?; private secretKey?; constructor(paymasterUrl: string, entryPoint: string, clientId?: string, secretKey?: string); getPaymasterAndData(userOp: Partial<UserOperationStruct>): Promise<PaymasterResult>; } export declare const getVerifyingPaymaster: (paymasterUrl: string, entryPoint: string, clientId?: string, secretKey?: string) => VerifyingPaymasterAPI; export {}; //# sourceMappingURL=paymaster.d.ts.map