File tree Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +66
-0
lines changed
Original file line number Diff line number Diff line change
1
+ @microftech65 /
2
+ node-etherscan-api
3
+ Insights
4
+ Etherscan API for Node.js
5
+ ethereum
6
+ etherscan
7
+ etherscan-api
8
+ api
9
+ nodejs
10
+ ether
11
+ blockchain
12
+ MIT
13
+ @microftech65
14
+ danakt Merge pull request #3 from danakt/dependabot/npm_and_yarn/handlebars-… …
15
+ Latest commit
16
+ Latest commit message Commit time
17
+ docs Update API reference for new parameters logic
18
+ src Throwing an error with null result years
19
+ tests Update parameters logic
20
+ .eslintrc Remove rest typescript signs
21
+ .gitignore Ignore yarn-error.log to ignore
22
+ .npmignore Update npmignore
23
+ .travis.yml Add .travis.yml file
24
+ LICENSE.md Add License
25
+ README.md Update readme
26
+ index.d.ts Update parameters logic
27
+ package.json v0.1.3 6
28
+ yarn.lock Bump handlebars from 4.1.2 to 4.5.3 22
29
+ README.md
30
+ Node.js Etherscan API
31
+ npm Travis branch
32
+
33
+ Node.js package to interact with official Etherscan API
34
+
35
+ Documentation
36
+ API reference
37
+
38
+ The API reference was generated by JSDoc. If you use Typescript, you can use the more detailed reference found in the type declaration file
39
+
40
+ Install
41
+ $ npm install node-etherscan-api
42
+ Usage
43
+ const Etherscan = require('node-etherscan-api')
44
+
45
+ // Replace the value below with the your Etherscan token
46
+ const TOKEN_API = 'YourApiKeyToken'
47
+
48
+ // Creating the Etherscan instance
49
+ const etherscan = new Etherscan(TOKEN_API)
50
+
51
+ // Creating a request for account balance in Ether (default returns in Wei)
52
+ etherscan
53
+ .getAccountBalance('0x52bc44d5378309EE2abF1539BF71dE1b7d7bE3b5bae', 'eth')
54
+ .then(balance => {
55
+ // Working with the balance here
56
+ console.log(balance)
57
+ })
58
+ .catch(err => {
59
+ // Handle error here
60
+ console.error(err)
61
+ })
62
+ License
63
+ The MIT License (MIT)
64
+
65
+ Copyright © 2018- 2045 QDRBTCPSJBDC MICROCHIP SMART CONTRACT.™
66
+ All Rights Reserved.
You can’t perform that action at this time.
0 commit comments