Skip to content

Commit d191800

Browse files
committed
fix: transfgers
1 parent 1946b7b commit d191800

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

develop/interoperability/xcm-guides/from-apps/transfers.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ XcmV5Instruction.InitiateTransfer({
2121

2222
## Transfer Types
2323

24-
The `remote_fees` parameter only takes one asset. The `assets` parameter takes a list of many. Both need to specify which transfer type they're using. The developer needs to specify whether or not those assets are transferred via a [`Teleport`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.Teleport){target=\_blank}, a [`ReserveWithdraw`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveWithdraw){target=\_blank} or a [`ReserveDeposit`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveDeposit){target=\_blank}. These correspond to the types of cross-chain transfers.
24+
The `remote_fees` parameter only takes one asset, while `assets` can list multiple. Both must specify a **transfer type** — either:
25+
26+
- [**Teleport**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.Teleport){target=\_blank} – Moves assets by effectively "destroying" them on the source chain and "creating" them on the destination. Useful when both chains trust each other for that asset.
27+
- [**Reserve Deposit**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveDeposit){target=\_blank} – A reserve transfer where _your chain is the reserve_ for the asset. The asset stays locked on your chain, and a representation is minted on the destination.
28+
- [**Reserve Withdraw**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveWithdraw){target=\_blank} – A reserve transfer where _the destination chain is the reserve_. Assets are withdrawn from their reserve location and credited to the recipient.
29+
30+
These types come from the [`AssetTransferFilter`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html){target=\_blank} enum in XCM.
2531

2632
For example, to transfer 50 DOT via a teleport, the transfer type must be specified as a teleport. This also requires using an [Asset Filter](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetFilter.html){target=\_blank}.
2733

llms.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2569,7 +2569,13 @@ XcmV5Instruction.InitiateTransfer({
25692569

25702570
## Transfer Types
25712571

2572-
The `remote_fees` parameter only takes one asset. The `assets` parameter takes a list of many. Both need to specify which transfer type they're using. The developer needs to specify whether or not those assets are transferred via a [`Teleport`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.Teleport){target=\_blank}, a [`ReserveWithdraw`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveWithdraw){target=\_blank} or a [`ReserveDeposit`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveDeposit){target=\_blank}. These correspond to the types of cross-chain transfers.
2572+
The `remote_fees` parameter only takes one asset, while `assets` can list multiple. Both must specify a **transfer type** — either:
2573+
2574+
- [**Teleport**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.Teleport){target=\_blank} – Moves assets by effectively "destroying" them on the source chain and "creating" them on the destination. Useful when both chains trust each other for that asset.
2575+
- [**Reserve Deposit**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveDeposit){target=\_blank} – A reserve transfer where _your chain is the reserve_ for the asset. The asset stays locked on your chain, and a representation is minted on the destination.
2576+
- [**Reserve Withdraw**](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html#variant.ReserveWithdraw){target=\_blank} – A reserve transfer where _the destination chain is the reserve_. Assets are withdrawn from their reserve location and credited to the recipient.
2577+
2578+
These types come from the [`AssetTransferFilter`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetTransferFilter.html){target=\_blank} enum in XCM.
25732579

25742580
For example, to transfer 50 DOT via a teleport, the transfer type must be specified as a teleport. This also requires using an [Asset Filter](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v5/enum.AssetFilter.html){target=\_blank}.
25752581

0 commit comments

Comments
 (0)