Versions in this module Expand all Collapse all v0 v0.2.0 May 11, 2026 Changes in this version + func DistributeTxFeesToSlotLeader(acctsDb *accountsdb.AccountsDb, slotCtx *sealevel.SlotCtx, ...) uint64 + type TxFeeInfo struct + ExecutionFee uint64 + PriorityFee uint64 + TotalFee uint64 + func CalculateAndDeductTxFees(tx *solana.Transaction, txMeta *rpc.TransactionMeta, ...) (*TxFeeInfo, uint64, error) + func CalculateTxFees(tx *solana.Transaction, instrs []sealevel.Instruction, ...) *TxFeeInfo + type TxFeeInfoAccumulator struct + ExecutionFees uint64 + PriorityFees uint64 + TotalFees uint64 + func (txFeeAccumulator *TxFeeInfoAccumulator) Add(txFeeInfo *TxFeeInfo) v0.1.0-alpha.1 Jan 15, 2026