Single Flight RPC icon

Single Flight RPC

by QuickNode
⭐️
Highly Rated
🔑
QuickNode Exclusive
17Supported chains 2RPC Methods 1Plan
Starting at $38.00
Single Flight RPC image 0 Single Flight RPC image 1
error icon

Additional credit usage.
Add-on may consume additional plan credits when used.

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.

The qngetBlockWithReceipts and qngetReceipts requests each cost the chain default (see the API credits pricing page for more details), however they will each make additional requests to your endpoint which will use additional API credits.

For blockchains that support ethgetBlockReceipts:

- The qn
getReceipts method will make 1 call
- The qngetBlockWithReceipts method will make 1 call

For blockchains that don’t support eth
getBlockReceipts:

- The qngetReceipts method will make X number of ethgetTransactionReceipt calls, where X is the number of transactions in the block.
- The qngetBlockWithReceipts method will make X number of ethgetTransactionReceipt calls, where X is the number of transactions in the block, and 1 additional call to ethgetBlockByNumber.

Examples:

If method qn
getReceipts is called on Ethereum Mainnet, you will be charged 20 credit for the qngetblockwithreceipts call, plus 20 credits for ethgetBlockReceipts.

Total credits used: 20 + 20 = 40.

If method qngetBlockWithReceipts is called on Fantom Mainnet with a block that contains 50 transactions, you will be charged 20 credit for qngetBlockWithReceipts, 20 credits for ethgetBlockByNumber, plus an additional 1000 credits for ethgetTransactionReceipts (50 calls * 20 credits).

Total credits used: 20 + 20 + (20*50) = 1040

RPC Methods

qn_getBlockWithReceipts
qn_getReceipts

Supported Chains

Avalanche
Celo
Optimistic Ethereum
Polygon
Arbitrum
Gnosis
Fantom
Ethereum logo
Ethereum
Arbitrum Nova
BNB Smart Chain
zkSync
Scroll
Blast
Berachain
Base
Polygon zkEVM
TRON

Published on Sep 20, 2022

Support Website Support Email

Plans & features

Pro - $38/month
  • Pro - $38/month
Enterprise Sales
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.