All chains
    Preparing search index...

    Type Alias teleport_assets

    teleport_assets: TxDescriptor<
        {
            assets: XcmVersionedAssets;
            beneficiary: XcmVersionedLocation;
            dest: XcmVersionedLocation;
            fee_asset_item: number;
        },
    >

    Teleport some assets from the local chain to some destination chain.

    This function is deprecated: Use limited_teleport_assets instead.

    Fee payment on the destination side is made from the asset in the assets vector of index fee_asset_item. The weight limit for fees is not provided and thus is unlimited, with all fees taken as needed from the asset.

    • origin: Must be capable of withdrawing the assets and executing XCM.
    • dest: Destination context for the assets. Will typically be [Parent, Parachain(..)] to send from parachain to parachain, or [Parachain(..)] to send from relay to parachain.
    • beneficiary: A beneficiary location for the assets in the context of dest. Will generally be an AccountId32 value.
    • assets: The assets to be withdrawn. This should include the assets used to pay the fee on the dest chain.
    • fee_asset_item: The index into assets of the item which should be used to pay fees.