{
  "openapi": "3.0.0",
  "info": {
    "title": "Tx Submit",
    "license": {
      "name": "Apache 2.0",
      "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
    },
    "version": "2.0.0"
  },
  "paths": {
    "/v2.0.0/tx-submit/health": {
      "$ref": "../Http/schema.json#/paths/Health"
    },
    "/v2.0.0/tx-submit/submit": {
      "post": {
        "summary": "submits given transaction",
        "operationId": "submitTx",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/txsubmit_submit_body"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "success operation",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "description": "invalid request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "txsubmit_submit_body": {
        "required": ["signedTransaction"],
        "type": "object",
        "properties": {
          "signedTransaction": {
            "type": "string",
            "description": "transaction hash represented as hex string"
          }
        }
      }
    }
  }
}
