[SOLVED] getTokenPrice endpoint doesn't contain decimals

Hi, getTokenPrice doesn’t send decimals of token when i ask price, nativePrice is only contain raw value.
But it seems like it should return decimals, btw it was working for me on Moralis v1 api. Am i doing something wrong?

Response

But if i try it by test api in documentation, it works fine

If i use response.raw it works fine. I solved
image image

1 Like