query_delivery_fees: RuntimeDescriptor<
    [destination: XcmVersionedLocation, message: XcmVersionedXcm],
    ResultPayload<
        XcmVersionedAssets,
        Enum<
            {
                AssetNotFound: undefined;
                UnhandledXcmVersion: undefined;
                Unimplemented: undefined;
                Unroutable: undefined;
                VersionedConversionFailed: undefined;
                WeightNotComputable: undefined;
            },
        >,
    >,
>

Get delivery fees for sending a specific message to a destination. These always come in a specific asset, defined by the chain.

Arguments

  • message: The message that'll be sent, necessary because most delivery fees are based on the size of the message.
  • destination: The destination to send the message to. Different destinations may use different senders that charge different fees.