← Marketplace / Single Flight RPC

Single Flight RPC

by QuickNode

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.
Base - $19/month
  • Base - $19/month
  • Get blocks+ transactions in one request

    With qn_getBlockWithReceipts you'll get a full block and every transaction with receipts in a single method call. With automatic retries and more.

  • Two new RPC methods

    Save time and compute by using a single method to collect all receipts in a block. Use qn_getBlockWithReceipts and qn_getReceipts!

  • Multi-chain availability

    Available for many different chains allowing you to get the most from your account.

2 RPC Methods Included Chain & Network support
  • Arbitrum

    arbitrum-mainnet and arbitrum-goerli

  • Arbitrum Nova

    nova-mainnet

  • Avalanche

    avalanche-mainnet and avalanche-testnet

  • Base

    base-goerli

  • BNB Smart Chain

    bsc and bsc-testnet

  • Celo

    celo-mainnet

  • Ethereum logo
    Ethereum

    mainnet and ethereum-goerli

  • Fantom

    fantom

  • Gnosis

    xdai

  • Optimistic Ethereum

    optimism and optimism-goerli

  • Polygon / MATIC

    matic and matic-testnet

Add-on Information

Developer: QuickNode

Published: 9 months ago

Support email: support@quiknode.io

Support website: https://support.quicknode.com/