{"library":"etherscan-api","type":"library","category":null,"description":"This library provides a promise-based client for interacting with the Etherscan.io API, as well as several other blockchain explorers like Arbiscan and Snowtrace. It simplifies fetching blockchain data such as account balances, transaction details, and contract information, abstracting away direct HTTP requests. The current stable version is 10.3.0. The project currently indicates that development has started on a \"NEXTGEN\" version, suggesting future significant changes or a new major release is anticipated. It offers flexibility by allowing users to provide their own Axios instance for custom request configurations, and supports various Ethereum testnets and L2 networks beyond just Etherscan's mainnet, distinguishing it by its multi-chain support and configurable HTTP client.","language":"javascript","status":"active","version":"10.3.0","tags":["javascript","arbiscan","ethereum","EtherScan.io","etherscan","blockchain","api","transaction","rest"],"last_verified":"Wed May 27","install":[{"cmd":"npm install etherscan-api","imports":["import { init } from 'etherscan-api';\n// For CommonJS:\nconst { init } = require('etherscan-api');","import { pickChainUrl } from 'etherscan-api';\n// For CommonJS:\nconst { pickChainUrl } = require('etherscan-api');","import { init } from 'etherscan-api';\nconst api = init('YOUR_API_KEY', 'homestead');"]},{"cmd":"yarn add etherscan-api","imports":[]},{"cmd":"pnpm add etherscan-api","imports":[]}],"homepage":null,"github":"https://github.com/sebs/etherscan-api","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/etherscan-api","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/etherscan-api/compatibility"}}