From 275f493d3414034fd19d734758da082cd5e930a5 Mon Sep 17 00:00:00 2001 From: IkerAlus <34474035+IkerAlus@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:29:58 +0200 Subject: [PATCH] Improve README.md - markdown typo - add "cross-chain" to liquid tokens --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e09e42b..2e4698d4 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,7 @@ If you would like to run an example to understand the output run: `yarn build:ex ### Liquid Pool Asset Transfers -Sending a liquidity token (from the poolAssets pallet) in Asset Hub is as simple as setting the option `transferLiquidToken` to true. That being said, it does have some nuances. A liquidity token transfer must be in the direction of a SystemToPara, and the inputted asset must be a valid integer as a string. The api will error if either of these conditions are not met. +Sending a liquidity token (from the poolAssets pallet) in Asset Hub is as simple as setting the option `transferLiquidToken` to true. That being said, it does have some nuances. A liquidity token cross-chain transfer must be in the direction of a SystemToPara, and the inputted asset must be a valid integer as a string. The api will error if either of these conditions are not met. An example would look like: ```typescript @@ -248,7 +248,7 @@ api.createTransferTransaction( If you would like to run an example to understand the output run: `yarn build:examples && node ./examples/build/examples/systemToParaLpToken.js` -#### **Local Transactions** +### Local Transactions Sending an Asset or Native token locally on a System Parachain is easy. In order to create a transaction, ensure the `destChainId` is the same as the ID of the System Parachain itself. Note, the only System parachains that are supported are `Kusama AssetHub`, `Polkadot AssetHub`, `Westend AssetHub` and as a side affect the only `destChainId` that is supported is `1000`. In addition to that, ensure the length of the `assetId's` array and `amounts` array are 1. As sending assets will only accept one asset at a time. Keep in mind `transfer`, and `transferKeepAlive` are the only supported calls.