Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
0xcert Etherium blockchain scanner.
0xcert Ethereum blockchain parser.
This is an open source package for NodeJS written with TypeScript. It allows for scraping of the Ethereum blockchain for 0xcert protocol related contracts and transactions.
This package is actively maintained, well tested and already used in production environments. The source code is available on GitHub where you can also find our issue tracker.
Run the command below to install the package.
npm install --save web3 @0xcert/ethereum-scanner
This package uses promises thus you need to use Promise polyfill when promises are not supported.
Initialize the Web3 provider.
import * as Web3 from 'web3';
const web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'));
Load and parse data of a particular block.
import { Scanner } from '@0xcert/ethereum-scanner';
const blockNumber = 2996066;
const scanner = new Scanner(web3);
await scanner.parse(blockNumber); // => { transactions: [...], contracts: [...]}
Scanner(web3)
Main class which allows for parsing the Ethereum blockchain.
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| web3 | Web3 | Yes | - | Instance of a Web3 provider. |
NOTICE: The scanner class extends is a RawModel class and thus exposes all related helper methods.
Scanner.prototype.parse(block): Promise(JSON)
Populates the scanner with block data and then returns serialized scanner data.
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| block | Integer | Yes | - | Block number. |
Scanner.prototype.populateByBlock(block): Promise(Scanner)
Loads and parses transactions and new contracts of a particular block on the Ethereum blockchain.
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
| block | Integer | Yes | - | Block number. |
Copyright (c) 2018 0xcert admin@0xcert.org.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.3.3Registry latest | 22 Jun 2018 | 10 | |
| 0.3.2 | 19 Jun 2018 | 10 | |
| 0.3.1 | 18 Jun 2018 | 10 | |
| 0.3.0 | 18 Jun 2018 | 10 | |
| 0.2.6 | 8 May 2018 | 10 | |
| 0.2.5 | 7 May 2018 | 10 | |
| 0.2.4 | 3 May 2018 | 10 | |
| 0.2.3 | 20 Apr 2018 | 10 | |
| 0.2.2 | 20 Apr 2018 | 10 | |
| 0.2.1 | 19 Apr 2018 | 10 | |
| 0.2.0 | 19 Apr 2018 | 10 | |
| 0.1.9 | 19 Apr 2018 | 10 | |
| 0.1.8 | 18 Apr 2018 | 10 | |
| 0.1.7 | 12 Apr 2018 | 10 | |
| 0.1.6 | 12 Apr 2018 | 10 | |
| 0.1.5 | 12 Apr 2018 | 10 | |
| 0.1.4 | 12 Apr 2018 | 10 | |
| 0.1.3 | 12 Apr 2018 | 10 | |
| 0.1.2 | 11 Apr 2018 | 10 | |
| 0.1.1 | 11 Apr 2018 | 10 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 22:48 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:0478adcf83ff87d9f646aa559e03d9a9b28464571f86e74f2aab0f1e2bae3ed6