Skip to main content

Module api

Module api 

Source

Structsยง

EthApi
The entry point for executing eth api RPC call - The Eth RPC interface.
TransactionFeeDefaults ๐Ÿ”’

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 ๐Ÿ”’
eip8130_channel_marker ๐Ÿ”’ base
eip8130_replay_marker ๐Ÿ”’ base
encode_rpc_transaction ๐Ÿ”’
EIP-2718 encodes a transaction held in its JSON-RPC form, reporting the types anvil cannot encode as BlockchainError::UnsupportedTransactionEncoding.
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 ๐Ÿ”’
merge_pre_fork_fee_history ๐Ÿ”’
Appends the upstream part of a fee-history range that crosses the fork boundary.
normalize_fee_payer_service_encoding ๐Ÿ”’
Rewrites the Tempo fee payer service encoding of a raw transaction into the standard envelope encoding.
required_marker ๐Ÿ”’
reward_at_percentile ๐Ÿ”’
tempo_nonce_marker ๐Ÿ”’
txpool_transaction_key ๐Ÿ”’