Skip to main content
Glama

helius_get_bundle_statuses

Retrieve statuses of Jito bundles using the Helius API on the Solana blockchain. Input bundle IDs and Jito API URL to monitor transaction progress and ensure accurate status updates.

Instructions

Get statuses of Jito bundles

Input Schema

NameRequiredDescriptionDefault
bundleIdsYes
jitoApiUrlYes

Input Schema (JSON Schema)

{ "properties": { "bundleIds": { "items": { "type": "string" }, "type": "array" }, "jitoApiUrl": { "type": "string" } }, "required": [ "bundleIds", "jitoApiUrl" ], "type": "object" }

Implementation Reference

  • The core handler function that executes the tool logic by calling the Helius RPC method getBundleStatuses with the input bundleIds and jitoApiUrl, then formats and returns the response.
    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)}`); } }
  • Tool definition including the name, description, and input schema used for MCP tool registration and validation.
    { 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'] }
  • src/tools.ts:588-588 (registration)
    Registration of the tool name to its handler function in the handlers dictionary.
    "helius_get_bundle_statuses": helius.getBundleStatusesHandler,
  • TypeScript type definition for the input parameters, used in the handler signature for type checking.
    export type GetBundleStatusesInput = { bundleIds: string[]; jitoApiUrl: string; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dcSpark/mcp-server-helius'

If you have feedback or need assistance with the MCP directory API, please join our Discord server