Skip to main content

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
Type
undefined## Events

CallWithFeePreferences

A call was made with specified payment asset Namespace
Type

Errors

FeeTokenIsGasToken

The selected fee token is equal to the native gas token Namespace

NestedFeePreferenceCall

The inner call is a fee preference call Namespace

Constants

feeAssetId

The native token asset Id (managed by pallet-balances) Namespace
Type