API Reference

Get/ Txn Bundle

Returns the bundle id and transaction hash for the provided signed transaction.

OpenAPI definition

{
  "openapi": "3.1.0",
  "info": {
    "title": "swap",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.carbium.io/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-KEY"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/swap/bundle": {
      "get": {
        "summary": "Get/ Txn Bundle",
        "description": "Returns the bundle id and transaction hash for the provided signed transaction.",
        "operationId": "get-txn-bundle",
        "parameters": [
          {
            "name": "signedTransaction",
            "in": "query",
            "required": true,
            "description": "Base64 encoded signed transaction",
            "schema": {
              "type": "string",
              "default": ""
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}