
Security News
NIST Under Federal Audit for NVD Processing Backlog and Delays
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
etherscanner
Advanced tools
Receive all the ethereum transactions that have been included in the block, including 'internal' transactions
Module for parse ethereum transactions or block and get from them all Eth transfers (normal and "internal")
To work the module need this correction - https://github.com/ethereum/go-ethereum/pull/15297. So you must use geth version 1.7.3 or higher
npm install etherscanner
const EtherScanner = require('etherscanner');
const Web3 = require('web3');
let web3Provider = new Web3.providers.HttpProvider(`http://localhost:6082`);
// or if web3 initialized before
let web3Provider = web3.currentProvider;
let etherScanner = EtherScanner(web3Provider);
etherScanner.scanTransaction('0xc475f8bf9d2721b17f7c09944c2aa32ea943f452cb54ee0aefcb98ead0735274', (err, result) => {
console.log(result);
});
result:
[{
"hash": "0xc475f8bf9d2721b17f7c09944c2aa32ea943f452cb54ee0aefcb98ead0735274",
"from": "0x1617d6e2dca84fec5c17f37d4141d2c4ec5c6d05",
"to": "0xd1a2511bc222f38f463c62c9254faf7b710835e4",
"value": 10000000000000000,
"blockNumber": 1818075,
"blockHash": "0x402a1df2fe61dcc83bec29c1202938e2fd739d97e614dbab351561dc04b01cd3",
"isInternal": false,
"type": ""
}, {
"hash": "0xc475f8bf9d2721b17f7c09944c2aa32ea943f452cb54ee0aefcb98ead0735274",
"from": "0xd1a2511bc222f38f463c62c9254faf7b710835e4",
"to": "0x1617d6e2dca84fec5c17f37d4141d2c4ec5c6d05",
"value": 12468329110548072,
"blockNumber": 1818075,
"blockHash": "0x402a1df2fe61dcc83bec29c1202938e2fd739d97e614dbab351561dc04b01cd3",
"isInternal": true,
"type": "CALL"
}]
type - "" || CALL || CREATION || SELFDESTRUCT
etherScanner.scanBlock(1822433, (err, result) => {
console.log(result);
});
FAQs
Receive all the ethereum transactions that have been included in the block, including 'internal' transactions
The npm package etherscanner receives a total of 4 weekly downloads. As such, etherscanner popularity was classified as not popular.
We found that etherscanner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.
Security News
TypeScript Native Previews offers a 10x faster Go-based compiler, now available on npm for public testing with early editor and language support.