Whether you are a developer, project, or blockchain user, learn how to migrate from other explorers to Blockscout
Why Switch to Blockscout?
Blockscout Features
API Differences
module=account
Blockscout | Etherscan | Purpose | |
---|---|---|---|
action=eth_get_balance | ✅ | ❌ | Mimics Ethereum JSON RPC’s eth_getBalance |
action=balance | ✅ | ✅ | Get Ether Balance for Single Address |
action=balancemulti | ✅ | ✅ | Get Ether Balance for Multiple Addresses |
action=pendingtxlist | ✅ | ❌ | Get Pending Transactions by Address |
action=txlist | ✅ | ✅ | Get Normal Transactions by Address |
action=txlistinternal | ✅ | ✅ | Get Internal Transactions by Address |
action=tokentx | ✅ | ✅ | Get ERC20 Token Transfers |
action=tokennfttx | ✅ | ✅ | Get ERC721 Token Transfers |
action=token1155tx | ✅ | ✅ | Get ERC1155 Token Transfers |
action=token404tx | ✅ | ❌ | Get ERC-404 token transfer events by address |
action=tokenbalance | ✅ | ❌ | Get Token Balance for Address |
action=tokenlist | ✅ | ❌ | Get list of tokens owned by address |
action=getminedblocks | ✅ | ✅ | Get list of blocks mined by address |
action=listaccounts | ✅ | ❌ | Get a list of accounts and their balances |
action=txsBeaconWithdrawal | ❌ | ✅ | Get Beacon Chain Withdrawals by Address and Block Range |
action=balancehistory | ❌ | ✅ (PRO) | Get Historical Ether Balance for an Address By BlockNo |
module=contract
Blockscout | Etherscan | Purpose | |
---|---|---|---|
action=listcontracts | ✅ | ❌ | Get list of any deployed contract |
action=getabi | ✅ | ✅ | Get Contract ABI for verified contracts |
action=getsourcecode | ✅ | ✅ | Get contract source code for a verified contract |
action=getcontractcreation | ✅ | ❌ | Get contract creator address hash and creation transaction hash |
action=verify | ✅ | ❌ | Verify Contract with Source Code |
action=verifysourcecode | ✅ | ✅ | Verify Contract with JSON file |
action=checkverifystatus | ✅ | ✅ | Check Verification Status |
action=verifyproxycontract | ✅ | ✅ | Get Internal Transactions by Address |
action=checkproxyverification | ✅ | ✅ | Get ERC20 Token Transfers |
action=verify_via_scourcify | ✅ | ❌ | Verify a contract through |
Sourcify | |||
action=verify_vyper_contract | ✅ | ❌ | Verify a Vyper contract |
module=transaction
Blockscout | Etherscan | Purpose | |
---|---|---|---|
action=gettxinfo | ✅ | ❌ | Get Transaction info including block number, sender, gas, +++ |
action=gettxreceiptstatus | ✅ | ✅ | Get Transaction Receipt Status |
action=getstatus | ✅ | ✅ | Get Transaction Execution Status |
Blockscout | Etherscan | Purpose | |
---|---|---|---|
action=getblockreward | ✅ | ✅ | Get Block Rewards |
action=getblockcountdown | ✅ | ✅ | Get Block Countdown |
action=getblocknobytime | ✅ | ✅ | Get Block Number by Time |
action=eth_block_number | ✅ | ❌ | Mimics Ethereum JSON RPC’s eth_blockNumber. |
action=dailyavgblocksize | ❌ | ✅ (PRO) | Get Daily Average Block Size |
action=dailyblkcount | ❌ | ✅ (PRO) | Get Daily Block Count and Rewards |
action=dailyblockrewards | ❌ | ✅ (PRO) | Get Daily Block Rewards |
action=dailyavgblocktime | ❌ | ✅ (PRO) | Get Daily Average Time for A Block to be Included in the chain |
action=dailyuncleblkcount | ❌ | ✅ (PRO) | Get Daily Uncle Block Count and Rewards |
module=token
module=stats
and module=account
.Blockscout | Etherscan | Purpose | |
---|---|---|---|
action=getToken | ✅ | ❌ | Get Token Information |
action=getTokenHolders | ✅ | ❌ | Get Token Holders |
action=bridgedtokenlist | ✅ | ❌ | Get Bridged Tokens |
action=tokenholderlist | ❌ | ✅ (PRO) | Get Token Holders |
action=tokenholdercount | ❌ | ✅ (PRO) | Number of ERC20 token holders |
action=tokeninfo | ❌ | ✅ (PRO) | Token project info |
module=logs
action=getLogs
- Get Event Logs by Address/Topics/Block Rangemodule=proxy
to retrieve standard Ethereum JSON-RPC methods.For Blockscout, send requests to https://explorer.optimism.io/api/eth-rpc
The following methods are supported:module=stats
Blockscout | Etherscan | Purpose | |
---|---|---|---|
tokensupply | ✅ | ✅ | Get Token Information |
ethsupplyexchange | ✅ | ❌ | total supply in Wei from exchange |
ethsupply | ✅ | ✅ | Get total supply in Wei from DB |
ethsupply2 | ❌ | ✅ | Get amount of Ether in circulation, ETH2 Staking rewards, EIP1559 burnt fees, and total withdrawn ETH from the beacon chain |
coinsupply | ✅ | ❌ | Get total coin supply from DB minus burnt number |
ethprice | ✅ | ✅ | Get latest price of native coin in USD and BTC |
coinprice | ✅ | ❌ | Get latest price of native coin in USD and BTC in more general format |
totalfees | ✅ | ❌ | Get total transaction fees in Wei paid by users to validators per day |
chainsize | ❌ | ✅ | Get the size of the Ethereum blockchain, in bytes, over a date range. |
nodecount | ❌ | ✅ (PRO) | Get total number of discoverable Ethereum nodes |
dailytxnfee | ❌ | ✅ (PRO) | Get Daily Network Transaction Fee |
dailynewaddress | ❌ | ✅ (PRO) | Get Daily New Address Count |
dailynetutilization | ❌ | ✅ (PRO) | Get Daily Network Utilization |
dailyavghashrate | ❌ | ✅ (PRO) | Get Daily Average Network Hash Rate |
dailytx | ❌ | ✅ (PRO) | Get Daily Transaction Count |
dailyavgnetdifficulty | ❌ | ✅ (PRO) | Get Daily Average Network Difficulty |
ethdailyprice | ❌ | ✅ (PRO) | Get Ether Historical Price |
module=gastracker
)action=gasoracle
- Get Gas Oracleaction=gasestimate
- Get Gas EstimateBlockscout / Etherscan Feature Differences