Blocks info#
Retrieves detailed information from a specified Sonic block, including transactions, receipts, and block metadata. These methods enable in-depth analysis of block details, transaction volume, and execution results.
eth_blockNumber: Returns the latest block number.
eth_getBlockByHash: Fetches block details using its hash.
eth_getBlockByHash#full: Retrieves a complete block, including all transactions.
eth_getBlockByNumber: Obtains block details by number.
eth_getBlockByNumber#full: Fetches a full block with transaction data.
eth_newBlockFilter: Creates a filter to monitor new blocks.
eth_getBlockReceipts: Retrieves transaction receipts for a block.
eth_getBlockTransactionCountByHash: Returns the number of transactions in a block by hash.
eth_getBlockTransactionCountByNumber: Gets the transaction count in a block by number.
These methods are essential for monitoring and analyzing blockchain activity on Sonic.