dispatch_as: TxDescriptor<
    {
        as_origin: Enum<
            {
                Collective: Enum<
                    {
                        _Phantom: undefined;
                        Member: SS58String;
                        Members: FixedSizeArray<2, number>;
                    },
                >;
                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).