Skip to content

Commit

Permalink
Update builders/interoperability/xcm/xc-registration/assets.md
Browse files Browse the repository at this point in the history
Co-authored-by: Erin Shaben <[email protected]>
  • Loading branch information
themacexpert and eshaben authored Feb 11, 2025
1 parent d61d611 commit ae90244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builders/interoperability/xcm/xc-registration/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ If you've already used the [xcm-asset-registrator script](https://github.com/Moo

Using the above information, you can generate the encoded call data for the `addAsset` call either via the Polkadot API or on [Polkadot.js Apps](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fwss.api.moonbeam.network#/extrinsics){target=\_blank}.

To create a batch transaction that combines both the `xcmWeightTrader.addAsset` and the `evmForeignAssets.createForeignAsset` calls together, you can use the [Polkadot API's Batch Method](/builders/substrate/libraries/polkadot-js-api/#batching-transactions){target=\_blank}. As mentioned previously, the [XCM Asset Registrator](https://github.com/Moonsong-Labs/xcm-tools/blob/main/scripts/xcm-asset-registrator.ts){target=\_blank} script can help you build and submit the required calls.
To create a batch transaction that combines both the `xcmWeightTrader.addAsset` and the `evmForeignAssets.createForeignAsset` calls together, you can use the [Polkadot API's `batch` method](/builders/substrate/libraries/polkadot-js-api/#batching-transactions){target=\_blank}. As mentioned previously, the [XCM asset registrator script](https://github.com/Moonsong-Labs/xcm-tools/blob/main/scripts/xcm-asset-registrator.ts){target=\_blank} can help you build and submit the required calls.

### Submit the Preimage and Proposal for Asset Registration {: #submit-preimage-proposal }

Expand Down

0 comments on commit ae90244

Please sign in to comment.