dispatch_as: TxDescriptor<{
    as_origin: Enum<{
        Origins: WestendRuntimeGovernanceOriginsPalletCustomOriginsOrigin;
        ParachainsOrigin: ParachainsOrigin;
        system: DispatchRawOrigin;
        Void: undefined;
        XcmPallet: Enum<{
            Response: {
                interior: Enum<{
                    Here: undefined;
                    X1: Enum<{
                        AccountId32: ...;
                        AccountIndex64: ...;
                        AccountKey20: ...;
                        GeneralIndex: ...;
                        GeneralKey: ...;
                        GlobalConsensus: ...;
                        OnlyChild: ...;
                        PalletInstance: ...;
                        Parachain: ...;
                        Plurality: ...;
                    }>;
                    X2: FixedSizeArray<2, Enum<(...)>>;
                    X3: FixedSizeArray<3, Enum<(...)>>;
                    X4: FixedSizeArray<4, Enum<(...)>>;
                    X5: FixedSizeArray<5, Enum<(...)>>;
                    X6: FixedSizeArray<6, Enum<(...)>>;
                    X7: FixedSizeArray<7, Enum<(...)>>;
                    X8: FixedSizeArray<8, Enum<(...)>>;
                }>;
                parents: number;
            };
            Xcm: {
                interior: Enum<{
                    Here: undefined;
                    X1: Enum<{
                        AccountId32: ...;
                        AccountIndex64: ...;
                        AccountKey20: ...;
                        GeneralIndex: ...;
                        GeneralKey: ...;
                        GlobalConsensus: ...;
                        OnlyChild: ...;
                        PalletInstance: ...;
                        Parachain: ...;
                        Plurality: ...;
                    }>;
                    X2: FixedSizeArray<2, Enum<(...)>>;
                    X3: FixedSizeArray<3, Enum<(...)>>;
                    X4: FixedSizeArray<4, Enum<(...)>>;
                    X5: FixedSizeArray<5, Enum<(...)>>;
                    X6: FixedSizeArray<6, Enum<(...)>>;
                    X7: FixedSizeArray<7, Enum<(...)>>;
                    X8: FixedSizeArray<8, Enum<(...)>>;
                }>;
                parents: number;
            };
        }>;
    }>;
    call: TxCallData;
}>

Dispatches a function call with a provided origin.

The dispatch origin for this call must be Root.

  • O(1).