cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Loading...
Searching...
No Matches
eth_tx_t Struct Reference

EIP-1559 (type 2) transaction parameters. More...

#include <eth_rlp.h>

Public Attributes

uint64_t chain_id
uint64_t nonce
uint64_t max_priority_fee
uint64_t max_fee
uint64_t gas_limit
uint8_t to [20]
uint64_t eth_value
const uint8_t * calldata
size_t calldata_len

Detailed Description

EIP-1559 (type 2) transaction parameters.

Definition at line 31 of file eth_rlp.h.

Member Data Documentation

◆ calldata

const uint8_t* eth_tx_t::calldata

ABI-encoded calldata, or NULL.

Definition at line 40 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ calldata_len

size_t eth_tx_t::calldata_len

Length of calldata in bytes.

Definition at line 41 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ chain_id

uint64_t eth_tx_t::chain_id

EIP-155 chain identifier.

Definition at line 32 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ eth_value

uint64_t eth_tx_t::eth_value

ETH value in wei (0 for pure ERC-20 transfer).

Definition at line 38 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ gas_limit

uint64_t eth_tx_t::gas_limit

Gas limit for the transaction.

Definition at line 36 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ max_fee

uint64_t eth_tx_t::max_fee

Max fee per gas, in wei.

Definition at line 35 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ max_priority_fee

uint64_t eth_tx_t::max_priority_fee

Priority fee per gas, in wei.

Definition at line 34 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ nonce

uint64_t eth_tx_t::nonce

Account transaction count.

Definition at line 33 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().

◆ to

uint8_t eth_tx_t::to[20]

Recipient Ethereum address.

Definition at line 37 of file eth_rlp.h.

Referenced by encode_common_fields(), and sign_and_broadcast().


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