EVMC
evmc_tx_context Struct Reference

The transaction and block data for execution. More...

#include <evmc.h>

Public Attributes

evmc_uint256be tx_gas_price
 The transaction gas price.
 
evmc_address tx_origin
 The transaction origin account.
 
evmc_address block_coinbase
 The miner of the block.
 
int64_t block_number
 The block number.
 
int64_t block_timestamp
 The block timestamp.
 
int64_t block_gas_limit
 The block gas limit.
 
evmc_uint256be block_prev_randao
 The block previous RANDAO (EIP-4399).
 
evmc_uint256be chain_id
 The blockchain's ChainID.
 
evmc_uint256be block_base_fee
 The block base fee per gas (EIP-1559, EIP-3198).
 
const evmc_bytes32blob_hashes
 The array of blob hashes (EIP-4844).
 
size_t blob_hashes_count
 The number of blob hashes (EIP-4844).
 

Detailed Description

The transaction and block data for execution.

Definition at line 194 of file evmc.h.

Member Data Documentation

◆ blob_hashes

const evmc_bytes32* evmc_tx_context::blob_hashes

The array of blob hashes (EIP-4844).

Definition at line 205 of file evmc.h.

◆ blob_hashes_count

size_t evmc_tx_context::blob_hashes_count

The number of blob hashes (EIP-4844).

Definition at line 206 of file evmc.h.

◆ block_base_fee

evmc_uint256be evmc_tx_context::block_base_fee

The block base fee per gas (EIP-1559, EIP-3198).

Definition at line 204 of file evmc.h.

◆ block_coinbase

evmc_address evmc_tx_context::block_coinbase

The miner of the block.

Definition at line 198 of file evmc.h.

◆ block_gas_limit

int64_t evmc_tx_context::block_gas_limit

The block gas limit.

Definition at line 201 of file evmc.h.

◆ block_number

int64_t evmc_tx_context::block_number

The block number.

Definition at line 199 of file evmc.h.

◆ block_prev_randao

evmc_uint256be evmc_tx_context::block_prev_randao

The block previous RANDAO (EIP-4399).

Definition at line 202 of file evmc.h.

◆ block_timestamp

int64_t evmc_tx_context::block_timestamp

The block timestamp.

Definition at line 200 of file evmc.h.

◆ chain_id

evmc_uint256be evmc_tx_context::chain_id

The blockchain's ChainID.

Definition at line 203 of file evmc.h.

◆ tx_gas_price

evmc_uint256be evmc_tx_context::tx_gas_price

The transaction gas price.

Definition at line 196 of file evmc.h.

◆ tx_origin

evmc_address evmc_tx_context::tx_origin

The transaction origin account.

Definition at line 197 of file evmc.h.


The documentation for this struct was generated from the following file: