query_xcm_weight: RuntimeDescriptor<
    [message: XcmVersionedXcm],
    ResultPayload<
        { proof_size: bigint; ref_time: bigint },
        Enum<
            {
                AssetNotFound: undefined;
                UnhandledXcmVersion: undefined;
                Unimplemented: undefined;
                Unroutable: undefined;
                VersionedConversionFailed: undefined;
                WeightNotComputable: undefined;
            },
        >,
    >,
>

Returns a weight needed to execute a XCM.

Arguments

  • message: VersionedXcm.