Skip to content

Commit

Permalink
Merge branch 'v3-docs' of github.com:moonbeam-foundation/xcm-sdk into…
Browse files Browse the repository at this point in the history
… v3-docs
  • Loading branch information
mmaurello committed Jan 14, 2025
2 parents 926eebd + e626beb commit e7b1ee7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mkdocs/docs/example-usage/mrl.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ In this guide, we'll show you first how to build the transfer data if you alread

### Simple Example {: #build-mrl-transfer-data-simple }
<!-- TODO mjm mrl, assets, getTransferData reference -->
<!-- TODO mjm avoid `we` -->
In this example, we want to transfer USDC from Ethereum to Hydration. So to get the transfer data, we'll need to set the source, and destination chains, and the asset. First we'll need to instantiate the SDK, by calling the [`Mrl`](./reference/methods.md#initialize-the-sdk) function and then calling the `setAsset`, `setSource`, and `setDestination` functions.
You can optionally pass in the ecosystem to the `Mrl` function, but in this example, we know the route we want to use, so there is no need to pass in the ecosystem.

Expand Down

0 comments on commit e7b1ee7

Please sign in to comment.