This add-on bundles up multiple RPC calls into a single call so you don't have to iterate through blocks, transactions or receipts!
Single flight RPC implements retries in each request when needed, while allowing you to get the block and transaction information in only one call. It conforms to the RPC spec and fulfills block traces faster than calling the RPC directly. It supports returning all transactions in a block with a single call. Enjoy! The qn_getBlockWithReceipts and qn_getReceipts requests each cost 1 API credit, but they will make additional requests to your endpoint that have additional API credit values. Specifically, each qn_ method will make one eth_getBlockReceipts call (for blockchains that support that method) or X number of eth_getTransactionReceipt calls (for other blockchains), where X is the number of transactions in the block. In addition, qn_getBlockWithReceipts will make an additional call to eth_getBlockByNumber. For example, if you call qn_getReceipts on Ethereum Mainnet, you will be charged 1 credit for the qn_getblockwithreceipts call plus the credits for eth_getBlockReceipts (59 credits). Your total charge might look like: 1 + 59 = 60. If you call qn_getBlockWithReceipts on Arbitrum Nova Mainnet with a block that contains 50 transactions, then it will make one call to eth_getBlockByNumber (2 credits), one call to eth_getBlockReceipts (59 credits) plus 50 calls to eth_getTransactionReceipt (2 credits) coming out to 2 + 59 + 50*2 = 161.
With qn_getBlockWithReceipts you'll get a full block and every transaction with receipts in a single method call. With automatic retries and more.
Save time and compute by using a single method to collect all receipts in a block. Use qn_getBlockWithReceipts and qn_getReceipts!
Available for many different chains allowing you to get the most from your account.
This method returns the block and the transaction receipts attached to this block in a single call.https://www.quicknode.com/docs/ethereum/qn_getBlockWithReceipts
This method returns a receipt with retries if the call failshttps://www.quicknode.com/docs/ethereum/qn_getReceipts
arbitrum-mainnet and arbitrum-goerli
avalanche-mainnet and avalanche-testnet
bsc and bsc-testnet
mainnet and ethereum-goerli
optimism and optimism-goerli
matic and matic-testnet
Published: 6 months ago
Support email: firstname.lastname@example.org
Support website: https://support.quicknode.com/