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 ea67718 commit d61d611
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 @@ -41,7 +41,7 @@ To create a forum post on the [Moonbeam Community Forum](https://forum.moonbeam.

An asset's `relativePrice` refers to a `u128` value that indicates how many units of said asset (in its smallest denomination) equate to one unit**—i.e., `1 × 10^18 Wei`—of the native token (GLMR or MOVR). This helps determine how much of your asset to use for fees initially quoted in the native token, particularly in cross-chain messaging (XCM).

You can use the following script (also available as part of [XCM-tools](https://github.com/Moonsong-Labs/xcm-tools){target=\_blank} ) to calculate the correct `relativePrice` value for your asset.
You can use the following script (also available as part of [xcm-tools](https://github.com/Moonsong-Labs/xcm-tools){target=\_blank} ) to calculate the correct `relativePrice` value for your asset.

??? code "Calculate Relative Price"
```typescript
Expand Down

0 comments on commit d61d611

Please sign in to comment.