File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
A way to access the [ etherscan.io api] ( https://etherscan.io/apis ) using promises. Fetch a diverse set of information about the blockchain
6
6
7
-
8
- Livenet
7
+ Mainnet
9
8
10
9
``` javascript
11
10
var api = require (' etherscan-api' ).init (' YourApiKey' );
@@ -15,6 +14,7 @@ balance.then(function(balanceData){
15
14
});
16
15
```
17
16
17
+
18
18
## For testnet usage
19
19
20
20
Supported:
@@ -29,21 +29,19 @@ Latest
29
29
var api = require (' etherscan-api' ).init (' YourApiKey' ,' rinkeby' );
30
30
```
31
31
32
- Old Default
33
-
34
- ``` javascript
35
- var api = require (' etherscan-api' ).init (' YourApiKey' ,' testnet' );
36
- ```
37
32
38
33
## Install
39
34
40
35
``` bash
41
36
npm install etherscan-api --save
42
37
```
43
- ## Api
38
+
39
+
40
+ ## API Documentation
44
41
45
42
[ Full Api Docs] ( https://sebs.github.io/etherscan-api/ )
46
43
44
+
47
45
## Development workflow
48
46
49
47
* npm test - runs tests
You can’t perform that action at this time.
0 commit comments