algokit_utils.transactions.fee_coverage
algokit_utils.transactions.fee_coverage
Section titled “algokit_utils.transactions.fee_coverage”Classes
Section titled “Classes”FeeDeltaType | Describes the type of fee delta |
|---|---|
FeeDelta | Represents a difference between required and provided fee amounts. |
FeePriority | Priority wrapper used when deciding which transactions need additional fees applied first. |
Module Contents
Section titled “Module Contents”class FeeDeltaType(*args, **kwds)
Section titled “class FeeDeltaType(*args, **kwds)”Bases: enum.Enum
Describes the type of fee delta
DEFICIT
Section titled “DEFICIT”SURPLUS
Section titled “SURPLUS”class FeeDelta
Section titled “class FeeDelta”Represents a difference between required and provided fee amounts.
data : int
Section titled “data : int”static from_int(value: int) → FeeDelta | None
Section titled “static from_int(value: int) → FeeDelta | None”static add(lhs: FeeDelta | None, rhs: FeeDelta | None) → FeeDelta | None
Section titled “static add(lhs: FeeDelta | None, rhs: FeeDelta | None) → FeeDelta | None”static to_int(delta: FeeDelta) → int
Section titled “static to_int(delta: FeeDelta) → int”static amount(delta: FeeDelta) → int
Section titled “static amount(delta: FeeDelta) → int”static is_deficit(delta: FeeDelta) → bool
Section titled “static is_deficit(delta: FeeDelta) → bool”static is_surplus(delta: FeeDelta) → bool
Section titled “static is_surplus(delta: FeeDelta) → bool”class FeePriority
Section titled “class FeePriority”Priority wrapper used when deciding which transactions need additional fees applied first.