Use Oracle Feeds
Contract Address
Contract Methods
// Get the price of the currency_id.
// Returns the (price, timestamp)
function getPrice(address token) public view returns (uint256, uint256);Try it on Playground



Last updated
Was this helpful?