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. More...
evmc_address tx_origin
 The transaction origin account. More...
evmc_address block_coinbase
 The miner of the block. More...
int64_t block_number
 The block number. More...
int64_t block_timestamp
 The block timestamp. More...
int64_t block_gas_limit
 The block gas limit. More...
evmc_uint256be block_prev_randao
 The block previous RANDAO (EIP-4399). More...
evmc_uint256be chain_id
 The blockchain's ChainID. More...
evmc_uint256be block_base_fee
 The block base fee per gas (EIP-1559, EIP-3198). More...

Detailed Description

The transaction and block data for execution.

Definition at line 194 of file evmc.h.

Member Data Documentation

◆ 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: