0.0.3 • Published 3 years ago

covalentjs v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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/

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago