Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 344 Bytes

QUICK_START.md

File metadata and controls

17 lines (14 loc) · 344 Bytes

Quick start for Redstone API

Install npm module

npm install redstone-api

Fetch price for a single token

const redstone = require("redstone-api");

// Prints the latest price for AR token in USD
redstone.getPrice("AR").then((price) => {
  console.log(price.value);
});

Explore redstone api