Skip to main content
Glama

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
NameRequiredDescriptionDefault
serializedTransactionsYes
jitoApiUrlYes

Implementation Reference

  • 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)}`);
      }
    }
  • 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,
  • TypeScript type definition for the input parameters used by the handler.
    export type SendJitoBundleInput = {
      serializedTransactions: 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