pub fn reserve_transfer_assets<T: Config>(
    dest: Box<VersionedLocation>,
    beneficiary: Box<VersionedLocation>,
    assets: Box<VersionedAssets>,
    fee_asset_item: u32,
)Expand description
Transfer some assets from the local chain to the destination chain through their local, destination or remote reserve.
assets must have same reserve location and may not be teleportable to dest.
assetshave local reserve: transfer assets to sovereign account of destination chain and forward a notification XCM todestto mint and deposit reserve-based assets tobeneficiary.assetshave destination reserve: burn local assets and forward a notification todestchain to withdraw the reserve assets from this chain’s sovereign account and deposit them tobeneficiary.assetshave remote reserve: burn local assets, forward XCM to reserve chain to move reserves from this chain’s SA todestchain’s SA, and forward another XCM todestto mint and deposit reserve-based assets tobeneficiary.
This function is deprecated: Use limited_reserve_transfer_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 theassetsand 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 ofdest. Will generally be anAccountId32value.assets: The assets to be withdrawn. This should include the assets used to pay the fee on thedest(and possibly reserve) chains.fee_asset_item: The index intoassetsof the item which should be used to pay fees.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::reserve_transfer_assets.