Structs§
- FeeConfiguration
- Fee-related network configuration.
- Ledger
Entry Rent Change - Change in a single ledger entry with parameters relevant for rent fee computations.
- Rent
FeeConfiguration - Rent fee-related network configuration.
- Transaction
Resources - These are the resource upper bounds specified by the Soroban transaction.
- Write
FeeConfiguration - Network configuration used to determine the ledger write fee.
Constants§
- DATA_
SIZE_ 1KB_ INCREMENT - INSTRUCTIONS_
INCREMENT - MINIMUM_
WRITE_ FEE_ PER_ 1KB - TTL_
ENTRY_ SIZE - Estimate for any
TtlEntry
ledger entry - TX_
BASE_ RESULT_ SIZE - This module defines the fee computation protocol for Soroban.
Functions§
- compute_
rent_ fee - Computes the total rent-related fee for the provided ledger entry changes.
- compute_
transaction_ resource_ fee - Computes the resource fee for a transaction based on the resource consumption and the fee-related network configuration.
- compute_
write_ fee_ per_ 1kb - Computes the effective write fee per 1 KB of data written to ledger.