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

# sendTransaction

> Submit a single signed transaction via JSON-RPC 2.0.

The relay extracts the tip amount from transaction instructions (zero-copy, no full deserialization)
and routes through QUIC TPU, RPC, SWQoS, and/or Jito based on the tip tier.

Transactions with tips below **0.0001 SOL** (100,000 lamports) are rejected with error code `-32003`.




## OpenAPI

````yaml openapi-spec/solana-rpc-send-transaction.yaml post /
openapi: 3.0.3
info:
  title: Raze Solana RPC — sendTransaction
  description: >
    Submit a single signed Solana transaction via JSON-RPC. The relay extracts
    the tip amount

    and routes the transaction through the appropriate channels.


    Transactions must include a tip transfer to a configured tip wallet.


    **Tip-based routing:**

    | Tip | Channels |

    |-----|----------|

    | < 0.0001 SOL | Rejected |

    | 0.0001 – 0.001 SOL | QUIC TPU |

    | 0.001 – 0.01 SOL | QUIC TPU + RPC |

    | ≥ 0.01 SOL | QUIC TPU + RPC + SWQoS + Jito |


    For lower latency, you can also submit transactions via QUIC or UDP — see
    [Protocols](/api-reference/solana-rpc/protocols).
  version: 1.0.0
servers:
  - url: https://rpc.raze.bot
    description: Raze global RPC edge — GeoDNS routes to the nearest region automatically
security: []
paths:
  /:
    post:
      summary: sendTransaction
      description: >
        Submit a single signed transaction via JSON-RPC 2.0.


        The relay extracts the tip amount from transaction instructions
        (zero-copy, no full deserialization)

        and routes through QUIC TPU, RPC, SWQoS, and/or Jito based on the tip
        tier.


        Transactions with tips below **0.0001 SOL** (100,000 lamports) are
        rejected with error code `-32003`.
      operationId: sendTransaction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendTransactionRequest'
            examples:
              base64:
                summary: Base64 encoded transaction
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: sendTransaction
                  params:
                    - 4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWWM3svRaFk...
                    - encoding: base64
              base58:
                summary: Base58 encoded transaction
                value:
                  jsonrpc: '2.0'
                  id: 1
                  method: sendTransaction
                  params:
                    - 5KtPn1LGuxhFiwjxqLHpBCa6xjnB7YaB1pPB263DezXAZ...
                    - encoding: base58
      responses:
        '200':
          description: >
            JSON-RPC response. Check for `result` (success) or `error`
            (failure).


            **Success** returns the transaction signature.
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/SuccessResponse'
                  - $ref: '#/components/schemas/ErrorResponse'
              examples:
                success:
                  summary: Transaction accepted
                  value:
                    jsonrpc: '2.0'
                    result: >-
                      5KtPn1LGuxhFiwjxqLHpBCa6xjnB7YaB1pPB263DezXAZ8z7PnrnRJjz3wXBo...
                    id: 1
                rejected:
                  summary: Tip too low
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32003
                      message: tip below minimum (0.0001 SOL)
                    id: 1
                invalidParams:
                  summary: Invalid params
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32602
                      message: missing or malformed transaction
                    id: 1
                parseError:
                  summary: Parse error
                  value:
                    jsonrpc: '2.0'
                    error:
                      code: -32700
                      message: invalid JSON
                    id: 1
        '400':
          description: Malformed request (not valid JSON-RPC)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SendTransactionRequest:
      type: object
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
          description: JSON-RPC version
          example: '2.0'
        id:
          oneOf:
            - type: integer
            - type: string
          description: Request ID
          example: 1
        method:
          type: string
          enum:
            - sendTransaction
          description: JSON-RPC method name
          example: sendTransaction
        params:
          type: array
          description: >
            `[transaction, options?]`

            - `transaction` (string) — Base64 or base58 encoded signed
            transaction

            - `options` (object, optional) — `{ "encoding": "base64" | "base58"
            }` (default: base64)
          items: {}
          example:
            - 4hXTCkRzt9WyecNzV1XPgCDfGAZzQKNxLXgynz5QDuWWM3svRaFk...
            - encoding: base64
      required:
        - jsonrpc
        - method
        - params
    SuccessResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          example: '2.0'
        result:
          type: string
          description: Transaction signature
          example: 5KtPn1LGuxhFiwjxqLHpBCa6xjnB7YaB1pPB263DezXAZ8z7PnrnRJjz3wXBo...
        id:
          oneOf:
            - type: integer
            - type: string
          example: 1
      required:
        - jsonrpc
        - result
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: |
                Error codes:
                - `-32700` — Parse error (invalid JSON)
                - `-32602` — Invalid params (missing or malformed transaction)
                - `-32003` — Transaction rejected (tip below minimum 0.0001 SOL)
            message:
              type: string
          required:
            - code
            - message
        id:
          oneOf:
            - type: integer
            - type: string
          example: 1
      required:
        - jsonrpc
        - error

````