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).
 
evmc_uint256be blob_base_fee
 The blob base fee (EIP-7516).
 
const evmc_bytes32blob_hashes
 The array of blob hashes (EIP-4844).
 
size_t blob_hashes_count
 The number of blob hashes (EIP-4844).
 
const evmc_tx_initcodeinitcodes
 The array of transaction initcodes (TXCREATE).
 
size_t initcodes_count
 The number of transaction initcodes (TXCREATE).
 

Detailed Description

The transaction and block data for execution.

Definition at line 213 of file evmc.h.

Member Data Documentation

◆ blob_base_fee

evmc_uint256be evmc_tx_context::blob_base_fee

The blob base fee (EIP-7516).

Definition at line 224 of file evmc.h.

◆ blob_hashes

const evmc_bytes32* evmc_tx_context::blob_hashes

The array of blob hashes (EIP-4844).

Definition at line 225 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 226 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 223 of file evmc.h.

◆ block_coinbase

evmc_address evmc_tx_context::block_coinbase

The miner of the block.

Definition at line 217 of file evmc.h.

◆ block_gas_limit

int64_t evmc_tx_context::block_gas_limit

The block gas limit.

Definition at line 220 of file evmc.h.

◆ block_number

int64_t evmc_tx_context::block_number

The block number.

Definition at line 218 of file evmc.h.

◆ block_prev_randao

evmc_uint256be evmc_tx_context::block_prev_randao

The block previous RANDAO (EIP-4399).

Definition at line 221 of file evmc.h.

◆ block_timestamp

int64_t evmc_tx_context::block_timestamp

The block timestamp.

Definition at line 219 of file evmc.h.

◆ chain_id

evmc_uint256be evmc_tx_context::chain_id

The blockchain's ChainID.

Definition at line 222 of file evmc.h.

◆ initcodes

const evmc_tx_initcode* evmc_tx_context::initcodes

The array of transaction initcodes (TXCREATE).

Definition at line 227 of file evmc.h.

◆ initcodes_count

size_t evmc_tx_context::initcodes_count

The number of transaction initcodes (TXCREATE).

Definition at line 228 of file evmc.h.

◆ tx_gas_price

evmc_uint256be evmc_tx_context::tx_gas_price

The transaction gas price.

Definition at line 215 of file evmc.h.

◆ tx_origin

evmc_address evmc_tx_context::tx_origin

The transaction origin account.

Definition at line 216 of file evmc.h.


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