i was looking for this for a long time. but i am having trouble to be able to change the chart to another one . e.g the defualt chart is btc/usd . how can i be able to change the chart within the widget .
@MoralisWeb3Ай бұрын
Hey, Thanks for trying it out! You should be able to configure the widget in the same page by modifying settings such as the pair address & chain. As an alternative, you should also be able to go to any token page and click on the embed chart button you see on the chart, which will let you embed that chart.
@CommonVista100Ай бұрын
@@MoralisWeb3 i want to embde it such that users are still able to search for other tokens and select from the dropdown list. the deafault mode rn doesnt have any tokens uploaded. and the other tutorial the cart is not as prefessional as this one
@MoralisWeb3Ай бұрын
Hey, so what you could do is let users paste their token address, and with that you should be able to get all pairs for it (using our pairs api) and then you could refresh the chart embed with the new pair info
@CommonVista100Ай бұрын
@@MoralisWeb3 thats a great idea. thanks. is there a way to search for token pairs using token name instead of using pair addresses only or that functionality doesnt exist in moralis