Expand description
Fee payment strategies for aztec-rs.
This crate provides implementations of the FeePaymentMethod trait,
which determines how transaction fees are paid on the Aztec network.
§Available strategies
NativeFeePaymentMethod— pay with existing Fee Juice balance (default)SponsoredFeePaymentMethod— a sponsor contract pays unconditionallyFeeJuicePaymentMethodWithClaim— claim Fee Juice from L1 bridge and pay
Structs§
- FeeJuice
Payment Method With Claim - Pays transaction fees by claiming Fee Juice from an L1-to-L2 bridge deposit.
- L2Amount
Claim - Data required to claim bridged Fee Juice on L2.
- Native
FeePayment Method - Pays transaction fees using the sender’s existing Fee Juice balance.
- Sponsored
FeePayment Method - A fee payment method where a sponsor contract pays the fee unconditionally.
Traits§
- FeePayment
Method - Trait that all fee payment strategies implement.