Type Alias query_acceptable_payment_assets

query_acceptable_payment_assets: RuntimeDescriptor<[xcm_version: number], ResultPayload<Enum<{
    V3: XcmV3MultiassetAssetId;
    V4: {
        interior: XcmV3Junctions;
        parents: number;
    };
    V5: {
        interior: Enum<{
            Here: undefined;
            X1: Enum<{
                AccountId32: {
                    id: ...;
                    network?: ...;
                };
                AccountIndex64: {
                    index: ...;
                    network?: ...;
                };
                AccountKey20: {
                    key: ...;
                    network?: ...;
                };
                GeneralIndex: bigint;
                GeneralKey: {
                    data: ...;
                    length: ...;
                };
                GlobalConsensus: Enum<(...)>;
                OnlyChild: undefined;
                PalletInstance: number;
                Parachain: number;
                Plurality: {
                    id: ...;
                    part: ...;
                };
            }>;
            X2: FixedSizeArray<2, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X3: FixedSizeArray<3, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X4: FixedSizeArray<4, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X5: FixedSizeArray<5, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X6: FixedSizeArray<6, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X7: FixedSizeArray<7, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
            X8: FixedSizeArray<8, Enum<{
                AccountId32: ...;
                AccountIndex64: ...;
                AccountKey20: ...;
                GeneralIndex: ...;
                GeneralKey: ...;
                GlobalConsensus: ...;
                OnlyChild: ...;
                PalletInstance: ...;
                Parachain: ...;
                Plurality: ...;
            }>>;
        }>;
        parents: number;
    };
}>[], Enum<{
    AssetNotFound: undefined;
    UnhandledXcmVersion: undefined;
    Unimplemented: undefined;
    Unroutable: undefined;
    VersionedConversionFailed: undefined;
    WeightNotComputable: undefined;
}>>>

Returns a list of acceptable payment assets.

Arguments

  • xcm_version: Version.