import { EthAddress } from '../address/index.js'; import { EthereumProvider } from './ethereum_provider.js'; import { TxHash } from './tx_hash.js'; export interface EthereumBlock { baseFeePerGas: bigint; } export declare class EthereumRpc { protected provider: EthereumProvider; constructor(provider: EthereumProvider); blockNumber(): Promise; getChainId(): Promise; getAccounts(): Promise; getTransactionCount(addr: EthAddress): Promise; getBalance(addr: EthAddress): Promise; /** * TODO: Return proper type with converted properties. */ getTransactionByHash(txHash: TxHash): Promise; /** * TODO: Return proper type with converted properties. * For now just baseFeePerGas. */ getBlockByNumber(numberOrTag: number | 'latest' | 'earliest' | 'pending', fullTxs?: boolean): Promise; } //# sourceMappingURL=ethereum_rpc.d.ts.map