helius_send_jito_bundle
Send bundled transactions to Jito for processing on the Solana blockchain using the Helius API.
Instructions
Send a bundle of transactions to Jito
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serializedTransactions | Yes | ||
| jitoApiUrl | Yes |
Implementation Reference
- src/handlers/helius.ts:490-497 (handler)The main handler function that executes the tool logic by calling the Helius RPC method to send a Jito bundle.export const sendJitoBundleHandler = async (input: SendJitoBundleInput): Promise<ToolResultSchema> => { try { const bundleId = await (helius as any as Helius).rpc.sendJitoBundle(input.serializedTransactions, input.jitoApiUrl); return createSuccessResponse(`Jito bundle sent: ${bundleId}`); } catch (error) { return createErrorResponse(`Error sending Jito bundle: ${error instanceof Error ? error.message : String(error)}`); } }
- src/tools.ts:480-491 (schema)Input schema definition for the helius_send_jito_bundle tool, specifying serializedTransactions and jitoApiUrl.{ name: 'helius_send_jito_bundle', description: 'Send a bundle of transactions to Jito', inputSchema: { type: 'object', properties: { serializedTransactions: { type: 'array', items: { type: 'string' } }, jitoApiUrl: { type: 'string' } }, required: ['serializedTransactions', 'jitoApiUrl'] } },
- src/tools.ts:587-587 (registration)Registration of the sendJitoBundleHandler in the global handlers dictionary."helius_send_jito_bundle": helius.sendJitoBundleHandler,
- src/handlers/helius.types.ts:260-263 (schema)TypeScript type definition for the input parameters used by the handler.export type SendJitoBundleInput = { serializedTransactions: string[]; jitoApiUrl: string; }