@sekmet/covalentjs
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • 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.

import covalentJs from '@sekmet/covalentjs';

const covalentjs = require('@sekmet/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 @sekmet/covalentjs

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

17.4 kB

Total Files

57

Last publish

Collaborators

  • sekmet