Files
pezkuwi-sdk/bizinikiwi/pezframe/transaction-payment/asset-tx-payment
pezkuwichain ea341084f0 fix: comprehensive feature propagation and dep:serde fixes
- Fix serde optional dependency issues by adding dep:serde to serde features (24 crates)
- Run zepter to propagate runtime-benchmarks, std, try-runtime, serde, experimental, with-tracing, tuples-96 features
- Regenerate umbrella crate with proper feature propagation
- Format all TOML files with taplo

This resolves check-umbrella and check-zepter CI failures.
2026-01-04 20:37:14 +03:00
..

pezpallet-asset-tx-payment

Asset Transaction Payment Pezpallet

This pezpallet allows runtimes that include it to pay for transactions in assets other than the native token of the chain.

Overview

It does this by extending transactions to include an optional AssetId that specifies the asset to be used for payment (defaulting to the native token on None). It expects an [OnChargeAssetTransaction] implementation analogously to [pezpallet-transaction-payment]. The included [FungiblesAdapter] (implementing [OnChargeAssetTransaction]) determines the fee amount by converting the fee calculated by [pezpallet-transaction-payment] into the desired asset.

Integration

This pezpallet wraps FRAME's transaction payment pezpallet and functions as a replacement. This means you should include both pallets in your construct_runtime macro, but only include this pezpallet's [TransactionExtension] ([ChargeAssetTxPayment]).

License: Apache-2.0