Usage

Limestone api usage

First, you need to import limestone module

// Using Node.js `require()`
const limestone = require('limestone-api');

Then you can fetch the prices with just a single line of code

const price = await limestone.getPrice("AR");

console.log(price.value); // latest price value for AR token (in USD)
console.log(price.timestamp); // the exact timestamp of the price

See more examples in the documentation of the following methods:

You can also check out docs for the limestone fluent interface, which makes the price fetching even simpler thanks to human readable syntax.

Last updated