pub trait ExecutionPaymentRate {
// Required method
fn get_units_per_second(asset_location: Location) -> Option<u128>;
}
Expand description
Used to fetch units per second
if cross-chain asset is applicable for local execution payment.
Required Methods§
sourcefn get_units_per_second(asset_location: Location) -> Option<u128>
fn get_units_per_second(asset_location: Location) -> Option<u128>
returns units per second from asset type or None
if asset type isn’t a supported payment asset.
Object Safety§
This trait is not object safe.