📄️ debug_traceCall
In this section, we will discuss how we can use Bitquery APIs as an alternative to the debugtraceCall JSON RPC method, which runs an ethcall within the context of the given block execution using the final state of parent block as the base.
📄️ debug_traceTransaction
debug_traceTransaction is a JSON RPC method that returns tracing results for the specified transaction. In this section, we are looking for a way to build an alternative for the same using Bitquery API.
📄️ eth_getBalance
Ethereum getBalance is an API endpoint that retrieves the balance for a particular address for any given currency on the Ethereum blockchain. In this section we will see how to create queries that serves as an alternative for the eth_getBalance JSON RPC method and
📄️ eth_blockNumber
In this section, we will discuus the eth_blockNumber API endpoint that returns the latest block number of the blockchain.
📄️ eth_gasPrice
In this section, we will build a data stream that returns the gas fee of the latest transaction in WEI. Unlike any JSON RPC method like eht_gasPrice that returns the hexadecimal equivalent of an integer representing the current gas price in WEI, this returns the integer value itself.
📄️ eth_getBlockReceipts
In this section we will build an API that serves as an alternative to the eth_getBlockReceipts JSON RPC method that takes Block Number as an input and returns all transaction receipts for the given block.
📄️ eth_getCode
In this section we will build a query that serves as an alternative to the eth_getCode JSON RPC method. However unlike the method that requires two arameters, namely address and block number, this API only needs an address.
📄️ eth_getLogs
In this section, we will see how we can use Bitquery APIs as an alternative to the eth_getLogs JSON RPC method and return an array of Logs object matching the filter object(*optional).
📄️ eth_getTransactionByHash
In this section we will discuss how we can build eth_getTransactionByHash alternatives using Bitquery APIs.
📄️ eth_getTransactionReceipt
In this section, we will build an alternative to the eth_getTransactionReceipt JSON RPC method using the Bitquery APIs. The method is used to provide the receipt of a transaction given transaction hash. Note that the receipt is not available for pending transactions.
📄️ eth_subscribe
Ethereum Subscription API allows developers to build websockets that receive real-time notifications about the Ethereum blockchain. In this section we will see how to create subscription for each eth_subscribe JSON RPC method and how to customize it to get data we need.