query
query method is used to initialise a limestone query
const price = await limestone.query()
.symbol("AR")
.latest()
.exec();
console.log(price.value); // latest price value for AR token (in USD)
console.log(price.timestamp); // the exact timestamp of the price
Last modified 2yr ago