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

# Submit a client-signed transaction and wait for confirmation.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/{network}/submit
openapi: 3.0.0
info:
  title: LumenWipe API
  description: Programmatic close-out of Stellar accounts.
  version: 0.1.0
  contact: {}
servers:
  - url: https://api.lumenwipe.com
security: []
tags:
  - name: close
    description: Build and submit an account close-out
  - name: account
    description: Read account state and conversion paths
  - name: mediator
    description: Exchange-destination forwarding
  - name: health
    description: Service health
  - name: service
    description: Service index
  - name: admin
    description: Operator-only self-serve API key management
paths:
  /v1/{network}/submit:
    post:
      tags:
        - close
      summary: Submit a client-signed transaction and wait for confirmation.
      operationId: CloseController_submit
      parameters:
        - name: network
          required: true
          in: path
          schema:
            enum:
              - testnet
              - mainnet
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequestDto'
      responses:
        '200':
          description: 'Confirmed: returns the transaction hash and ledger.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponseDto'
        '400':
          description: Invalid or unsigned/undecodable transaction envelope.
        '401':
          description: Missing or invalid API key.
        '429':
          description: Rate limit exceeded for this key.
        '502':
          description: The network rejected the transaction.
        '504':
          description: The transaction did not confirm in time.
      security:
        - api-key: []
components:
  schemas:
    SubmitRequestDto:
      type: object
      properties:
        signedXdr:
          type: string
          description: Signed transaction envelope (base64 XDR) produced by the client.
          example: AAAAAgAAAAB...
      required:
        - signedXdr
    SubmitResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - success
          example: success
        hash:
          type: string
          description: The submitted transaction's hash.
          example: a1b2c3...d4e5f6
        ledger:
          type: number
          description: The ledger the transaction was included in.
          example: 123456
      required:
        - status
        - hash
        - ledger
  securitySchemes:
    api-key:
      scheme: bearer
      bearerFormat: opaque
      type: http
      description: Integrator API key

````

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