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

# Send a transaction

> One fully signed transaction that tips one of the tip accounts at least the minimum tip (0.0001 SOL), as raw bytes or as JSON with base64. The body is at most 16 KiB.



## OpenAPI

````yaml /api-reference/openapi.yaml post /v1/transactions
openapi: 3.1.0
info:
  title: Tracefall Sender
  version: 1.0.0
  description: >-
    The endpoints of Tracefall Sender: JSON-RPC (`POST /`, also served at Jito's
    paths `POST /api/v1/transactions` and `POST /api/v1/bundles`) and the REST
    endpoints. The WebSocket (`GET /v1/ws`) is described in the Sending guide. A
    key is optional: with none, a request is admitted at the keyless rate for
    its client address. Pass a key in `Authorization: Bearer <key>`, `x-api-key`
    or `?api-key=`. A request body is at most 16 KiB, or 64 KiB for a bundle or
    a JSON-RPC batch. Every HTTP answer to a send, status lookup (`GET
    /v1/transactions/{signature}`), or tip-floor read (`GET /v1/tip-floor`)
    carries the rate headers `x-ratelimit-limit` and `x-ratelimit-remaining`
    (and `retry-after` on a 429), and CORS lets a web page on any origin read
    them.
servers:
  - url: https://sender.tracefall.xyz
    description: Frankfurt
security: []
tags:
  - name: JSON-RPC
  - name: Sending
  - name: Tips
  - name: Status
paths:
  /v1/transactions:
    post:
      tags:
        - Sending
      summary: Send a transaction
      description: >-
        One fully signed transaction that tips one of the tip accounts at least
        the minimum tip (0.0001 SOL), as raw bytes or as JSON with base64. The
        body is at most 16 KiB.
      operationId: sendTransaction
      parameters:
        - $ref: '#/components/parameters/ApiKeyHeader'
        - $ref: '#/components/parameters/ApiKeyQuery'
        - $ref: '#/components/parameters/BundleOnly'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TransactionRequest'
            example:
              transaction: <base64 transaction>
              bundleOnly: false
          application/octet-stream:
            schema:
              type: string
              format: binary
              description: The signed transaction's raw bytes.
      responses:
        '200':
          description: Taken, and on its way. It has not landed yet.
          headers:
            x-ratelimit-limit:
              $ref: '#/components/headers/RateLimit'
            x-ratelimit-remaining:
              $ref: '#/components/headers/RateRemaining'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResult'
              example:
                signature: >-
                  5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
                status: accepted
        '400':
          $ref: '#/components/responses/Refused'
        '401':
          $ref: '#/components/responses/Refused'
        '403':
          $ref: '#/components/responses/Refused'
        '413':
          $ref: '#/components/responses/Refused'
        '429':
          $ref: '#/components/responses/Refused'
        '503':
          $ref: '#/components/responses/Refused'
components:
  parameters:
    ApiKeyHeader:
      name: x-api-key
      in: header
      required: false
      description: >-
        Your key, if you have one: `tfs_` followed by 48 hex characters.
        `Authorization: Bearer <key>` works the same. Leave it out to send
        keyless.
      schema:
        type: string
    ApiKeyQuery:
      name: api-key
      in: query
      required: false
      description: >-
        Your key in the URL, for clients that can set only a URL. Prefer a
        header.
      schema:
        type: string
    BundleOnly:
      name: bundle-only
      in: query
      required: false
      description: >-
        Send the transaction only inside bundles, never as a plain copy. Both
        `bundle-only` and `bundleOnly` are accepted as query aliases and must be
        `true` or `false` verbatim; any other value, a repeated parameter, or a
        conflict between them or with the JSON body's `bundleOnly` is refused
        with `bad_request`. Overrides your key's default when present.
      schema:
        type: boolean
        default: false
  schemas:
    TransactionRequest:
      type: object
      required:
        - transaction
      properties:
        transaction:
          type: string
          description: >-
            The signed transaction, base64. At most 1,232 bytes, or 4,096 for
            v1, before encoding.
        bundleOnly:
          type: boolean
          default: false
          description: Send it only inside bundles, never as a plain copy.
    SendResult:
      type: object
      required:
        - signature
        - status
      properties:
        signature:
          type: string
          description: The transaction's first signature, base58.
        status:
          type: string
          enum:
            - accepted
            - duplicate
          description: >-
            `duplicate` when we already took this signature. Neither means it
            landed.
    Error:
      type: object
      required:
        - error
      properties:
        signature:
          type: string
          description: The transaction's first signature, base58, when we could read one.
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              $ref: '#/components/schemas/ErrorCode'
            message:
              type: string
              description: For people. It may change; match on `code`.
            memberIndex:
              type: integer
              minimum: 0
              maximum: 3
              description: >-
                Zero-based index of the offending transaction in a bundle
                refusal, when one member failed.
    ErrorCode:
      type: string
      enum:
        - unauthorized
        - unavailable
        - paused
        - rate_limited
        - too_large
        - not_a_transaction
        - bad_signature
        - bad_request
        - tip_missing
        - tip_too_small
        - tip_in_lookup_table
        - tip_account_retired
        - bundle_too_large
        - nonce_not_bundled
        - bundle_unavailable
        - not_found
  headers:
    RateLimit:
      description: >-
        Your rate, in sends a second. Omitted on refusals before rate checks
        (401, 403, 503 while starting).
      schema:
        type: integer
    RateRemaining:
      description: >-
        What is left of your rate now. Omitted on refusals before rate checks
        (401, 403, 503 while starting).
      schema:
        type: integer
    RetryAfter:
      description: On a 429, how long to wait, in seconds.
      schema:
        type: integer
  responses:
    Refused:
      description: Refused. `error.code` names why; see the Errors guide.
      headers:
        x-ratelimit-limit:
          $ref: '#/components/headers/RateLimit'
        x-ratelimit-remaining:
          $ref: '#/components/headers/RateRemaining'
        retry-after:
          $ref: '#/components/headers/RetryAfter'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            signature: >-
              5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQUW
            error:
              code: tip_too_small
              message: >-
                the tip is 50,000 lamports; the minimum is 100,000 lamports
                (0.0001 SOL)

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.