eth-contract-search
v1.0.1
Published
Web scrapping of https://etherscan.io/contractsVerified to find ethereum contracts
Downloads
5
Maintainers
Readme
eth-contract-search
List and query verified Ethereum smart contracts based on etherscan.io
Installation
$ npm install eth-contract-search
Usage
Find a contract name DAO
let ethContractSearch = require('eth-contract-search')
let results = await ethContractSearch.query('DAO')
Return:
{
"data": [
{
"address": "0x00000000000",
"name": "MyContract",
"compiler": "v0.4.21",
"balance": "1 Ether",
"txCount": "500",
"verificationDate": "4/19/2018"
}
],
"pagination": {
"next": "2",
"last": "502"
}
}
Using pagination:
let resultsOnSecondPage = await ethContractSearch.query('DAO', 2)
Licence
MIT