{
  "openapi": "3.1.0",
  "info": {
    "title": "SourceLess Chain — Heidrun read-only REST API",
    "version": "1.5.1",
    "description": "A read-only REST/JSON view over a SourceLess node's public chain reads, for external platforms that do not speak the JSON-RPC envelope. Every amount, height and nonce is a decimal STRING, not a JSON number, because a bigint past 2^53 loses precision as a number. No route submits, mutates or computes; the API is GET and HEAD only."
  },
  "servers": [
    {
      "url": "https://api.xplstr.org",
      "description": "the public read API of SourceLess Asgard. No key is needed."
    },
    {
      "url": "{scheme}://{node}",
      "description": "a SourceLess node of your own running Heidrun",
      "variables": {
        "scheme": {
          "default": "http",
          "enum": [
            "http",
            "https"
          ],
          "description": "http on loopback only; any other bind is refused without TLS"
        },
        "node": {
          "default": "127.0.0.1:8086",
          "description": "the host and port Heidrun is bound to"
        }
      }
    }
  ],
  "paths": {
    "/v1/status": {
      "get": {
        "summary": "chain id, height, head hash, pending count, the depth line and whether a write reaches the network",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/parameters": {
      "get": {
        "summary": "the consensus parameters actually in force, governed values included",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/genesis": {
      "get": {
        "summary": "the genesis hash, the genesis chain id, and the two chain bindings a signature must carry",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/block/height/{height}": {
      "get": {
        "summary": "one block, whole, by its height. 404 past the head",
        "parameters": [
          {
            "name": "height",
            "in": "path",
            "required": true,
            "description": "a block height",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/block/hash/{hash}": {
      "get": {
        "summary": "one block, whole, by its hash: 64 hex characters, upper case read as lower. 400 for a hash that is not one, 404 when this node holds no such block",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "description": "a block hash, 64 hex digits",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/blocks": {
      "get": {
        "summary": "a bounded run of blocks from a height, with nextHeight to page from. count defaults to 20 and at most 50 blocks come back whatever it asks for; zero or below is a 400",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "required": false,
            "description": "the first height. 0 when empty",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "description": "how many blocks. 20 when empty",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tx/{id}": {
      "get": {
        "summary": "a transaction status: queued, settled, final, diverged, abandoned or honestly unknown. unknown is NOT rejected and is served 200. Every /v1/tx/{id} route takes 64 hex characters, upper case read as lower, and answers 400 for anything else without looking it up",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "a transaction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tx/{id}/status": {
      "get": {
        "summary": "one node's reading of where a transaction has got to: unknown, dropped (this node no longer expects it in a block), seen by this node (in its queue), in block h at depth d of the depth the chain's rule asks for, or deep: at least that depth, which this chain treats as settled (by depth, not by signatures). Carries the payment state a wallet shows (seen, included, N blocks deep or safe for value) with what it does and does not promise. Labelled with which archive follower answered and its head height. By transaction id only; 503 on a door that is not reading from archive followers",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "a transaction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tx/{id}/proof": {
      "get": {
        "summary": "a merkle proof that a transaction is in a block, with the header root to check it against. 404 when no block this node holds carries it",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "a transaction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/address/{address}/balance": {
      "get": {
        "summary": "all seven ledgers for one address, the rule each imposes, and the settled and next nonce",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "an address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/address/{address}/nonce": {
      "get": {
        "summary": "the settled nonce, the next nonce a signature must carry, and how many are in flight",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "an address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/address/{address}/history": {
      "get": {
        "summary": "transfers touching an address, newest first; ?depth bounds the scan and reachedGenesis says whether it covered the whole chain",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "an address",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "depth",
            "in": "query",
            "required": false,
            "description": "how many blocks to look back through",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/address/{address}/domain": {
      "get": {
        "summary": "the proved STR.domain an address holds, or null",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "an address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/domain/{name}": {
      "get": {
        "summary": "the whole standing of a name: available, booked, held, in burn cooldown. A string that is not an STR.domain is answered 200 with standing invalid and the reason, because this is the route a typed search asks",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "a STR.domain",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/domain/{name}/holder": {
      "get": {
        "summary": "who holds an STR.domain, allocated or proved, or null. 400 for a name that is not an STR.domain",
        "parameters": [
          {
            "name": "name",
            "in": "path",
            "required": true,
            "description": "a STR.domain",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/wnft/{id}": {
      "get": {
        "summary": "a wNFT as the chain holds it: entries, versions, slaves and the lock. 404 when unknown",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "a wNFT id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/contract/{address}": {
      "get": {
        "summary": "the callable ABI of a deployed contract. 404 when no contract is deployed there; 400 for an address that is not one",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "a contract address",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/contract/{address}/storage": {
      "get": {
        "summary": "a page of a contract's storage slots in key byte order, after the key cursor `after`; at most 512 slots and 1 MiB, and the answer says which cap it hit and the cursor to ask from next",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "a contract address",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "the storage key to go on from",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "how many slots, at most 512",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/contract/{address}/events": {
      "get": {
        "summary": "a page of the event feed of a deployed contract, after the sequence cursor `after`; at most 256 events and 1 MiB, and the answer says which cap it hit and the cursor to ask from next",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "a contract address",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "required": false,
            "description": "the event number to go on from",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "how many events, at most 256",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/validators": {
      "get": {
        "summary": "who may seal at the head, with every admission, eviction and suspension that got it there",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/checkpoint": {
      "get": {
        "summary": "this node's Urd succinct checkpoint — a constant-size recursive proof over its whole chain",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/delegations": {
      "get": {
        "summary": "live Gefjon spending authorities, with how much of each cap this window has left. A filter that is not an address is a 400, not an empty list",
        "parameters": [
          {
            "name": "master",
            "in": "query",
            "required": false,
            "description": "the address that gave the authority",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "delegate",
            "in": "query",
            "required": false,
            "description": "the address that may spend",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/organisation/{domain}": {
      "get": {
        "summary": "an organisation and its departments: who holds it, who may sign for it, where each department is paid. 400 for a name that is not an STR.domain, 404 for one that is not a proved master",
        "parameters": [
          {
            "name": "domain",
            "in": "path",
            "required": true,
            "description": "a STR.domain",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/collateral/reserves": {
      "get": {
        "summary": "reserves held against minted $TR, so a holder can check the peg themselves",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/bridge/attestors": {
      "get": {
        "summary": "the keys this chain's genesis authorises to mint $TR. An empty list is a real answer",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/live": {
      "get": {
        "summary": "Sirius: the honest live figures for an embedded status widget — height, head age, last block interval, the depth line and the seats on the roll. No throughput figure, because none is measured",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/network": {
      "get": {
        "summary": "which realm this chain is: chain id and genesis hash, matched against the network register",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tokens": {
      "get": {
        "summary": "the seven native ledgers from their definitions: symbol, decimals, supply policy, cap, whether a holder may transfer it and the purpose a transfer must carry",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tokens/{symbol}": {
      "get": {
        "summary": "one native ledger. 404 for a symbol this chain does not keep",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "a ledger, for example STR",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/supply": {
      "get": {
        "summary": "supply and circulating per value ledger, as the chain defines them: circulating is supply that is not locked. Read from the chain index; 503 where none is wired",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/supply/{symbol}": {
      "get": {
        "summary": "one value ledger of /v1/supply",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "a ledger, for example STR",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/supply/{symbol}/total.txt": {
      "get": {
        "summary": "the total supply in whole units, as plain text, for a listing site",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "a ledger, for example STR",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/supply/{symbol}/circulating.txt": {
      "get": {
        "summary": "the circulating supply as the chain defines it, in whole units, as plain text, for a listing site",
        "parameters": [
          {
            "name": "symbol",
            "in": "path",
            "required": true,
            "description": "a ledger, for example STR",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/address/{address}/transactions": {
      "get": {
        "summary": "an address's whole transfer history, newest first, paged at most 100 a page. Read from the chain index; 503 where none is wired",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "description": "an address",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "how many entries to pass over. 0 when empty",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "how many entries, at most 100",
            "schema": {
              "type": "string",
              "pattern": "^[0-9]+$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/tx/{id}/transfer": {
      "get": {
        "summary": "one transfer by id from the whole chain: parties, their STR.domains, amount, ledger and block. Its depth is /v1/tx/{id}",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "description": "a transaction id",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/price": {
      "get": {
        "summary": "answers that no price, market cap or treasury-excluding circulating figure is published, and why",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/ready": {
      "get": {
        "summary": "readiness: 200 when the chain behind this API answers, 503 with the reason when it does not",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/openapi.json": {
      "get": {
        "summary": "the OpenAPI 3.1 description of this surface",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/health": {
      "get": {
        "summary": "liveness, deliberately thin: it asks the chain nothing",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    },
    "/v1/version": {
      "get": {
        "summary": "the commit this build came from and when it was built, the same stamp every public surface answers. Asks the chain nothing",
        "responses": {
          "200": {
            "description": "the requested public chain data, as JSON"
          },
          "400": {
            "description": "a path or query parameter was malformed"
          },
          "404": {
            "description": "this node holds no such resource"
          },
          "405": {
            "description": "a method other than GET, HEAD or OPTIONS was used. OPTIONS is the CORS preflight and is answered 204"
          },
          "429": {
            "description": "the caller is over its rate budget; retry after the stated delay"
          }
        }
      }
    }
  }
}
