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

# Submit signed transaction to Stellar blockchain

> **System Function**: Submits a pre-signed DeFindex transaction to the Stellar blockchain network.
    
This endpoint allows users to submit transaction XDRs that have been prepared by other DeFindex endpoints and signed by the user. The service handles transaction submission and provides gas-free transaction processing for valid DeFindex operations.



## OpenAPI

````yaml POST /send
openapi: 3.0.0
info:
  title: DeFindex API
  description: API documentation for DeFindex endpoints
  version: 1.0.0
  contact: {}
  x-logo:
    url: https://links.paltalabs.io/defindex-full.svg
    backgroundColor: '#0e0e0e'
    altText: DeFindex Logo
    href: https://defindex.io
servers: []
security: []
tags: []
paths:
  /send:
    post:
      tags:
        - Stellar
      summary: Submit signed transaction to Stellar blockchain
      description: >-
        **System Function**: Submits a pre-signed DeFindex transaction to the
        Stellar blockchain network.
            
        This endpoint allows users to submit transaction XDRs that have been
        prepared by other DeFindex endpoints and signed by the user. The service
        handles transaction submission and provides gas-free transaction
        processing for valid DeFindex operations.
      operationId: StellarController_sendTransaction
      parameters:
        - name: network
          required: true
          in: query
          description: Stellar network to submit transaction to (testnet or mainnet)
          schema:
            enum:
              - testnet
              - mainnet
            type: string
      requestBody:
        required: true
        description: Signed transaction data ready for blockchain submission.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SendXdrDto'
            examples:
              Submit signed transaction:
                value:
                  xdr: AAAAAgAAAAC7VYzjqMryr...
      responses:
        '200':
          description: Transaction successfully submitted to the blockchain
          content:
            application/json:
              schema:
                type: object
                properties:
                  txHash:
                    type: string
                    description: Transaction hash
                  success:
                    type: boolean
                    description: Whether the transaction succeeded
                  result:
                    type: object
                    nullable: true
                    description: Parsed contract return value
                    properties:
                      type:
                        type: string
                        description: >-
                          Result type (e.g. vault_deposit, vault_withdraw,
                          vault_create, unknown)
                      value:
                        description: Parsed return value
                  ledger:
                    type: number
                    description: Ledger number where transaction was included
                  createdAt:
                    type: string
                    description: Transaction creation timestamp (ISO 8601)
                  latestLedger:
                    type: number
                    description: Latest known ledger number
                  latestLedgerCloseTime:
                    type: string
                    description: Latest ledger close time
                  feeBump:
                    type: boolean
                    description: Whether fee bump was applied
                  feeCharged:
                    type: string
                    description: Fee charged in stroops
        '400':
          description: Bad request - invalid transaction XDR or signature
        '401':
          description: Unauthorized - valid JWT token required
components:
  schemas:
    SendXdrDto:
      type: object
      properties:
        xdr:
          type: string
          description: The signed transaction in XDR format
      required:
        - xdr

````

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