Transactions

Transactions, which change the state of the EVM, need to be broadcast to the whole network. Any node can broadcast a request for a transaction to be executed on the EVM; after this happens, a validator will execute the transaction and propagate the resulting state change to the rest of the network.

Transaction Fees on Base

Every Base transaction consists of two costs: an L2 (execution) fee and an L1 (security) fee.

The L2 fee is the cost to execute your transaction on the L2, and the L1 fee is the estimated cost to publish the transaction on the L1. Typically the L1 security fee is higher than the L2 execution fee. L1 gas fields are have the l1_ prefix.

Table Columns

Column NameDescriptionExample

block_number

The length of the chain, in blocks.

2710148

block_timestamp

The time when the block that contains this transaction was included on the blockchain.

2023-08-16 18:14:03+00:00

block_hash

Unique identifier of the block that includes this transaction.

0x89cd6c4c5468435051e36e38733cc3114bd957928ae931ebdd60d2f95ede19b2

hash

Unique identifier of a transaction.

0x3c8373fcaccd822f33bfcf8d11ba8d0825774fc20d50d50c866afe5bad5d52d7

nonce

The transaction nonce, unique to the wallet

43

transaction_index

The position of this transaction in the block that it belongs to. The first transaction has index 0.

8

from_address

The address of the sending party of this transaction.

0x0d73d6fd695de70f51f449e57c02072caa89bdfe

to_address

The address of the receiving party of this transaction (could be a contract address).

0xb311ec23c4a7578a4c18f66774a5d7b51dd1dd07

value

The amount of ether sent in this transaction, in wei.

0

gas

The maximum amount of gas allocated for this transaction in wei.

49357

gas_price

Cost per unit of gas specified by the transaction in wei. The higher the gas price, the higher chance of getting included in a block.

718

input

The data send along with the transaction.

0x095ea7b3000000000000000000000000237b5a05f1c23af9a269bc4b358e5f880d38e9e6000000000000000000000000000000000000000000000000000000000000c8d1

max_fee_per_gas

The maximum fee per gas that the transaction sender is willing to pay for this transaction (introduced in EIP1559)

738

max_priority_fee_per_gas

The maximum fee per gas the transaction sender is willing to give to validators (Proof of Stake) or miners (Proof of Work) to incentivize them to include their transaction (introduced in EIP1559)

662

receipt_cumulative_gas_used

The total amount of gas used when this transaction was executed in the block.

1074009

receipt_gas_used

Gas consumed by the transaction in wei.

49357

receipt_l1_gas_used

The amount of gas consumed by a transaction on the Layer 1.

2500

receipt_l1_gas_price

L1 gas price that the Sequencer will use to estimate the L1 portion of fees (calldata costs).

32425002520

receipt_l1_fee

The fee associated with a transaction on the Layer 1, it is calculated as l1GasPrice multiplied by l1GasUsed.

55446754309200

receipt_l1_fee_scalar

A multiplier applied to the actual gas usage on Layer 1 to calculate the dynamic costs. If set to 1, it has no impact on the L1 gas usage.

0.684

receipt_effective_gas_price

The sum of the base fee and tip paid per unit of gas.

718

receipt_contract_address

The contract address created, if the transaction was a contract creation, otherwise null.

receipt_root

Transaction stateroot (pre Byzantium)

receipt_status

Success status of the transaction. Either 1 (success) or 0 (failure).

1

log_count

Number of event logs emitted in the transaction.

1

transaction_type

The integer of the transaction type, 0 for legacy transactions, 1 for access list types, 2 for dynamic fees.

2

transaction_type

The transaction type.

2

source_hash

The hash of the source transaction that created this transaction.

mint

The minting event associated with the transaction.

nan

chain_id

Chain ID of transaction.

8453

_created_at

Timestamp of the entry creation.

NaT

_updated_at

Timestamp of the entry update.

2023-08-18 12:39:55.086000+00:00

Last updated