Skip to content

Commit

Permalink
adding value for native asset in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisom2912 committed Jan 23, 2024
1 parent 80e0606 commit ee153b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const main = async () => {
main();
```

:::note
In case you want source / destination token to be native token, then the following value should be used for token address - 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
:::

:::info
Important Note:
To play around with the API, you can use the Partner ID given in the example above. But for use in any product/protocol, you will be assigned a unique Partner ID. To get your Partner ID, please contact us on [Telegram](https://t.me/Add_ith).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ const main = async () => {
main()
```

:::note
In case you want source / destination token to be native token, then the following value should be used for token address - 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
:::

:::info
Important Note:
To play around with the API, you can use the Partner ID given in the example above. But for use in any product/protocol, you will be assigned a unique Partner ID. To get your Partner ID, please contact us on [Telegram](https://t.me/Add_ith).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,9 @@ document.getElementById("widget__iframe").src = `${baseUrl}?${paramString}`;
```

:::note
To integrate the widget on your UI, you will be assigned a unique partner ID. To get your partner ID, please contact us on [Telegram](https://t.me/Add_ith).
:::

:::note
You can use [Nitro's Widget Builder Tool](https://nitro.routerprotocol.com/widget) to automatically generate the widget paramaters.
1. You can use [Nitro's Widget Builder Tool](https://nitro.routerprotocol.com/widget) to automatically generate the widget paramaters.
2. In case you want source / destination token to be native token, then the following value should be used for token address - 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE
3. To integrate the widget on your UI, you will be assigned a unique partner ID. To get your partner ID, please contact us on [Telegram](https://t.me/Add_ith).
:::

```jsx
Expand Down

0 comments on commit ee153b4

Please sign in to comment.