1.0.6 • Published 3 years ago
covalent-api v1.0.6
about
A WORK-IN-PROGRESS, DOES NOT WORK YET.
An ES6 Node module for interacting with the Covalent API. Use it in your Angular or React projects
installation
npm i covalent-api --save
Usage:
- import the module
- create a config with your api_key
- call functions with the corresponding parameters
- import the module
- create a config with your api_key
- call functions with the corresponding parameters
import { Covalent } from 'covalent-api';
...
ngOnInit(): void {
let config = { api_key: 'onemillionwallets' };
let cov = new Covalent(config);
cov.getTokenBalancesForAddress('1', '0x84ae5ee482a7a4470386555eed41645aaa62f574')
.then((res) => console.log(res));
}