import type { StateNetwork } from './state.js'; /** * * @param this StateNetwork * @param address address of the storage * @param slot integer of the position in the storage * @param blockTag integer block number, or the string "latest", "earliest" or "pending" * @returns the value at this storage position */ export declare function eth_getStorageAt(this: StateNetwork, _address: string, _slot: string, _blockTag?: string): Promise; /** * * @param this state network * @param address address * @param blockTag integer block number, or the string "latest", "earliest" or "pending" * @returns */ export declare function eth_getTransactionCount(this: StateNetwork, _address: string, _blockTag?: string): Promise; /** * * @param this state network * @param address address * @param blockTag integer block number, or the string "latest", "earliest" or "pending" * @returns code at a given address */ export declare function eth_getCode(this: StateNetwork, _address: string, _blockTag?: string): Promise; export type TxCallObject = { from?: string; to: string; gas?: string; gasPrice?: string; value?: string; data?: string; }; /** * * @param this state network * @param txCallObject transaction call object * @param blockTag integer block number, or the string "latest", "earliest" or "pending" * @returns the return value of the executed contract */ export declare function eth_call(this: StateNetwork, _txCallObject: TxCallObject, _blockTag?: string): Promise; export type TxEstimateObject = { from?: string; to?: string; gas?: string; gasPrice?: string; value?: string; data?: string; }; /** * Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. The transaction will not be added to the blockchain. * @param this state network * @param txObject transaction object * @param blockTag integer block number, or the string "latest", "earliest" or "pending" * @returns */ export declare function eth_estimateGas(this: StateNetwork, _txObject: TxEstimateObject, _blockTag?: string): Promise; //# sourceMappingURL=eth.d.ts.map