Skip to main content

Module transaction

Module transaction 

Source
Expand description

EIP-1559 transaction building, signing, and fee and gas policy for execution operations.

Enums§

TransactionPurpose
The purpose of an execution transaction, persisted with the transaction record.
TransactionStatus
The observation status of a persisted execution transaction.

Constants§

EXECUTION_SCHEMA_VERSION
Current version of the durable execution-intent schema.

Functions§

build_eip1559_transaction
Builds an unsigned EIP-1559 transaction for a contract call.
compute_max_fee
Computes the EIP-1559 max fee per gas: the base fee with base_fee_buffer_bps applied plus the priority fee, without applying any ceiling.
derive_fees
Derives EIP-1559 fees from the latest base fee and the node’s suggested priority fee.
derive_gas_limit
Applies gas_buffer_bps over the eth_estimateGas result.
sign_eip1559_transaction
Signs an unsigned EIP-1559 transaction locally and returns the transaction hash together with the raw EIP-2718 encoding accepted by eth_sendRawTransaction.