UNPKG

@shogun-sdk/money-legos

Version:

Shogun Money Legos: clients and types for quotes, memes, prices, balances, fees, validations, etc.

87 lines (86 loc) 3 kB
/* eslint-disable @typescript-eslint/no-explicit-any */ export type EVMPublicClient = { account: undefined; batch: undefined; cacheTime: number; ccipRead: undefined; chain: { formatters: undefined; fees: undefined; serializers: undefined; id: number; name: string; nativeCurrency: object; rpcUrls: object; blockExplorers: object; contracts: object; }; key: 'public'; name: string; pollingInterval: number; request: () => Promise<any>; transport: { key: string; name: string; request: () => Promise<any>; retryCount: number; retryDelay: number; timeout: number; type: 'http'; fetchOptions: undefined; url: string; }; type: 'publicClient'; uid: string; extend: (...args: any[]) => any; call: (...args: any[]) => any; createBlockFilter: (...args: any[]) => any; createContractEventFilter: (...args: any[]) => any; createEventFilter: (...args: any[]) => any; createPendingTransactionFilter: (...args: any[]) => any; estimateContractGas: (...args: any[]) => any; estimateGas: (...args: any[]) => any; getBalance: (...args: any[]) => any; getBlobBaseFee: (...args: any[]) => any; getBlock: (...args: any[]) => any; getBlockNumber: (...args: any[]) => any; getBlockTransactionCount: (...args: any[]) => any; getBytecode: (...args: any[]) => any; getChainId: (...args: any[]) => any; getCode: (...args: any[]) => any; getContractEvents: (...args: any[]) => any; getEip712Domain: (...args: any[]) => any; getEnsAddress: (...args: any[]) => any; getEnsAvatar: (...args: any[]) => any; getEnsName: (...args: any[]) => any; getEnsResolver: (...args: any[]) => any; getEnsText: (...args: any[]) => any; getFeeHistory: (...args: any[]) => any; estimateFeesPerGas: (...args: any[]) => any; getFilterChanges: (...args: any[]) => any; getFilterLogs: (...args: any[]) => any; getGasPrice: (...args: any[]) => any; getLogs: (...args: any[]) => any; getProof: (...args: any[]) => any; estimateMaxPriorityFeePerGas: (...args: any[]) => any; getStorageAt: (...args: any[]) => any; getTransaction: (...args: any[]) => any; getTransactionConfirmations: (...args: any[]) => any; getTransactionCount: (...args: any[]) => any; getTransactionReceipt: (...args: any[]) => any; multicall: (...args: any[]) => any; prepareTransactionRequest: (...args: any[]) => any; readContract: (...args: any[]) => any; sendRawTransaction: (...args: any[]) => any; simulateContract: (...args: any[]) => any; verifyMessage: (...args: any[]) => any; verifySiweMessage: (...args: any[]) => any; verifyTypedData: (...args: any[]) => any; uninstallFilter: (...args: any[]) => any; waitForTransactionReceipt: (...args: any[]) => any; watchBlocks: (...args: any[]) => any; watchBlockNumber: (...args: any[]) => any; watchContractEvent: (...args: any[]) => any; watchEvent: (...args: any[]) => any; watchPendingTransactions: (...args: any[]) => any; };