ViNo-community/vite-node-bot

Add !price <tti> to lookup current price of a token

Closed this issue · 1 comments

Would be cool to have a command to query live price data of a token. For example:

v!price VITE
0.1018736548345868

Use https://vitex.vite.net/api/v1/exchange-rate?tokenSymbols= to grab price data

Works. Example:

vtest!price tti_f9bd6782f966f899d74d7df8
Price of Banano [tti_f9bd6782f966f899d74d7df8] is $0.0185440556735495