dispatch_as: TxDescriptor<
    {
        as_origin: Enum<
            {
                CumulusXcm: Enum<{ Relay: undefined; SiblingParachain: number }>;
                PolkadotXcm: XcmPalletOrigin;
                system: DispatchRawOrigin;
                Void: undefined;
            },
        >;
        call: TxCallData;
    },
>

Dispatches a function call with a provided origin.

The dispatch origin for this call must be Root.

  • O(1).