Use Moralis API for getting token prices in smart contract

I found the Moralis API that gets token prices. Is it possible to use it in a smart contract to retrieve the price of a token as well?

it is possible if you use an oracle (chainlink for example) or another similar method to send it as parameter to a smart contract function when needed.

1 Like