How can I get the current price of an asset with its ID. Need it for a DApp

Consider to look here: