FeeProxy
Calls
callWithFeePreferences
Call an internal call with specified gas token payment_asset: The token to be used for paying gas fees. This is exchanged in OnChargeTransaction::withdraw_fee() max_payment: The limit of how many tokens will be used to perform the exchange call: The inner call to be performed after the exchange
Namespace
api.tx.feeProxy.callWithFeePreferencesType
function callWithFeePreferences(
payment_asset: u32,
max_payment: u128,
call: Call
)undefined## Events
CallWithFeePreferences
A call was made with specified payment asset
Namespace
api.events.feeProxy.CallWithFeePreferencesType
type CallWithFeePreferences = {
who: SeedPrimitivesSignatureAccountId20,
payment_asset: u32,
max_payment: u128
}Errors
FeeTokenIsGasToken
The selected fee token is equal to the native gas token
Namespace
api.errors.feeProxy.FeeTokenIsGasTokenNestedFeePreferenceCall
The inner call is a fee preference call
Namespace
api.errors.feeProxy.NestedFeePreferenceCallConstants
feeAssetId
The native token asset Id (managed by pallet-balances)
Namespace
api.consts.feeProxy.feeAssetIdType
type feeAssetId = u32Source: https://docs.therootnetwork.com/build/substrate/api-reference/runtime-pallets/feeproxy · captured 2026-05-02 · part of TRN Docs source map