export declare type StringKeyMap = { [key: string]: any; }; export declare type StringMap = { [key: string]: string; }; export declare type Address = string; export declare type BlockNumber = number; export declare type BlockHash = string; export declare type TransactionHash = string; export declare type Timestamp = string; export declare type Json = StringKeyMap | StringKeyMap[]; export declare enum ChainId { Ethereum = "1", Goerli = "5", Polygon = "137", Mumbai = "80001", Base = "8453", Optimism = "10", Arbitrum = "42161", ArbitrumSepolia = "421614", PGN = "424", Celo = "42220", Linea = "59144", Sepolia = "11155111" } export declare enum TransactionStatus { Failure = 0, Success = 1 } export interface TransactionFunctionArgument { name?: string; type: string; value: any; } export interface Block { hash: BlockHash; number: BlockNumber; parentHash: BlockHash | null; nonce: string; sha3Uncles: string | null; logsBloom: string | null; transactionsRoot: string | null; stateRoot: string | null; receiptsRoot: string | null; miner: string | null; difficulty: string | null; totalDifficulty: string | null; size: number | null; extraData: string | null; gasLimit: string | null; gasUsed: string | null; baseFeePerGas: string | null; transactionCount: number; timestamp: Timestamp; } export interface Transaction { hash: TransactionHash; nonce: number; transactionIndex: number; from: Address; to: Address | null; contractAddress: Address | null; value: string | null; input: string | null; functionName: string; functionArgs: TransactionFunctionArgument[]; transactionType: number | null; status: TransactionStatus | null; root: string | null; gas: string | null; gasPrice: string | null; maxFeePerGas: string | null; maxPriorityFeePerGas: string | null; gasUsed: string | null; cumulativeGasUsed: string | null; effectiveGasPrice: string | null; blockHash: BlockHash; blockNumber: BlockNumber; blockTimestamp: Timestamp; chainId: ChainId; } //# sourceMappingURL=types.d.ts.map