know like in mintscan the tokens in a wallet in the past at a determined block ?
Yes, I will need to check the API endpoint to use
It is for the tax system... They want to know the value of the tokens when you want to convert in $
To see the assets in a certain wallet at a certain block number try this https://api.data.kava.io/bank/balances/KavaAddress?height=BlockNumber Eg. https://api.data.kava.io/bank/balances/kava1qvsus5qg8yhre7k2c78xkkw4nvqqgev7ezrja8?height=1041495
You can also query the token price at a particualr block number eg. For TWAP30 price of BNB at block 1336765 you would use: https://api.data.kava.io/pricefeed/price/bnb:usd:30?height=1336765 or for the spot price https://api.data.kava.io/pricefeed/price/bnb:usd?height=1336765
For the price too ! nice
Обсуждают сегодня