covalentjs

0.0.3 • Public • Published

covalentjs

node.js bindings for covalenthq.com

usage

Get covalent api key from https://www.covalenthq.com

Set environment variable API_KEY. Set DEBUG=covalentjs environment variable to debug requests.

const covalentjs = require('covalentjs');

// you can use classA, classB or pricing APIs
// format covalentjs.<API class>.api
// Example:
const result = await covalentjs.classA.getTokenBalancesForAddress(1, '0x4004AFc68dd8B5483bBaB82C84b81181fCB545B1', { nft: true });

API refrence

Go to https://www.covalenthq.com/docs/api/

Package Sidebar

Install

npm i covalentjs

Weekly Downloads

44

Version

0.0.3

License

MIT

Unpacked Size

16.9 kB

Total Files

54

Last publish

Collaborators

  • premiurly