Skip to main content

Module api

Module api 

Source

StructsΒ§

EthApi
The entry point for executing eth api RPC call - The Eth RPC interface.

EnumsΒ§

GasEstimationCallResult πŸ”’
Keeps result of a call to revm EVM used for gas estimation

ConstantsΒ§

CLIENT_VERSION
The client version: anvil/v{major}.{minor}.{patch}

FunctionsΒ§

convert_transact_out πŸ”’
determine_base_gas_by_kind πŸ”’
Determines the minimum gas needed for a transaction depending on the transaction kind.
ensure_return_ok πŸ”’
Returns an error if the exit code is not ok
execution_error πŸ”’
Maps an EVM exit code to the optional error string reported in eth_createAccessList results.
is_simple_transfer_request πŸ”’
nonce_markers πŸ”’
Returns the pool (requires, provides) markers for a transaction, accounting for Tempo’s 2D nonce system (see tempo_parallel_nonce_markers).
required_marker πŸ”’
tempo_parallel_nonce_markers πŸ”’
txpool_transaction_key πŸ”’