Skip to content
/ blockus Public

Get current Ethereum/EVM chains block information in your terminal

Notifications You must be signed in to change notification settings

peyha/blockus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockus

Print Ethereum block info in real-time on your terminal

#---------------------------------------------------------------------------------#
#System info:---------------------------------------------------------------------#
#---Timestamp: 1707578930---------------------------------------------------------#
#---------------------------------------------------------------------------------#
#Block info:----------------------------------------------------------------------#
#---Block timestamp: 1707578928---------------------------------------------------#
#---Block number: 5259539---------------------------------------------------------#
#---Block hash: 0xb03a68b5ef86ce3416d30ee21d674335b7936c6b0a1b5857638733bb7baae355#
#---Block validator: 0x670b24610df99b1685aeac0dfd5307b92e0cf4d7-------------------#
#---Block size: 228 kb------------------------------------------------------------#
#---------------------------------------------------------------------------------#
#Txs info:------------------------------------------------------------------------#
#---Tx nb: 133--------------------------------------------------------------------#
#---transfer: 53, deployment: 0, execution: 80, blob: 0---------------------------#
#---------------------------------------------------------------------------------#
#Gas info:------------------------------------------------------------------------#
#---Gas target: 15.0M, Gas total usage 12.9M--------------------------------------#
#---Gas objective -13.70% from target, 43.15% of maximum--------------------------#
#---Base fee will decrease--------------------------------------------------------#
#---Gas usage: min=21.0K, max=6.0M, avg=253.8K------------------------------------#
#---Gas price: min=2.31 Gwei, max=55.13 Gwei, avg=18.49 Gwei----------------------#
#---Base fee: 2.31 gwei-----------------------------------------------------------#
#---Priority fee: min=0.00 Gwei, max=52.82 Gwei, avg 16.18 gwei-------------------#
#---------------------------------------------------------------------------------#
#Blob info:-----------------------------------------------------------------------#
#---Blob gas used: 0--------------------------------------------------------------#
#---Excess blob gas: 80.2M--------------------------------------------------------#
#---Blob gas target: 393.2K, Blob gas total usage 0, Blob excess gas 80.2M--------#
#---Blob gas objective -100.00% from target, 0.00% of maximum---------------------#
#---Blob base fee will decrease---------------------------------------------------#
#---------------------------------------------------------------------------------#

Step to run

Install Rust

here

Build project

cargo build 

Run in terminal

You can either use the default RPC provider

cargo run

or use your favorite one

cargo run -- --rpc-url <RPC_LINK>

To-do

  • Add other chains (op)
  • Doxx address (builder, ...)

Enjoy

Feel free to contribute

About

Get current Ethereum/EVM chains block information in your terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages