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

# Submit Transaction

> API reference for POST /submit-transaction



## OpenAPI

````yaml resources/equities-submit-api/openapi.json POST /submit-transaction
openapi: 3.1.0
info:
  title: Equities Submit API
  description: Solana RPC endpoint for submitting equity direct fills
  version: 1.0.0
servers:
  - url: https://TODO-equities-host.dflow.net
security: []
paths:
  /submit-transaction:
    post:
      summary: >-
        Submits a signed transaction, like the Solana RPC sendTransaction
        method.
      description: >-
        Accepts the JSON-RPC `sendTransaction` method for a transaction missing
        exactly one signature, and returns its signature once the transaction is
        completed and submitted to Solana. See [Submitting Equity
        Transactions](/equities/submitting#direct-fill-submission).
      operationId: submit_transaction
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendTransactionRequest'
      responses:
        '200':
          description: >-
            A JSON-RPC response. Transaction errors arrive as a JSON-RPC `error`
            object in the HTTP 200, as on a Solana RPC.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendTransactionResponse'
        '403':
          description: >-
            The API key is missing, invalid, or not enabled for this endpoint,
            or access is denied.
        '429':
          description: >-
            The request exceeds a rate limit. The `retry-after` header gives the
            seconds to wait.
        '503':
          description: >-
            The endpoint is overloaded. The `retry-after` header gives the
            seconds to wait.
        '504':
          description: The outcome is unknown. Handle it as a `-32000` error.
      security:
        - apiKey: []
components:
  schemas:
    SendTransactionRequest:
      type: object
      required:
        - jsonrpc
        - method
        - params
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
        id:
          description: Any JSON value. Echoed in the response.
        method:
          type: string
          enum:
            - sendTransaction
        params:
          type: array
          description: The encoded transaction, then an optional configuration object
          minItems: 1
          maxItems: 2
          prefixItems:
            - type: string
              description: The transaction, signed by the user and encoded per `encoding`
            - $ref: '#/components/schemas/SendTransactionConfig'
    SendTransactionResponse:
      type: object
      required:
        - jsonrpc
        - id
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
        id:
          description: The request id, or null when the request id could not be read
        result:
          type: string
          description: >-
            Base58-encoded signature of the transaction. Not yet confirmed;
            track it onchain.
        error:
          $ref: '#/components/schemas/RpcError'
    RpcError:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
        message:
          type: string
        data:
          $ref: '#/components/schemas/RpcErrorData'
      description: >-
        `code` is `-32602`, `-32003`, `-32002`, or `-32000`. [Submit Endpoint
        Errors](/equities/submitting#submit-endpoint-errors) gives each meaning.
    RpcErrorData:
      type: object
      description: Present only on a `-32002` `Transaction rejected` error
      required:
        - reason
      properties:
        reason:
          type: string
          enum:
            - quote_expired
            - quote_unknown
            - quote_already_used
            - terms_mismatch
            - transaction_not_allowed
            - simulation_failed
            - declined
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````