helius_get_bundle_statuses
Check the status of Jito bundles by providing bundle IDs and a Jito API URL.
Instructions
Get statuses of Jito bundles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bundleIds | Yes | ||
| jitoApiUrl | Yes |
Implementation Reference
- src/handlers/helius.ts:499-506 (handler)The actual handler function that executes the get bundle statuses logic. Calls helius.rpc.getBundleStatuses with bundleIds and jitoApiUrl input parameters.
export const getBundleStatusesHandler = async (input: GetBundleStatusesInput): Promise<ToolResultSchema> => { try { const statuses = await (helius as any as Helius).rpc.getBundleStatuses(input.bundleIds, input.jitoApiUrl); return createSuccessResponse(`Bundle statuses: ${JSON.stringify(statuses, null, 2)}`); } catch (error) { return createErrorResponse(`Error getting bundle statuses: ${error instanceof Error ? error.message : String(error)}`); } } - src/handlers/helius.types.ts:265-268 (schema)TypeScript type definition for the input schema of getBundleStatuses. Defines required fields: bundleIds (string array) and jitoApiUrl (string).
export type GetBundleStatusesInput = { bundleIds: string[]; jitoApiUrl: string; } - src/tools.ts:549-592 (registration)Registration of the handler in the handlers dictionary, mapping the tool name 'helius_get_bundle_statuses' to the function helius.getBundleStatusesHandler (imported as getBundleStatusesHandler at line 27).
export const handlers: handlerDictionary = { "helius_get_balance": getBalanceHandler, "helius_get_block_height": getBlockHeightHandler, "helius_get_token_accounts_by_owner": getTokenAccountsByOwnerHandler, "helius_get_token_supply": getTokenSupplyHandler, "helius_get_token_largest_accounts": getTokenLargestAccountsHandler, "helius_get_latest_blockhash": getLatestBlockhashHandler, "helius_get_token_account_balance": getTokenAccountBalanceHandler, "helius_get_slot": getSlotHandler, "helius_get_transaction": getTransactionHandler, // New handlers "helius_get_account_info": getAccountInfoHandler, "helius_get_program_accounts": getProgramAccountsHandler, "helius_get_signatures_for_address": getSignaturesForAddressHandler, "helius_get_minimum_balance_for_rent_exemption": getMinimumBalanceForRentExemptionHandler, "helius_get_multiple_accounts": getMultipleAccountsHandler, "helius_get_inflation_reward": getInflationRewardHandler, "helius_get_epoch_info": getEpochInfoHandler, "helius_get_epoch_schedule": getEpochScheduleHandler, "helius_get_leader_schedule": getLeaderScheduleHandler, "helius_get_recent_performance_samples": getRecentPerformanceSamplesHandler, "helius_get_version": getVersionHandler, // DAS Methods "helius_get_asset": helius.getAssetHandler, "helius_get_rwa_asset": helius.getRwaAssetHandler, "helius_get_asset_batch": helius.getAssetBatchHandler, "helius_get_asset_proof": helius.getAssetProofHandler, "helius_get_assets_by_group": helius.getAssetsByGroupHandler, "helius_get_assets_by_owner": helius.getAssetsByOwnerHandler, "helius_get_assets_by_creator": helius.getAssetsByCreatorHandler, "helius_get_assets_by_authority": helius.getAssetsByAuthorityHandler, "helius_search_assets": helius.searchAssetsHandler, "helius_get_signatures_for_asset": helius.getSignaturesForAssetHandler, "helius_get_nft_editions": helius.getNftEditionsHandler, "helius_get_token_accounts": helius.getTokenAccountsHandler, // Transaction and Fee Methods "helius_get_priority_fee_estimate": helius.getPriorityFeeEstimateHandler, "helius_poll_transaction_confirmation": helius.pollTransactionConfirmationHandler, "helius_send_jito_bundle": helius.sendJitoBundleHandler, "helius_get_bundle_statuses": helius.getBundleStatusesHandler, "helius_get_fee_for_message": getFeeForMessageHandler, "helius_execute_jupiter_swap": executeJupiterSwapHandler // "print_environment": printEnvironmentHandler, } - src/tools.ts:492-503 (registration)Tool definition/registration in the tools array. Includes name, description, and inputSchema for the tool.
{ name: 'helius_get_bundle_statuses', description: 'Get statuses of Jito bundles', inputSchema: { type: 'object', properties: { bundleIds: { type: 'array', items: { type: 'string' } }, jitoApiUrl: { type: 'string' } }, required: ['bundleIds', 'jitoApiUrl'] } },