query_weight_to_asset_fee: RuntimeDescriptor<
    [
        weight: { proof_size: bigint; ref_time: bigint },
        asset: XcmVersionedAssetId,
    ],
    ResultPayload<
        bigint,
        Enum<
            {
                AssetNotFound: undefined;
                UnhandledXcmVersion: undefined;
                Unimplemented: undefined;
                Unroutable: undefined;
                VersionedConversionFailed: undefined;
                WeightNotComputable: undefined;
            },
        >,
    >,
>

Converts a weight into a fee for the specified AssetId.

Arguments

  • weight: convertible Weight.
  • asset: VersionedAssetId.