> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lpagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Jito Block Engine sendBundle (with landing confirmation)

> JSON-RPC 2.0 endpoint that submits a bundle to the Jito Block Engine and waits for it to land.
Internally calls `sendJitoBundle`, which simulates the bundle, sends it to
`https://<region>.mainnet.block-engine.jito.wtf/api/v1/bundles`, polls signature status until the
first transaction is confirmed (up to ~30s), and retries on failure.

Spec reference: https://docs.jito.wtf/lowlatencytxnsend/#sendbundle

Notes:
- On success the response is HTTP 200 with a `result` object. On failure the response is HTTP 400 with a JSON-RPC `error` envelope.
- Bundle size is capped at 5 transactions (Jito limit).
- Transactions must already include a tip instruction; this endpoint does NOT inject tips.
- Transactions must be fully signed (all required signatures present) before submission. Unsigned bundles return HTTP 400 with JSON-RPC INVALID_PARAMS and `data.unsignedIndices` listing the offending positions.
- This endpoint blocks until the bundle lands or polling/retries are exhausted.




## OpenAPI

````yaml /api-reference/openapi.json post /jito
openapi: 3.0.0
info:
  title: LP Agent Open API
  version: 1.0.0
  description: |+
    Public API for LP Agent

    **Authentication**

    All endpoints require an API key passed via the `x-api-key` header.

servers:
  - url: https://api.lpagent.io/open-api/v1
    description: Production
security:
  - apiKeyAuth: []
tags: []
paths:
  /jito:
    post:
      tags:
        - RPC
      summary: Jito Block Engine sendBundle (with landing confirmation)
      description: >
        JSON-RPC 2.0 endpoint that submits a bundle to the Jito Block Engine and
        waits for it to land.

        Internally calls `sendJitoBundle`, which simulates the bundle, sends it
        to

        `https://<region>.mainnet.block-engine.jito.wtf/api/v1/bundles`, polls
        signature status until the

        first transaction is confirmed (up to ~30s), and retries on failure.


        Spec reference: https://docs.jito.wtf/lowlatencytxnsend/#sendbundle


        Notes:

        - On success the response is HTTP 200 with a `result` object. On failure
        the response is HTTP 400 with a JSON-RPC `error` envelope.

        - Bundle size is capped at 5 transactions (Jito limit).

        - Transactions must already include a tip instruction; this endpoint
        does NOT inject tips.

        - Transactions must be fully signed (all required signatures present)
        before submission. Unsigned bundles return HTTP 400 with JSON-RPC
        INVALID_PARAMS and `data.unsignedIndices` listing the offending
        positions.

        - This endpoint blocks until the bundle lands or polling/retries are
        exhausted.
      parameters:
        - in: query
          name: region
          required: false
          schema:
            type: string
            enum:
              - mainnet
              - amsterdam
              - frankfurt
              - ny
              - tokyo
            default: mainnet
          description: Jito block engine region
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - method
                - params
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                id:
                  description: Request id, echoed back in the response
                  oneOf:
                    - type: number
                    - type: string
                method:
                  type: string
                  enum:
                    - sendBundle
                params:
                  type: array
                  minItems: 1
                  maxItems: 2
                  description: >-
                    [transactions[] (1-5 base58/base64 encoded txs), options? ({
                    encoding: 'base58' | 'base64' })]
                  items: {}
      responses:
        '200':
          description: >-
            Success — JSON-RPC envelope with `result` set to the bundle landing
            details.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  id:
                    oneOf:
                      - type: number
                      - type: string
                  result:
                    type: object
                    description: Bundle landing details
                    properties:
                      bundleId:
                        type: string
                        description: Jito bundle id (UUID)
                      signature:
                        type: string
                        description: >-
                          Base58 signature of the first transaction in the
                          bundle
        '400':
          description: >-
            Validation, simulation, or upstream failure — JSON-RPC envelope with
            the `error` field populated. Unsigned-bundle errors include
            `error.data.unsignedIndices`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    example: '2.0'
                  id:
                    oneOf:
                      - type: number
                      - type: string
                  error:
                    type: object
                    properties:
                      code:
                        type: integer
                      message:
                        type: string
                      data:
                        description: >-
                          Optional structured details (e.g. unsignedIndices:
                          number[])
                        nullable: true
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````