Package Exports
- etherscan-label-scraper
- etherscan-label-scraper/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (etherscan-label-scraper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
etherscan-label-scraper
Retrieve the etherscan label for a specific ethereum address. No API keys required! Its unfortunate that Etherscan won't provide API access to this information.
Installation
npm install etherscan-label-scraperUsage
async function f() {
let addressScraper = await import('etherscan-label-scraper');
addressScraper = addressScraper.default();
const address = '0x829bd824b016326a401d083b33d092293333a830';
console.log(await addressScraper.requestEtherscan(address));
// { fullLabel: 'F2Pool Old' }
}
f();Running the tests
npm testLicense
MIT