getInflightBundleStatuses RPC Method
Please note that this RPC method requires the Lil' JIT - JITO Bundles and transactions add-on enabled on your QuickNode endpoint.
Solana Web3.js 2.0 includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate QuickNode Marketplace add-ons into your applications. For more information on how to use QuickNode Marketplace add-ons with Solana Web3.js 2.0, check out these guides: How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 1) and How to Use QuickNode Add-ons using Solana Web3.js 2.0 (Part 2)
Parameters
bundleIds
array
REQUIRED
An array of bundle ids to confirm, as base-58 encoded strings (up to a maximum of 5)
Returns
context
object
The context object which contains the following fields:
slot
integer
The slot number at which the request was processed
value
array
If the bundle is found, an array of objects with the following fields:
bundle_id
string
The Bundle id
status
string
The available statuses are Invalid, Pending, Failed, Landed. The status is Invalid when the bundle ID is not found in the system (5-minute look back). It is Pending when the bundle has not failed, landed, or been marked invalid. The status is Failed when all regions have marked the bundle as failed and it hasn't been forwarded. The status is Landed when the bundle has successfully landed on-chain, verified through RPC or the bundles_landed table.
landed_slot
integer
The slot this bundle landed in, otherwise null if it is invalid
Request
1curl 'https://docs-demo.solana-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '4{5"jsonrpc": "2.0",6"id": 1,7"method": "getInflightBundleStatuses",8"params": [9[10"b31e5fae4923f345218403ac1ab242b46a72d4f2a38d131f474255ae88f1ec9a",11"e3c4d7933cf3210489b17307a14afbab2e4ae3c67c9e7157156f191f047aa6e8",12"a7abecabd9a165bc73fd92c809da4dc25474e1227e61339f02b35ce91c9965e2",13"e3934d2f81edbc161c2b8bb352523cc5f74d49e8d4db81b222c553de60a66514",14"2cd515429ae99487dfac24b170248f6929e4fd849aa7957cccc1daf75f666b54"15]16]17}18'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free