{
  "openapi": "3.2.0",
  "info": {
    "title": "ADAMANT Node API",
    "description": "OpenAPI 3.2 specification for the [ADAMANT](https://adamant.im) Node API.\n\nADAMANT is a decentralized messenger built on its own blockchain. This specification covers\naccounts, transactions, chats, delegates, blocks, nodes, and key-value storage endpoints.\n\n**Rate limits (`429 Too Many Requests`)**\nPublic REST endpoints enforce per-IP aggregate (`all`) and route-class (`status`, `read`,\n`publish`) budgets. Exceeding a cap returns HTTP `429` with\n`{\"success\": false, \"error\": \"...\"}` (without `nodeTimestamp`), `Retry-After`, standard\n`RateLimit-*` headers (including `RateLimit-Scope`), and optional legacy `X-RateLimit-*`\nheaders when configured. CORS middleware exposes these headers to browser clients. Treat\n`429` as temporary backpressure rather than a permanent validation error. Peer HTTP routes\n(`/peer/*`) use fixed status `429`, `RateLimit-Scope` (`status`, `sync`, `broadcast`, `all`),\nand mixed-version negotiation via `X-Adamant-Rate-Limit: 1`.\n\n**Useful links**\n- [ADAMANT Node](https://github.com/Adamant-im/adamant) — blockchain node implementation\n- [AIPs](https://aips.adamant.im) — ADAMANT Improvement Proposals\n- [API Docs](https://docs.adamant.im) — reference documentation\n- [OpenAPI JSON](schema.json) — bundled specification\n- [OpenAPI Source](https://github.com/Adamant-im/adamant/tree/dev/openapi) — source of this specification\n",
    "version": "0.11.1"
  },
  "servers": [
    {
      "url": "https://lake.adamant.im/api",
      "description": "Mainnet Lake"
    },
    {
      "url": "https://debate.adamant.im/api",
      "description": "Mainnet Debate"
    },
    {
      "url": "https://bid.adamant.im/api",
      "description": "Mainnet Bid"
    },
    {
      "url": "https://sunshine.adamant.im/api",
      "description": "Mainnet Sunshine"
    },
    {
      "url": "https://endless.adamant.im/api",
      "description": "Mainnet Endless"
    },
    {
      "url": "https://ahead.adamant.im/api",
      "description": "Mainnet Dev"
    },
    {
      "url": "https://testnode1.adamant.im/api",
      "description": "Testnet 1"
    },
    {
      "url": "https://testnode3.adm.im/api",
      "description": "Testnet 3"
    }
  ],
  "tags": [
    {
      "name": "Account",
      "description": "Endpoints intended to interact with ADAMANT accounts",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/accounts.html"
      }
    },
    {
      "name": "Blocks",
      "description": "List of endpoints giving information of blocks in ADAMANT blockchain",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/blocks.html"
      }
    },
    {
      "name": "Chats",
      "description": "List of endpoints intended to work with chats and chatrooms in ADAMANT blockchain",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/chatrooms.html"
      }
    },
    {
      "name": "Delegates and Voting",
      "description": "Endpoints useful in working with delegate system of ADAMANT blockchain",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/delegates.html"
      }
    },
    {
      "name": "Nodes and Blockchain",
      "description": "List of endpoints useful in work with ADAMANT blockchain in general",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/blockchain.html"
      }
    },
    {
      "name": "KVS",
      "description": "Endpoints intended to store data in ADAMANT Key-Value Storage (KVS)",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/kvs.html"
      }
    },
    {
      "name": "Transactions",
      "description": "Contains endpoints useful to interact with transactions of ADAMANT blockchain",
      "externalDocs": {
        "description": "Find out more",
        "url": "https://docs.adamant.im/api-endpoints/transactions.html"
      }
    }
  ],
  "paths": {
    "/accounts": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "getAccountInfo",
        "description": "Get account information by ADAMANT address or by Public Key",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          },
          {
            "name": "publicKey",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Account information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountInfoResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/accounts/getBalance": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "getAccountBalance",
        "description": "Get account balance",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Account balance",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountBalanceResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/accounts/getPublicKey": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "getAccountPublicKey",
        "description": "Get account Public Key",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Account Public Key",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountPublicKeyResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/accounts/top": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "getTopAccounts",
        "description": "Get non-zero-balance accounts sorted by confirmed balance with pagination metadata.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Number of accounts to retrieve. Use `0` for count-only metadata.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "maximum": 100,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Number of sorted accounts to skip before returning the page.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "isDelegate",
            "in": "query",
            "description": "Filter accounts by delegate registration status.",
            "required": false,
            "schema": {
              "type": "integer",
              "enum": [
                0,
                1
              ],
              "example": 1
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Top accounts page",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTopAccountsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/accounts/new": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "createNewAccount",
        "description": "Create new account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNewAccountRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNewAccountResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/get": {
      "get": {
        "tags": [
          "Blocks"
        ],
        "operationId": "getBlockInfo",
        "description": "Get block information by ID",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Block ID",
            "required": true,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 20,
              "pattern": "^[0-9]+$",
              "example": "11114690216332606721"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Block information",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBlockInfoResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks": {
      "get": {
        "tags": [
          "Blocks"
        ],
        "operationId": "getBlocks",
        "description": "Get list of blocks",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Number of blocks to retrieve. Default is `100`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Number of rows to skip after applying the requested order. Default is `0`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Sort expression in `field:direction` form. Supported fields are `id`, `timestamp`, `height`, `previousBlock`, `totalAmount`, `totalFee`, `reward`, `numberOfTransactions`, and `generatorPublicKey`. Supported directions are `asc` and `desc`.",
            "required": false,
            "schema": {
              "type": "string",
              "default": "height:desc",
              "example": "timestamp:asc"
            }
          },
          {
            "name": "generatorPublicKey",
            "in": "query",
            "description": "Public key of the delegate who generated the block.",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 64,
              "maxLength": 64,
              "pattern": "^[0-9a-fA-F]{64}$",
              "example": "134a5de88c7da1ec71e75b5250d24168c6c6e3965ff16bd71497bd015d40ea6a"
            }
          },
          {
            "name": "numberOfTransactions",
            "in": "query",
            "description": "Exact number of transactions in the block.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "previousBlock",
            "in": "query",
            "description": "ID of the preceding block.",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 20,
              "pattern": "^[0-9]+$",
              "example": "11483763337863654141"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Exact block height.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "totalAmount",
            "in": "query",
            "description": "Exact total amount transferred by the block's transactions, in 1/10^8 ADM.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0,
              "maximum": 9800000000000000
            }
          },
          {
            "name": "totalFee",
            "in": "query",
            "description": "Exact total transaction fee in the block, in 1/10^8 ADM.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0,
              "maximum": 9800000000000000
            }
          },
          {
            "name": "reward",
            "in": "query",
            "description": "Exact forging reward for the block, in 1/10^8 ADM.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int64",
              "minimum": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of blocks",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBlocksResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/chatrooms/{address}": {
      "get": {
        "tags": [
          "Chats"
        ],
        "operationId": "getChatRooms",
        "description": "Get list of Chats",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "description": "ADAMANT address",
            "required": true,
            "schema": {
              "type": "string",
              "example": "U839357947177758191"
            }
          },
          {
            "$ref": "#/components/parameters/type"
          },
          {
            "$ref": "#/components/parameters/andType"
          },
          {
            "$ref": "#/components/parameters/senderId"
          },
          {
            "$ref": "#/components/parameters/andSenderId"
          },
          {
            "$ref": "#/components/parameters/recipientId"
          },
          {
            "$ref": "#/components/parameters/andRecipientId"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/orderBy"
          },
          {
            "$ref": "#/components/parameters/returnUnconfirmed"
          },
          {
            "$ref": "#/components/parameters/includeDirectTransfers"
          },
          {
            "$ref": "#/components/parameters/limit"
          }
        ],
        "responses": {
          "200": {
            "description": "Chat rooms",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetChatRoomsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/chatrooms/{ownAddress}/{partnerAddress}": {
      "get": {
        "tags": [
          "Chats"
        ],
        "operationId": "getChatroomMessages",
        "description": "Get messages between two accounts",
        "parameters": [
          {
            "name": "ownAddress",
            "in": "path",
            "description": "Your ADAMANT address",
            "required": true,
            "schema": {
              "type": "string",
              "example": "U8916295525136600565"
            }
          },
          {
            "name": "partnerAddress",
            "in": "path",
            "description": "Partner ADAMANT address",
            "required": true,
            "schema": {
              "type": "string",
              "example": "U2707535059340134112"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Limit number of messages.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "maximum": 100,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Skips **n** messages. Used for pagination",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Order by field",
            "required": false,
            "schema": {
              "type": "string",
              "example": "timestamp:desc",
              "default": "timestamp:desc"
            }
          },
          {
            "name": "type",
            "in": "query",
            "description": "Filter by `asset.chat.type`. See [Message Types](https://docs.adamant.im/api-types/message-types.html)",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 1,
              "enum": [
                1,
                2
              ]
            }
          },
          {
            "name": "and:type",
            "in": "query",
            "description": "Equivalent to `type` (all `/api/chatrooms` filters combine with AND; `or:` filters are rejected). See [Message Types](https://docs.adamant.im/api-types/message-types.html)",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 1,
              "enum": [
                1,
                2
              ]
            }
          },
          {
            "$ref": "#/components/parameters/senderId"
          },
          {
            "$ref": "#/components/parameters/andSenderId"
          },
          {
            "$ref": "#/components/parameters/recipientId"
          },
          {
            "$ref": "#/components/parameters/andRecipientId"
          },
          {
            "$ref": "#/components/parameters/includeDirectTransfers"
          },
          {
            "$ref": "#/components/parameters/returnUnconfirmed"
          }
        ],
        "responses": {
          "200": {
            "description": "Chat messages",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetChatMessagesResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/chats/get": {
      "get": {
        "tags": [
          "Chats"
        ],
        "operationId": "getChatMessages",
        "description": "Returns list of transactions with `type = 8` (deprecated, use `/chatrooms` instead)",
        "parameters": [
          {
            "$ref": "#/components/parameters/fromHeight"
          },
          {
            "$ref": "#/components/parameters/andFromHeight"
          },
          {
            "$ref": "#/components/parameters/toHeight"
          },
          {
            "$ref": "#/components/parameters/andToHeight"
          },
          {
            "$ref": "#/components/parameters/senderId"
          },
          {
            "$ref": "#/components/parameters/andSenderId"
          },
          {
            "$ref": "#/components/parameters/recipientId"
          },
          {
            "$ref": "#/components/parameters/andRecipientId"
          },
          {
            "$ref": "#/components/parameters/inId"
          },
          {
            "$ref": "#/components/parameters/andInId"
          },
          {
            "$ref": "#/components/parameters/isIn"
          },
          {
            "$ref": "#/components/parameters/andIsIn"
          },
          {
            "$ref": "#/components/parameters/type"
          },
          {
            "$ref": "#/components/parameters/andType"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/orderBy"
          },
          {
            "$ref": "#/components/parameters/returnUnconfirmed"
          },
          {
            "$ref": "#/components/parameters/limit-2"
          },
          {
            "$ref": "#/components/parameters/includeDirectTransfers-2"
          }
        ],
        "responses": {
          "200": {
            "description": "Messages",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetChatTransactionsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/chats/process": {
      "post": {
        "tags": [
          "Chats"
        ],
        "operationId": "sendMessage",
        "description": "Broadcast transactions of `type 8 — Chat/Message`",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateNewChatMessageRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateNewChatMessageResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegates",
        "description": "Retrieves list of registered ADAMANT delegates",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Number of delegates to retrieve, integer. Default is `101` (active delegates).",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "default": 101
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Height offset value for results. Default is `0`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Sort by `approval`, `productivity`, `rate`, `rank`, `vote`, `username`, `address`, or `publicKey`. Append `:asc` or `:desc` to select the direction, for example `rank:asc`.",
            "required": false,
            "schema": {
              "type": "string",
              "example": "rank:asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "List of delegates",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDelegatesResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "registerNewDelegate",
        "description": "Register new delegate",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterNewDelegateTransaction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterDelegateResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/get": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegateInfo",
        "description": "Get delegate info by `username`, `publicKey`, or `address`",
        "parameters": [
          {
            "name": "username",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "lynx"
            }
          },
          {
            "name": "publicKey",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "ef5e78a3d02e6d82f4ac0c5b8923c1b86185bd17c27c9ac027c20ec62db79a84"
            }
          },
          {
            "name": "address",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "example": "U11651572364276578835"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Delegate info",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDelegateResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/search": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "searchDelegate",
        "description": "Search delegates by `username`",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Partial or full username of a delegate",
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 20
            },
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Maximum number of matching delegates. Default is `101`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 1000,
              "default": 101
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Sort by `username`, `address`, `publicKey`, `vote`, `missedblocks`, `producedblocks`, `approval`, `productivity`, `voters_cnt`, or `register_timestamp`. Append `:asc` or `:desc` to select the direction.",
            "required": false,
            "schema": {
              "type": "string",
              "example": "username:asc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Delegate info",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SearchDelegateResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/count": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegatesCount",
        "description": "Get total count of delegates",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDelegatesCountResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/forging/getForgedByAccount": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegateForgingActivity",
        "description": "Get forging activity of a delegate",
        "parameters": [
          {
            "name": "generatorPublicKey",
            "in": "query",
            "description": "Delegate's publicKey",
            "schema": {
              "type": "string",
              "example": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34"
            },
            "required": true
          },
          {
            "name": "start",
            "in": "query",
            "description": "Inclusive start of the forging interval as a Unix timestamp in seconds.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "end",
            "in": "query",
            "description": "Inclusive end of the forging interval as a Unix timestamp in seconds.",
            "required": false,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDelegateStatsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/getNextForgers": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getNextForgers",
        "description": "Returns a snapshot of public keys ordered by upcoming slots using the delegate schedule for the next block height (`currentBlock + 1`). All entries use this next-block schedule; request a new snapshot after the node accepts another block.",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Number of upcoming-slot public keys to return. Default is `10`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 101,
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNextForgersResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/delegates/voters": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegateVoters",
        "description": "Get list of delegate's voters",
        "parameters": [
          {
            "name": "publicKey",
            "in": "query",
            "description": "Delegate's ADAMANT public key",
            "schema": {
              "type": "string",
              "example": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVotersResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/accounts/delegates": {
      "get": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "getDelegateVotes",
        "description": "Current votes of specific ADAMANT account",
        "parameters": [
          {
            "name": "address",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "example": "U777355171330060015"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAccountVotesResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Delegates and Voting"
        ],
        "operationId": "voteForDelegates",
        "description": "Vote for delegates",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterVoteForDelegateTransaction"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterVotesResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/peers": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getPeers",
        "description": "Get list of connected peer nodes",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "Limit number of nodes. Default is `100`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 100,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "Height offset value for results. Default is `0`.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "default": 0
            }
          },
          {
            "name": "os",
            "in": "query",
            "description": "Filter results by Operating System",
            "required": false,
            "schema": {
              "type": "string",
              "example": "linux4.15.0-36-generic"
            }
          },
          {
            "name": "ip",
            "in": "query",
            "description": "Filter results by IP",
            "required": false,
            "schema": {
              "type": "string",
              "example": "194.32.79.175"
            }
          },
          {
            "name": "port",
            "in": "query",
            "description": "Filter results by node port.",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 1,
              "maximum": 65535
            }
          },
          {
            "name": "state",
            "in": "query",
            "description": "Filter by peer state (`0` banned, `1` disconnected, or `2` connected).",
            "required": false,
            "schema": {
              "type": "integer",
              "format": "int32",
              "minimum": 0,
              "maximum": 2
            }
          },
          {
            "name": "version",
            "in": "query",
            "description": "Filter results by semantic ADAMANT node version.",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 5,
              "maxLength": 12,
              "example": "0.10.2"
            }
          },
          {
            "name": "broadhash",
            "in": "query",
            "description": "Filter results by hexadecimal broadhash.",
            "required": false,
            "schema": {
              "type": "string",
              "format": "hex"
            }
          },
          {
            "name": "height",
            "in": "query",
            "description": "Filter results by blockchain height.",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "orderBy",
            "in": "query",
            "description": "Sort by `ip`, `port`, `state`, `os`, `version`, `broadhash`, `height`, or `nonce`. Append `:asc` or `:desc` to select the direction.",
            "required": false,
            "schema": {
              "type": "string",
              "example": "height:desc"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPeersResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/peers/get": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getPeer",
        "description": "Finds and returns the known peer of the node.",
        "parameters": [
          {
            "name": "ip",
            "in": "query",
            "description": "The peer's IPv4 address.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "ipv4",
              "example": "194.32.79.175"
            }
          },
          {
            "name": "port",
            "in": "query",
            "description": "The peer's port number.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32",
              "example": 36666
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPeerInfoResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/loader/status": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNodeLoadingStatus",
        "description": "Returns information of node's loading process",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetLoadingStatusResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/loader/status/sync": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNodeSyncStatus",
        "description": "Returns information of the node sync process with other peers",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSyncStatusResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/loader/status/ping": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNodePingStatus",
        "description": "Get ping status",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetPingStatusResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/peers/version": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNodeVersion",
        "description": "Returns node software information",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNodeVersionResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getBroadhash": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getBroadhash",
        "description": "Broadhash is established as an aggregated rolling hash of the past five blocks present in the database.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetBroadhashResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getEpoch": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getEpoch",
        "description": "Returns time when blockchain epoch starts. Value `2017-09-02T17:00:00.000Z` is for mainnet.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetEpochResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getHeight": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getHeight",
        "description": "Returns current node's blockchain height",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetHeightResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getFee": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getTokenTransferFee",
        "description": "Returns current fee value for `type 0` (token transfer) transactions. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000).",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTokenTransferFeeResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getFees": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getFees",
        "description": "Returns current fee values for different transaction types",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionTypesFeesResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getNethash": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNethash",
        "description": "The nethash describes e.g. the Mainnet or the Testnet, that the node is connecting to.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNethashResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getMilestone": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getMilestone",
        "description": "Return current slot height, which determines reward a delegate will get for forging a block.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMilestoneResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getReward": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getReward",
        "description": "Returns reward — the reward a delegate will get for forging a block. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000). Depends on the slot height.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRewardResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getSupply": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getTokenTotalSupply",
        "description": "Returns total current supply of ADM tokens in network. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000). Total supply increases with every new forged block.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTokensTotalSupplyResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/blocks/getStatus": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNetworkInfo",
        "description": "Returns blockchain network information in a single request",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNetworkInfoResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/node/status": {
      "get": {
        "tags": [
          "Nodes and Blockchain"
        ],
        "operationId": "getNodeStatus",
        "description": "Returns both ADAMANT blockchain network information and Node information in a single request.",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetNodeStatusResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/states/get": {
      "get": {
        "tags": [
          "KVS"
        ],
        "operationId": "getKVS",
        "description": "Fetch data from KVS. Returns a list of transactions of `type = 9` with KVS data stored in `asset.state`. All filters combine with AND; `and:`-prefixed aliases are accepted while `or:` filters, unknown parameters, and conflicting plain/`and:` values are rejected.",
        "parameters": [
          {
            "$ref": "#/components/parameters/fromHeight"
          },
          {
            "$ref": "#/components/parameters/andFromHeight"
          },
          {
            "$ref": "#/components/parameters/toHeight"
          },
          {
            "$ref": "#/components/parameters/andToHeight"
          },
          {
            "$ref": "#/components/parameters/senderId"
          },
          {
            "$ref": "#/components/parameters/andSenderId"
          },
          {
            "$ref": "#/components/parameters/senderIds"
          },
          {
            "$ref": "#/components/parameters/andSenderIds"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/orderBy"
          },
          {
            "$ref": "#/components/parameters/returnUnconfirmed"
          },
          {
            "$ref": "#/components/parameters/key"
          },
          {
            "$ref": "#/components/parameters/andKey"
          },
          {
            "$ref": "#/components/parameters/keyIds"
          },
          {
            "$ref": "#/components/parameters/andKeyIds"
          },
          {
            "$ref": "#/components/parameters/type-2"
          },
          {
            "$ref": "#/components/parameters/andType-2"
          },
          {
            "$ref": "#/components/parameters/limit-2"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetKVSResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      },
      "post": {
        "tags": [
          "KVS"
        ],
        "operationId": "postGetKVS",
        "description": "Fetch data from KVS using a JSON request body (useful when query-string length limits are exceeded for large `keyIds` or `senderIds` lists). All filters combine with AND; `and:`-prefixed aliases are accepted while `or:` filters, unknown parameters, and conflicting plain/`and:` values are rejected.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GetKVSRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetKVSResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/states/store": {
      "post": {
        "tags": [
          "KVS"
        ],
        "operationId": "setKVS",
        "description": "Creates a KVS transaction (`type 9`)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetKVSRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SetKVSResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getTransactions",
        "description": "Returns list of transactions\n\nYou can filter by single parameter, or by multiple parameters using logical operator `and` or `or`.\nFor more details check [Transactions Query Language](https://docs.adamant.im/api/transactions-query-language.html)\n\nParams act by default as `or` operator.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/blockId"
          },
          {
            "$ref": "#/components/parameters/andBlockId"
          },
          {
            "$ref": "#/components/parameters/orBlockId"
          },
          {
            "$ref": "#/components/parameters/senderPublicKey"
          },
          {
            "$ref": "#/components/parameters/andSenderPublicKey"
          },
          {
            "$ref": "#/components/parameters/orSenderPublicKey"
          },
          {
            "$ref": "#/components/parameters/recipientPublicKey"
          },
          {
            "$ref": "#/components/parameters/andRecipientPublicKey"
          },
          {
            "$ref": "#/components/parameters/orRecipientPublicKey"
          },
          {
            "$ref": "#/components/parameters/senderId"
          },
          {
            "$ref": "#/components/parameters/andSenderId"
          },
          {
            "$ref": "#/components/parameters/orSenderId"
          },
          {
            "$ref": "#/components/parameters/recipientId"
          },
          {
            "$ref": "#/components/parameters/andRecipientId"
          },
          {
            "$ref": "#/components/parameters/orRecipientId"
          },
          {
            "$ref": "#/components/parameters/inId"
          },
          {
            "$ref": "#/components/parameters/andInId"
          },
          {
            "$ref": "#/components/parameters/orInId"
          },
          {
            "$ref": "#/components/parameters/isIn"
          },
          {
            "$ref": "#/components/parameters/andIsIn"
          },
          {
            "$ref": "#/components/parameters/orIsIn"
          },
          {
            "$ref": "#/components/parameters/fromHeight"
          },
          {
            "$ref": "#/components/parameters/andFromHeight"
          },
          {
            "$ref": "#/components/parameters/orFromHeight"
          },
          {
            "$ref": "#/components/parameters/toHeight"
          },
          {
            "$ref": "#/components/parameters/andToHeight"
          },
          {
            "$ref": "#/components/parameters/orToHeight"
          },
          {
            "$ref": "#/components/parameters/fromTimestamp"
          },
          {
            "$ref": "#/components/parameters/andFromTimestamp"
          },
          {
            "$ref": "#/components/parameters/orFromTimestamp"
          },
          {
            "$ref": "#/components/parameters/toTimestamp"
          },
          {
            "$ref": "#/components/parameters/andToTimestamp"
          },
          {
            "$ref": "#/components/parameters/orToTimestamp"
          },
          {
            "$ref": "#/components/parameters/senderIds"
          },
          {
            "$ref": "#/components/parameters/andSenderIds"
          },
          {
            "$ref": "#/components/parameters/orSenderIds"
          },
          {
            "$ref": "#/components/parameters/recipientIds"
          },
          {
            "$ref": "#/components/parameters/andRecipientIds"
          },
          {
            "$ref": "#/components/parameters/orRecipientIds"
          },
          {
            "$ref": "#/components/parameters/senderPublicKeys"
          },
          {
            "$ref": "#/components/parameters/andSenderPublicKeys"
          },
          {
            "$ref": "#/components/parameters/orSenderPublicKeys"
          },
          {
            "$ref": "#/components/parameters/recipientPublicKeys"
          },
          {
            "$ref": "#/components/parameters/andRecipientPublicKeys"
          },
          {
            "$ref": "#/components/parameters/orRecipientPublicKeys"
          },
          {
            "$ref": "#/components/parameters/minAmount"
          },
          {
            "$ref": "#/components/parameters/andMinAmount"
          },
          {
            "$ref": "#/components/parameters/orMinAmount"
          },
          {
            "$ref": "#/components/parameters/maxAmount"
          },
          {
            "$ref": "#/components/parameters/andMaxAmount"
          },
          {
            "$ref": "#/components/parameters/orMaxAmount"
          },
          {
            "$ref": "#/components/parameters/minFee"
          },
          {
            "$ref": "#/components/parameters/andMinFee"
          },
          {
            "$ref": "#/components/parameters/orMinFee"
          },
          {
            "$ref": "#/components/parameters/maxFee"
          },
          {
            "$ref": "#/components/parameters/andMaxFee"
          },
          {
            "$ref": "#/components/parameters/orMaxFee"
          },
          {
            "$ref": "#/components/parameters/minConfirmations"
          },
          {
            "$ref": "#/components/parameters/andMinConfirmations"
          },
          {
            "$ref": "#/components/parameters/orMinConfirmations"
          },
          {
            "$ref": "#/components/parameters/type-3"
          },
          {
            "$ref": "#/components/parameters/andType-3"
          },
          {
            "$ref": "#/components/parameters/orType"
          },
          {
            "$ref": "#/components/parameters/types"
          },
          {
            "$ref": "#/components/parameters/andTypes"
          },
          {
            "$ref": "#/components/parameters/orTypes"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/orderBy"
          },
          {
            "$ref": "#/components/parameters/returnUnconfirmed"
          },
          {
            "$ref": "#/components/parameters/limit-2"
          },
          {
            "$ref": "#/components/parameters/returnAsset"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      },
      "post": {
        "tags": [
          "Transactions"
        ],
        "operationId": "sendTransaction",
        "description": "Broadcast [any type](https://docs.adamant.im/api-types/transaction-types.html) of transaction",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterTransactionRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterTransactionResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/get": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getTransaction",
        "description": "Get transaction by ID",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Transaction ID",
            "schema": {
              "type": "string",
              "example": "12154642911137703318"
            },
            "required": false
          },
          {
            "name": "returnAsset",
            "in": "query",
            "schema": {
              "type": "integer",
              "example": 1
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionByIdResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/count": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getTransactionsCount",
        "description": "Get `confirmed`, `unconfirmed` and `queued` transactions count",
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTransactionsCountResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/queued": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getQueuedTransactions",
        "description": "Get queued transactions",
        "parameters": [
          {
            "name": "senderPublicKey",
            "in": "query",
            "description": "Filter pooled transactions by the sender's public key.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-fA-F]{64}$",
              "example": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34"
            }
          },
          {
            "name": "address",
            "in": "query",
            "description": "Filter pooled transactions by recipient ADAMANT address.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[Uu][0-9]{1,21}$",
              "minLength": 1,
              "maxLength": 22,
              "example": "U8916295525136600565"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetQueuedTransactionsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/queued/get": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getQueuedTransaction",
        "description": "Get queued transaction by ID",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Transaction ID",
            "schema": {
              "type": "string",
              "example": "12154642911137703318"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetQueuedTransactionsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/unconfirmed": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getUnconfirmedTransactions",
        "description": "Get unconfirmed transactions",
        "parameters": [
          {
            "name": "senderPublicKey",
            "in": "query",
            "description": "Filter pooled transactions by the sender's public key.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[0-9a-fA-F]{64}$",
              "example": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34"
            }
          },
          {
            "name": "address",
            "in": "query",
            "description": "Filter pooled transactions by recipient ADAMANT address.",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^[Uu][0-9]{1,21}$",
              "minLength": 1,
              "maxLength": 22,
              "example": "U8916295525136600565"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUnconfirmedTransactionsResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/unconfirmed/get": {
      "get": {
        "tags": [
          "Transactions"
        ],
        "operationId": "getUnconfirmedTransaction",
        "description": "Get unconfirmed transaction by ID",
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "description": "Transaction ID",
            "schema": {
              "type": "string",
              "example": "12154642911137703318"
            },
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUnconfirmedTransactionByIdResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    },
    "/transactions/process": {
      "post": {
        "tags": [
          "Transactions"
        ],
        "operationId": "sendTokens",
        "description": "Broadcast transactions of `type 0 — Token transfer` or `type 8 — Chat/Message`. See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html)",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransferTokenRequestBody"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransferTokenResponseDto"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequestsResponse"
          }
        }
      }
    }
  },
  "components": {
    "responses": {
      "TooManyRequests": {
        "$ref": "#/components/responses/TooManyRequestsResponse"
      },
      "TooManyRequestsResponse": {
        "description": "Too Many Requests — the caller exceeded an active per-IP HTTP anti-abuse budget (either the surface aggregate `all` budget or a route class such as `status`, `read`, or `publish` on `/api/*`, or `status`, `sync`, or `broadcast` on `/peer/*`).\nThis response signals bounded temporary backpressure rather than a permanent request validation error. Clients should honor `Retry-After` (or `RateLimit-Reset`) and retry with jittered backoff instead of tight-looping. Node CORS middleware runs before the limiter and exposes `RateLimit`, `RateLimit-Policy`, `RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset`, `RateLimit-Scope`, `Retry-After`, and legacy `X-RateLimit-*` headers to browser clients.",
        "headers": {
          "Retry-After": {
            "description": "Number of seconds to wait before retrying the request.",
            "schema": {
              "type": "integer",
              "example": 60
            }
          },
          "RateLimit-Scope": {
            "description": "Effective rate-limit budget that triggered the response (`status`, `read`, `publish`, or `all` on public `/api/*` routes; `status`, `sync`, `broadcast`, or `all` on `/peer/*` routes).",
            "schema": {
              "type": "string",
              "enum": [
                "status",
                "read",
                "publish",
                "sync",
                "broadcast",
                "all"
              ],
              "example": "read"
            }
          },
          "RateLimit-Policy": {
            "description": "Standard policy string (`<limit>;w=<windowSeconds>`), sent when `standardHeaders` is enabled (default `true`).",
            "schema": {
              "type": "string",
              "example": "3000;w=60"
            }
          },
          "RateLimit-Limit": {
            "description": "Hard request cap for the effective limiting window, sent when `standardHeaders` is enabled (default `true`).",
            "schema": {
              "type": "integer",
              "example": 3000
            }
          },
          "RateLimit-Remaining": {
            "description": "Remaining requests in the effective limiting window (0 on HTTP 429), sent when `standardHeaders` is enabled.",
            "schema": {
              "type": "integer",
              "example": 0
            }
          },
          "RateLimit-Reset": {
            "description": "Remaining seconds until the effective limiting window resets, sent when `standardHeaders` is enabled.",
            "schema": {
              "type": "integer",
              "example": 42
            }
          },
          "X-RateLimit-Limit": {
            "description": "Legacy hard cap header, sent only when `legacyHeaders` is enabled (default `false`).",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 3000
            }
          },
          "X-RateLimit-Remaining": {
            "description": "Legacy remaining count header, sent only when `legacyHeaders` is enabled (default `false`).",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 0
            }
          },
          "X-RateLimit-Reset": {
            "description": "Legacy Unix timestamp (seconds) when the window resets, sent only when `legacyHeaders` is enabled (default `false`).",
            "required": false,
            "schema": {
              "type": "integer",
              "example": 1795353600
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/RateLimitErrorResponseDto"
            }
          }
        }
      }
    },
    "schemas": {
      "RateLimitErrorResponseDto": {
        "type": "object",
        "description": "Error body returned when a request exceeds an active node HTTP anti-abuse limit (HTTP 429). Unlike ordinary validation errors, this response omits `nodeTimestamp`. The `error` string is operator-configurable via `api.options.limits.message` or `peers.options.limits.message`. Treat HTTP 429 as bounded temporary backpressure and wait for `Retry-After` or `RateLimit-Reset` before retrying, rather than treating the request as permanently invalid.",
        "properties": {
          "success": {
            "type": "boolean",
            "enum": [
              false
            ],
            "example": false
          },
          "error": {
            "type": "string",
            "example": "Too many requests, please try again later."
          }
        },
        "required": [
          "success",
          "error"
        ]
      },
      "ClientWebSocketAddressSubscription": {
        "$ref": "#/components/schemas/AddressSubscription"
      },
      "ClientWebSocketTransactionTypeSubscription": {
        "$ref": "#/components/schemas/TransactionTypeSubscription"
      },
      "ClientWebSocketChatTypeSubscription": {
        "$ref": "#/components/schemas/ChatTypeSubscription"
      },
      "ClientWebSocketBalanceSubscription": {
        "$ref": "#/components/schemas/BalanceSubscription"
      },
      "ClientWebSocketBlockSubscription": {
        "$ref": "#/components/schemas/BlockSubscription"
      },
      "ClientWebSocketNewTransaction": {
        "$ref": "#/components/schemas/QueuedTransaction"
      },
      "ClientWebSocketBalanceChange": {
        "$ref": "#/components/schemas/BalanceChangeEvent"
      },
      "ClientWebSocketNewBlock": {
        "$ref": "#/components/schemas/NewBlockEvent"
      },
      "GetAccountInfoResponseDto": {
        "required": [
          "account",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "account": {
            "$ref": "#/components/schemas/AccountDto"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "account": {
            "address": "U777355171330060015",
            "unconfirmedBalance": "4509718944753",
            "balance": "4509718944753",
            "publicKey": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34",
            "unconfirmedSignature": 0,
            "secondSignature": 0,
            "secondPublicKey": null,
            "multisignatures": [],
            "u_multisignatures": []
          },
          "success": true,
          "nodeTimestamp": 58030181
        }
      },
      "GetAccountBalanceResponseDto": {
        "required": [
          "balance",
          "unconfirmedBalance",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "balance": {
            "type": "string",
            "format": "int64"
          },
          "unconfirmedBalance": {
            "type": "string",
            "format": "int64"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "balance": "4509718944753",
          "unconfirmedBalance": "4509718944753",
          "success": true,
          "nodeTimestamp": 58043820
        }
      },
      "GetAccountPublicKeyResponseDto": {
        "required": [
          "publicKey",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "publicKey": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "publicKey": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34",
          "balance": "4509718944753",
          "unconfirmedBalance": "4509718944753"
        }
      },
      "GetTopAccountsResponseDto": {
        "required": [
          "accounts",
          "count",
          "limit",
          "offset",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTopAccountDto"
            },
            "description": "Non-zero-balance accounts sorted by confirmed balance descending and address ascending for equal balances."
          },
          "count": {
            "type": "integer",
            "description": "Total number of non-zero-balance accounts matching the filter before pagination.",
            "example": 254
          },
          "limit": {
            "type": "integer",
            "description": "Normalized page size used by the node.",
            "example": 100
          },
          "offset": {
            "type": "integer",
            "description": "Normalized offset used by the node.",
            "example": 0
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63205623
          }
        },
        "example": {
          "accounts": [
            {
              "address": "U777355171330060015",
              "balance": "4509718944753",
              "publicKey": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34",
              "username": "adamant_delegate",
              "isDelegate": 1
            }
          ],
          "count": 254,
          "limit": 100,
          "offset": 0,
          "success": true,
          "nodeTimestamp": 63205623
        }
      },
      "CreateNewAccountRequestBody": {
        "required": [
          "publicKey",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "publicKey": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "publicKey": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34",
          "balance": "4509718944753",
          "unconfirmedBalance": "4509718944753"
        }
      },
      "CreateNewAccountResponseDto": {
        "required": [
          "account",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "account": {
            "$ref": "#/components/schemas/AccountDto"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "account": {
            "address": "U4697606961271319613",
            "unconfirmedBalance": "0",
            "balance": "0",
            "publicKey": "bee368cc0ce2974adcbcc97e649ac18a031492a579034abed5f77d667001d450",
            "unconfirmedSignature": 0,
            "secondSignature": 0,
            "secondPublicKey": null,
            "multisignatures": null,
            "u_multisignatures": null
          },
          "success": true,
          "nodeTimestamp": 63205623
        }
      },
      "GetBlockInfoResponseDto": {
        "required": [
          "block",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "block": {
            "$ref": "#/components/schemas/BlockInfoDto"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetBlocksResponseDto": {
        "required": [
          "blocks",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "blocks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BlockInfoDto"
            }
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetChatRoomsResponseDto": {
        "required": [
          "chats",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "chats": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "lastTransaction": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/TokenTransferTransaction"
                    },
                    {
                      "$ref": "#/components/schemas/ChatMessageTransaction"
                    }
                  ]
                },
                "participants": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ChatParticipant"
                  }
                }
              }
            }
          },
          "count": {
            "type": "integer",
            "description": "Total number of chatrooms available for the address (independent of `limit`/`offset`)."
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetChatMessagesResponseDto": {
        "required": [
          "messages",
          "participants",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "messages": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TokenTransferTransaction"
                },
                {
                  "$ref": "#/components/schemas/ChatMessageTransaction"
                }
              ]
            }
          },
          "participants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatParticipant"
            }
          },
          "count": {
            "type": "integer",
            "description": "Total number of messages in the chatroom (independent of `limit`/`offset`)."
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetChatTransactionsResponseDto": {
        "required": [
          "transactions",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ChatMessageTransaction"
            }
          },
          "count": {
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "CreateNewChatMessageRequestBody": {
        "required": [
          "transaction"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterChatMessageTransaction"
          }
        }
      },
      "CreateNewChatMessageResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "transactionId"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 63205623,
          "transactionId": "2515012750420367858"
        }
      },
      "GetDelegatesResponseDto": {
        "required": [
          "delegates",
          "totalCount",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "delegates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DelegateDto"
            }
          },
          "totalCount": {
            "type": "integer",
            "example": 254
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetDelegateResponseDto": {
        "required": [
          "delegate",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "delegate": {
            "$ref": "#/components/schemas/DelegateDto"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "RegisterDelegateRequestBody": {
        "$ref": "#/components/schemas/RegisterNewDelegateTransaction"
      },
      "RegisterDelegateResponseDto": {
        "required": [
          "transaction",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterDelegateTransactionDto"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "SearchDelegateResponseDto": {
        "required": [
          "delegates",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "delegates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SearchDelegateDto"
            }
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetDelegatesCountResponseDto": {
        "required": [
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "count": {
            "type": "integer",
            "example": 255
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "integer",
            "example": 61762271
          }
        }
      },
      "GetDelegateStatsResponseDto": {
        "required": [
          "fees",
          "rewards",
          "forged",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "fees": {
            "type": "string",
            "description": "Total sum of fees forged by delegate",
            "example": "586039475511"
          },
          "rewards": {
            "type": "string",
            "description": "Total sum of rewards made by delegate",
            "example": "3943485000000"
          },
          "forged": {
            "type": "string",
            "description": "Total sum of forged tokens",
            "example": "4529524475511"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetNextForgersResponseDto": {
        "required": [
          "currentBlock",
          "currentBlockSlot",
          "currentSlot",
          "delegates",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "delegates": {
            "type": "array",
            "description": "Public keys ordered by upcoming slots using the delegate schedule for `currentBlock + 1`. All entries use this next-block schedule; request a new snapshot after the node accepts another block.",
            "items": {
              "type": "string"
            },
            "example": [
              "677c6db63548c99674fed0571da522a6a9569d0c1da9669734a3625645519641",
              "150d638714f65845b50f1ff58f3da2c2baa3a1dc8bf59a9884c10da5a8e951c6"
            ]
          },
          "currentSlot": {
            "type": "integer",
            "description": "Current slot number",
            "example": 11610423
          },
          "currentBlock": {
            "type": "integer",
            "description": "Current blockchain height",
            "example": 10146268
          },
          "currentBlockSlot": {
            "type": "integer",
            "description": "Current block slot number",
            "example": 11610422
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetVotersResponseDto": {
        "required": [
          "accounts",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "accounts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VoterDto"
            }
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetAccountVotesResponseDto": {
        "required": [
          "delegates",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "delegates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DelegateDto"
            },
            "description": "List of delegates account voted for."
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "RegisterVotesRequestBody": {
        "$ref": "#/components/schemas/RegisterVoteForDelegateTransaction"
      },
      "RegisterVotesResponseDto": {
        "required": [
          "transaction",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterVotesTransactionDto"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 61762271
          }
        }
      },
      "GetPeersResponseDto": {
        "required": [
          "peers",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "peers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PeerDto"
            }
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetPeerInfoResponseDto": {
        "required": [
          "peer",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "peer": {
            "$ref": "#/components/schemas/PeerDto"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        }
      },
      "GetLoadingStatusResponseDto": {
        "required": [
          "loaded",
          "now",
          "blocksCount",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "loaded": {
            "type": "boolean"
          },
          "now": {
            "type": "integer"
          },
          "blocksCount": {
            "type": "integer"
          },
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          }
        },
        "example": {
          "loaded": true,
          "now": 10144343,
          "blocksCount": 0,
          "success": true,
          "nodeTimestamp": 58052355
        }
      },
      "GetSyncStatusResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "syncing",
          "blocks",
          "height",
          "broadhash",
          "consensus"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "syncing": {
            "type": "boolean"
          },
          "blocks": {
            "type": "integer"
          },
          "height": {
            "type": "integer"
          },
          "broadhash": {
            "type": "string"
          },
          "consensus": {
            "type": "number"
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58052355,
          "syncing": false,
          "blocks": 0,
          "height": 10146332,
          "broadhash": "09f2f5614cf7209979dc1df2dd92d16aade904dae6c9b68bccaeb234647b3c18",
          "consensus": 94.32
        }
      },
      "GetPingStatusResponseDto": {
        "required": [
          "success"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          }
        },
        "example": {
          "success": true
        }
      },
      "GetNodeVersionResponseDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NodeVersion"
          },
          {
            "type": "object",
            "required": [
              "success",
              "nodeTimestamp"
            ],
            "properties": {
              "success": {
                "type": "boolean",
                "example": true
              },
              "nodeTimestamp": {
                "type": "number",
                "example": 58052984
              }
            }
          }
        ]
      },
      "GetBroadhashResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "broadhash"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "broadhash": {
            "type": "string",
            "description": "Broadhash is established as an aggregated rolling hash of the past five blocks present in the database"
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58052355,
          "broadhash": "e1aedd2818679c174e3f6e31891c34f4069927f33f145e1b81fe5d978733e794"
        }
      },
      "GetEpochResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "epoch"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "epoch": {
            "type": "string",
            "description": "Time when blockchain epoch starts. Value `2017-09-02T17:00:00.000Z` is for mainnet."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "epoch": "2017-09-02T17:00:00.000Z"
        }
      },
      "GetHeightResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "height"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "height": {
            "type": "integer",
            "description": "Current node height."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "height": 10145318
        }
      },
      "GetTokenTransferFeeResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "fee"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "fee": {
            "type": "integer",
            "description": "Current fee value for `type 0` (token transfer) transactions. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000)."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "fee": 50000000
        }
      },
      "GetTransactionTypesFeesResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "fees"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 58646306
          },
          "fees": {
            "$ref": "#/components/schemas/TransactionTypesFeesDto"
          }
        }
      },
      "GetNethashResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "nethash"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "nethash": {
            "type": "string",
            "description": "The `nethash` describes e.g. the Mainnet or the Testnet, that the node is connecting to."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "nethash": "bd330166898377fb28743ceef5e43a5d9d0a3efd9b3451fb7bc53530bb0a6d64"
        }
      },
      "GetMilestoneResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "milestone"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "milestone": {
            "type": "integer",
            "description": "Current slot height, which determines reward a delegate will get for forging a block."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "milestone": 1
        }
      },
      "GetRewardResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "reward"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "reward": {
            "type": "integer",
            "description": "The reward a delegate will get for forging a block. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000). Depends on the slot height."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "reward": 45000000
        }
      },
      "GetTokensTotalSupplyResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "supply"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "supply": {
            "type": "integer",
            "description": "Total current supply of ADM tokens in the network. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000). Total supply increases with every new forged block."
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 58646306,
          "supply": 10198038140000000
        }
      },
      "GetNetworkInfoResponseDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/NetworkStatus"
          },
          {
            "type": "object",
            "required": [
              "success",
              "nodeTimestamp"
            ],
            "properties": {
              "success": {
                "type": "boolean"
              },
              "nodeTimestamp": {
                "type": "number"
              }
            }
          }
        ]
      },
      "GetNodeStatusResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "nodeTimestampMs",
          "unixTimestampMs",
          "loader",
          "network",
          "consensusSchedule",
          "milestoneSchedule",
          "version",
          "wsClient"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 58052984,
            "description": "Current node time measured in seconds since the ADAMANT epoch."
          },
          "nodeTimestampMs": {
            "type": "number",
            "example": 58052984123,
            "description": "Current node time measured in milliseconds since the ADAMANT epoch. This is node clock metadata and is not consensus data."
          },
          "unixTimestampMs": {
            "type": "number",
            "example": 1562424584123,
            "description": "Current node time measured in Unix milliseconds. This is node clock metadata and is not consensus data."
          },
          "loader": {
            "required": [
              "loaded",
              "now",
              "syncing",
              "consensus",
              "blocks",
              "blocksCount"
            ],
            "properties": {
              "loaded": {
                "type": "boolean"
              },
              "now": {
                "type": "number"
              },
              "syncing": {
                "type": "boolean"
              },
              "consensus": {
                "type": "number"
              },
              "blocks": {
                "type": "number"
              },
              "blocksCount": {
                "type": "number"
              }
            },
            "example": {
              "loaded": true,
              "now": 4819,
              "syncing": true,
              "consensus": 0,
              "blocks": 15145334,
              "blocksCount": 0
            }
          },
          "network": {
            "$ref": "#/components/schemas/NetworkStatus"
          },
          "consensusSchedule": {
            "type": "object",
            "required": [
              "activationHeights"
            ],
            "properties": {
              "activationHeights": {
                "type": "object",
                "description": "Effective runtime activation heights after configuration defaults, the selected configuration file, and startup overrides are merged. Values are network- and configuration-specific.",
                "additionalProperties": {
                  "type": "integer",
                  "minimum": 1
                },
                "example": {
                  "fairSystem": 4359465,
                  "spaceship": 100000000
                }
              }
            }
          },
          "milestoneSchedule": {
            "type": "object",
            "required": [
              "offset",
              "distance",
              "milestones"
            ],
            "properties": {
              "offset": {
                "type": "integer",
                "description": "First block height that receives a block reward.",
                "example": 2000000
              },
              "distance": {
                "type": "integer",
                "description": "Number of block heights between reward milestones.",
                "example": 6300000
              },
              "milestones": {
                "type": "array",
                "description": "Block rewards by milestone in base units (1 ADM = 100000000).",
                "items": {
                  "type": "integer"
                },
                "example": [
                  50000000,
                  45000000,
                  40000000,
                  35000000,
                  30000000,
                  25000000,
                  20000000,
                  15000000,
                  10000000
                ]
              }
            }
          },
          "version": {
            "$ref": "#/components/schemas/NodeVersion"
          },
          "wsClient": {
            "$ref": "#/components/schemas/WsClient"
          }
        }
      },
      "GetKVSRequestBody": {
        "type": "object",
        "description": "Filter payload for `POST /api/states/get`. All filters combine with AND; `and:`-prefixed field names are accepted as aliases for plain field names, while `or:` filters, unknown fields, and conflicting plain/`and:` values are rejected.",
        "properties": {
          "type": {
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "example": 0
          },
          "senderId": {
            "type": "string",
            "example": "U14236667426471084862"
          },
          "senderIds": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "string"
              }
            ],
            "description": "Array of ADAMANT sender addresses or a comma-separated string."
          },
          "key": {
            "type": "string",
            "example": "eth:address"
          },
          "keyIds": {
            "oneOf": [
              {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              {
                "type": "string"
              }
            ],
            "description": "Array of KVS keys or a comma-separated string."
          },
          "fromHeight": {
            "type": "integer",
            "minimum": 1
          },
          "toHeight": {
            "type": "integer",
            "minimum": 1
          },
          "orderBy": {
            "type": "string",
            "example": "timestamp:desc"
          },
          "limit": {
            "type": "integer",
            "minimum": 1,
            "maximum": 1000,
            "default": 100
          },
          "offset": {
            "type": "integer",
            "minimum": 0,
            "default": 0
          },
          "returnUnconfirmed": {
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "default": 0
          }
        }
      },
      "GetKVSResponseDto": {
        "required": [
          "transactions",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/KVSTransaction"
            }
          },
          "count": {
            "type": "integer",
            "example": 1
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "SetKVSRequestBody": {
        "required": [
          "transaction"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterKVSTransaction"
          }
        }
      },
      "SetKVSResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "transactionId"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "transactionId": {
            "type": "string"
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 63410860,
          "transactionId": "3888802408802922744"
        }
      },
      "GetTransactionsResponseDto": {
        "required": [
          "transactions",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnyTransaction"
            }
          },
          "count": {
            "type": "integer",
            "example": 1
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "GetTransactionByIdResponseDto": {
        "required": [
          "transaction",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/AnyTransaction"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "GetTransactionsCountResponseDto": {
        "required": [
          "success",
          "nodeTimestamp",
          "confirmed",
          "unconfirmed",
          "queued",
          "multisignature"
        ],
        "properties": {
          "success": {
            "type": "boolean"
          },
          "nodeTimestamp": {
            "type": "number"
          },
          "confirmed": {
            "type": "integer"
          },
          "unconfirmed": {
            "type": "integer"
          },
          "queued": {
            "type": "integer"
          },
          "multisignature": {
            "type": "integer"
          }
        },
        "example": {
          "success": true,
          "nodeTimestamp": 59979539,
          "confirmed": 256953,
          "unconfirmed": 44,
          "queued": 4,
          "multisignature": 0
        }
      },
      "GetQueuedTransactionsResponseDto": {
        "required": [
          "transactions",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueuedTransaction"
            }
          },
          "count": {
            "type": "integer",
            "example": 1
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "GetQueuedTransactionByIdResponseDto": {
        "required": [
          "transaction",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/QueuedTransaction"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "GetUnconfirmedTransactionsResponseDto": {
        "required": [
          "transactions",
          "count",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QueuedTransaction"
            }
          },
          "count": {
            "type": "integer",
            "example": 1
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "GetUnconfirmedTransactionByIdResponseDto": {
        "required": [
          "transaction",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/QueuedTransaction"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "TransferTokenRequestBody": {
        "required": [
          "transaction"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterTokenTransferTransaction"
          }
        }
      },
      "TransferTokenResponseDto": {
        "required": [
          "transactionId",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactionId": {
            "type": "string",
            "example": "6146865104403680934"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "RegisterTransactionRequestBody": {
        "required": [
          "transaction"
        ],
        "properties": {
          "transaction": {
            "$ref": "#/components/schemas/RegisterAnyTransaction"
          }
        }
      },
      "RegisterTransactionResponseDto": {
        "required": [
          "transactionId",
          "success",
          "nodeTimestamp"
        ],
        "properties": {
          "transactionId": {
            "type": "string",
            "example": "6146865104403680934"
          },
          "success": {
            "type": "boolean",
            "example": true
          },
          "nodeTimestamp": {
            "type": "number",
            "example": 63647706
          }
        }
      },
      "PublicKey": {
        "type": "string",
        "description": "256 bit public key of ADAMANT address in hex format",
        "example": "ef5e78a3d02e6d82f4ac0c5b8923c1b86185bd17c27c9ac027c20ec62db79a84"
      },
      "AccountDto": {
        "required": [
          "address",
          "unconfirmedBalance",
          "balance",
          "publicKey",
          "unconfirmedSignature",
          "secondSignature",
          "secondPublicKey",
          "multisignatures",
          "u_multisignatures"
        ],
        "properties": {
          "address": {
            "type": "string"
          },
          "unconfirmedBalance": {
            "type": "string",
            "format": "int64"
          },
          "balance": {
            "type": "string",
            "format": "int64"
          },
          "publicKey": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "unconfirmedSignature": {
            "type": "number"
          },
          "secondSignature": {
            "type": "number"
          },
          "secondPublicKey": {
            "type": [
              "string",
              "null"
            ]
          },
          "multisignatures": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": []
          },
          "u_multisignatures": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": []
          }
        }
      },
      "AdamantAddress": {
        "type": "string",
        "description": "ADAMANT address",
        "example": "U8916295525136600565"
      },
      "GetTopAccountDto": {
        "required": [
          "address",
          "balance",
          "publicKey",
          "username",
          "isDelegate"
        ],
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AdamantAddress"
          },
          "balance": {
            "type": "string",
            "format": "int64",
            "description": "Confirmed ADM balance in 1/10^8 ADM units."
          },
          "publicKey": {
            "type": [
              "string",
              "null"
            ],
            "description": "256 bit public key of the ADAMANT address in hex format, or `null` when the account has not published it yet."
          },
          "username": {
            "type": [
              "string",
              "null"
            ],
            "description": "Delegate username, or `null` when the account is not a delegate."
          },
          "isDelegate": {
            "type": "integer",
            "enum": [
              0,
              1
            ],
            "description": "Whether the account is registered as a delegate."
          }
        },
        "example": {
          "address": "U777355171330060015",
          "balance": "4509718944753",
          "publicKey": "a9407418dafb3c8aeee28f3263fd55bae0f528a5697a9df0e77e6568b19dfe34",
          "username": "adamant_delegate",
          "isDelegate": 1
        }
      },
      "BlockInfoDto": {
        "required": [
          "id",
          "version",
          "timestamp",
          "height",
          "previousBlock",
          "numberOfTransactions",
          "totalAmount",
          "totalFee",
          "reward",
          "payloadLength",
          "payloadHash",
          "generatorPublicKey",
          "generatorId",
          "blockSignature",
          "confirmations",
          "totalForged"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "int64"
          },
          "version": {
            "type": "number"
          },
          "timestamp": {
            "type": "number"
          },
          "height": {
            "type": "number"
          },
          "previousBlock": {
            "type": "string",
            "format": "int64"
          },
          "numberOfTransactions": {
            "type": "number"
          },
          "totalAmount": {
            "type": "number"
          },
          "totalFee": {
            "type": "number"
          },
          "reward": {
            "type": "number"
          },
          "payloadLength": {
            "type": "number"
          },
          "payloadHash": {
            "type": "string"
          },
          "generatorPublicKey": {
            "type": "string"
          },
          "generatorId": {
            "type": "string"
          },
          "blockSignature": {
            "type": "string"
          },
          "confirmations": {
            "type": "number"
          },
          "totalForged": {
            "type": "string",
            "format": "int64"
          }
        },
        "example": {
          "id": "11114690216332606721",
          "version": 0,
          "timestamp": 61741820,
          "height": 10873829,
          "previousBlock": "11483763337863654141",
          "numberOfTransactions": 1,
          "totalAmount": 10000000,
          "totalFee": 50000000,
          "reward": 45000000,
          "payloadLength": 117,
          "payloadHash": "f7c0fa338a3a848119cad999d8035ab3fcb3d274a4555e141ebeb86205e41345",
          "generatorPublicKey": "134a5de88c7da1ec71e75b5250d24168c6c6e3965ff16bd71497bd015d40ea6a",
          "generatorId": "U3238410389688281135",
          "blockSignature": "18607b15417a6b0a56b4c74cacd713ad7a10df16ec3ab45a697fa72b6f811f9213d895b7e0fbca71cf74323d60148d0991668e5368386408f4d841496ed2280d",
          "confirmations": 1093,
          "totalForged": "95000000"
        }
      },
      "BaseTransaction": {
        "required": [
          "id",
          "height",
          "blockId",
          "type",
          "block_timestamp",
          "timestamp",
          "senderPublicKey",
          "senderId",
          "recipientId",
          "recipientPublicKey",
          "amount",
          "fee",
          "signature",
          "signatures",
          "confirmations",
          "asset"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "height": {
            "type": "number"
          },
          "blockId": {
            "type": "string"
          },
          "type": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "example": 0,
            "description": "Type of transaction. See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html)."
          },
          "block_timestamp": {
            "type": "number"
          },
          "timestamp": {
            "type": "number",
            "description": "Transaction time specified by the sender, measured in seconds since the ADAMANT epoch."
          },
          "timestampMs": {
            "type": [
              "number",
              "null"
            ],
            "description": "Optional transaction time specified by the sender, measured in milliseconds since the ADAMANT epoch. Returned when a node has stored it; for blockchain consensus-sensitive data this works after the `spaceship` activation. When present, it belongs to the same second as `timestamp`, so clients should prefer it for timestamp ordering and fall back to `timestamp * 1000` when it is absent."
          },
          "senderPublicKey": {
            "type": "string"
          },
          "senderId": {
            "type": "string"
          },
          "recipientId": {
            "type": "string"
          },
          "recipientPublicKey": {
            "type": "string"
          },
          "amount": {
            "type": "number",
            "format": "int64",
            "description": "Amount to transfer, 8 decimal points (100000000 equals to 1 ADM). For non-transfer transactions must be `0`"
          },
          "fee": {
            "type": "number",
            "description": "Fee for operation. Depends on [Transaction Type](https://docs.adamant.im/api-types/transaction-types.html)"
          },
          "signature": {
            "type": "string"
          },
          "signatures": {
            "type": "array",
            "items": {
              "type": "string",
              "example": []
            }
          },
          "confirmations": {
            "type": "number"
          },
          "asset": {
            "type": "object",
            "example": {}
          }
        }
      },
      "TokenTransferAsset": {
        "type": "object",
        "properties": {},
        "example": {},
        "description": "An empty object"
      },
      "TokenTransferTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransaction"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  0
                ],
                "example": 0,
                "description": "Always equal to `0`"
              },
              "asset": {
                "$ref": "#/components/schemas/TokenTransferAsset"
              }
            }
          }
        ],
        "example": {
          "id": 16682447412632443000,
          "height": 10527806,
          "blockId": 2635215585577611300,
          "type": 0,
          "block_timestamp": 59979295,
          "timestamp": 59979276,
          "senderPublicKey": "632816f2c44a08f282e85532443d73286cadc6d9820d5d25c9d50d8e01c668e0",
          "senderId": "U17362714543155685887",
          "recipientId": "U17819800352812315500",
          "recipientPublicKey": "28994b2cd075fd442e6ce78fa8c07966ed122932ff07411fed3c918e495586e2",
          "amount": 100000000,
          "fee": 50000000,
          "signature": "1db7e9111eaca790b73d51c32572739c46fcba3962aff55ca47ecf9a8c9fcb82c323de39ed60bc87d81a1245d43b5351b9dd44ad70128d78536250168b64c408",
          "signatures": [],
          "confirmations": 18431929,
          "asset": {}
        }
      },
      "ChatMessageAsset": {
        "type": "object",
        "required": [
          "chat"
        ],
        "properties": {
          "chat": {
            "type": "object",
            "required": [
              "message",
              "own_message",
              "type"
            ],
            "properties": {
              "message": {
                "type": "string",
                "description": "Encrypted message"
              },
              "own_message": {
                "type": "string",
                "description": "Nonce"
              },
              "type": {
                "type": "integer",
                "enum": [
                  1,
                  2,
                  3
                ],
                "description": "Type of chat message (1 - Basic Encrypted Message, 2 - Rich Content Message, 3 - Signal Message). See details https://docs.adamant.im/api-types/message-types.html"
              }
            }
          }
        },
        "example": {
          "chat": {
            "message": "748e4e9cffc969dfa4c1d7b9b708cb171c9e",
            "own_message": "96904970891b838c9a3ab1b9a6f31ec194ec94ffaa95d0cd",
            "type": 1
          }
        }
      },
      "ChatMessageTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransaction"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  8
                ],
                "example": 8,
                "description": "Always equal to `8`"
              },
              "asset": {
                "$ref": "#/components/schemas/ChatMessageAsset"
              }
            }
          }
        ],
        "example": {
          "id": 17242227802580636000,
          "height": 7583081,
          "blockId": 10363608465961390000,
          "type": 8,
          "block_timestamp": 64874935,
          "timestamp": 64874929,
          "senderPublicKey": "b34d48d8d70b3a91f766df34789abf0cad62da7207e171d997508a460217c5d3",
          "senderId": "U13267906643444995032",
          "recipientId": "U9203183357885757380",
          "recipientPublicKey": "741d3d1f52e609eef981e9ab370ec1e7c3ff70cafad94691937a2bb6d84bbff2",
          "amount": 0,
          "fee": 100000,
          "signature": "8803346cf43457aba3480311ee489706ec66493fa043c4d1732682eb86e88d96f36a7e87c1d0d00dd3963f75e763e5554df402ee0aa79bd59bd55185a6e49a03",
          "signatures": [],
          "confirmations": 23229462,
          "asset": {
            "chat": {
              "message": "2f045f1d4a5198843999e2948b0cc78806",
              "own_message": "a7cd3fa21e543dcc9f0564387d83c4d862137a2da37f29d4",
              "type": 1
            }
          }
        }
      },
      "ChatParticipant": {
        "required": [
          "address",
          "publicKey"
        ],
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AdamantAddress"
          },
          "publicKey": {
            "$ref": "#/components/schemas/PublicKey"
          }
        }
      },
      "RegisterTransactionBase": {
        "required": [
          "type",
          "amount",
          "senderId",
          "senderPublicKey",
          "signature",
          "timestamp"
        ],
        "properties": {
          "type": {
            "type": "integer"
          },
          "amount": {
            "type": "integer"
          },
          "senderId": {
            "type": "string"
          },
          "senderPublicKey": {
            "type": "string"
          },
          "signature": {
            "type": "string"
          },
          "timestamp": {
            "type": "integer",
            "description": "Transaction time measured in seconds since the ADAMANT epoch."
          },
          "timestampMs": {
            "type": "integer",
            "description": "Optional transaction time measured in milliseconds since the ADAMANT epoch. Supported by upgraded nodes and stored in consensus-sensitive transaction data after the `spaceship` activation. If provided, clients should derive `timestamp` from the same value using `Math.floor(timestampMs / 1000)`; `round` or `ceil` can create an invalid timestamp pair."
          }
        },
        "example": {
          "type": 0,
          "amount": 0,
          "senderId": "U14236667426471084862",
          "senderPublicKey": "8cd9631f9f634a361ea3b85cbd0df882633e39e7d26d7bc615bbcf75e41524ef",
          "signature": "b3982d603be8f0246fa663e9f012bf28b198cd28f82473db1eb4a342d890f7a2a2c1845db8d256bb5bce1e64a9425822a91e10bf960a2e0b55e20b4841e4ae0b",
          "timestamp": 63228852,
          "timestampMs": 63228852123
        }
      },
      "RegisterChatMessageTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegisterTransactionBase"
          },
          {
            "type": "object",
            "required": [
              "type",
              "asset",
              "recipientId"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  8
                ],
                "example": 8,
                "description": "Always equal to `8`"
              },
              "recipientId": {
                "type": "string"
              },
              "asset": {
                "$ref": "#/components/schemas/ChatMessageAsset"
              }
            }
          }
        ]
      },
      "DelegateBaseDto": {
        "required": [
          "username",
          "address",
          "publicKey",
          "vote",
          "votesWeight",
          "producedblocks",
          "missedblocks",
          "rate",
          "rank",
          "approval",
          "productivity"
        ],
        "properties": {
          "username": {
            "type": "string",
            "description": "Unique delegate's nickname"
          },
          "address": {
            "type": "string",
            "description": "Delegate address"
          },
          "publicKey": {
            "type": "string",
            "description": "Delegate Public Key"
          },
          "vote": {
            "type": "string",
            "description": "Vote weight (obsolete, not used)"
          },
          "votesWeight": {
            "type": "string",
            "description": "Vote weight (Fair Delegate System)"
          },
          "producedblocks": {
            "type": "integer",
            "description": "Count of produced blocks"
          },
          "missedblocks": {
            "type": "integer",
            "description": "Count of missed blocks"
          },
          "rate": {
            "type": "integer",
            "description": "Current position in the Delegates List"
          },
          "rank": {
            "type": "integer",
            "description": "Current position in the Delegates List"
          },
          "approval": {
            "type": "number",
            "description": "Share of votes of all votes in the system"
          },
          "productivity": {
            "type": "number",
            "description": "Productivity / Uptime of a delegate. If `0`, delegate is not active now"
          }
        }
      },
      "DelegateDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DelegateBaseDto"
          },
          {
            "type": "object",
            "required": [
              "forged"
            ],
            "properties": {
              "forged": {
                "type": "string",
                "pattern": "^\\d+$",
                "description": "Lifetime sum of block fees and rewards as a base-10 integer string in base units (1 ADM = 100000000)."
              }
            }
          }
        ],
        "example": {
          "username": "galaxy",
          "address": "U17457189553820283321",
          "publicKey": "7e26562594685ba12c0bb99ae80692947828afb71962d54634795d78b3ea7023",
          "vote": "248994436803629",
          "votesWeight": "83910064952101",
          "producedblocks": 269879,
          "missedblocks": 567,
          "rate": 10,
          "rank": 10,
          "approval": 0.76,
          "productivity": 99.79,
          "forged": "195607450000000"
        }
      },
      "RegisterNewDelegateTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegisterTransactionBase"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  2
                ],
                "example": 2,
                "description": "Should be always equal to `2`"
              },
              "asset": {
                "type": "object",
                "required": [
                  "delegate"
                ],
                "properties": {
                  "delegate": {
                    "type": "object",
                    "required": [
                      "username",
                      "publicKey"
                    ],
                    "properties": {
                      "username": {
                        "type": "string"
                      },
                      "publicKey": {
                        "$ref": "#/components/schemas/PublicKey"
                      }
                    }
                  }
                }
              }
            }
          }
        ],
        "example": {
          "type": 2,
          "amount": 0,
          "senderId": "U3031563782805250428",
          "senderPublicKey": "a339974effc141f302bd3589c603bdc9468dd66bcc424b60025b36999eb69ca3",
          "signature": "c2e4a3ef7f0d363611a2b22b96feff269f1a0cbb61741a2ce55756bb9324826092fd9bff6348145e3cc384c097f101a493b9136da5236292ecf8b1ed6657dd01",
          "timestamp": 166805250,
          "asset": {
            "delegate": {
              "username": "kpeo",
              "publicKey": "a339974effc141f302bd3589c603bdc9468dd66bcc424b60025b36999eb69ca3"
            }
          }
        }
      },
      "QueuedTransaction": {
        "required": [
          "recipientId",
          "amount",
          "type",
          "senderId",
          "senderPublicKey",
          "timestamp",
          "signature",
          "id",
          "fee",
          "relays",
          "receivedAt",
          "blockId",
          "height",
          "confirmations"
        ],
        "properties": {
          "recipientId": {
            "type": "string",
            "example": "U14236667426471084862"
          },
          "amount": {
            "type": "integer",
            "example": 0
          },
          "type": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9,
            "example": 3,
            "description": "See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html)"
          },
          "senderId": {
            "type": "string",
            "example": "U14236667426471084862"
          },
          "senderPublicKey": {
            "type": "string",
            "example": "8cd9631f9f634a361ea3b85cbd0df882633e39e7d26d7bc615bbcf75e41524ef"
          },
          "timestamp": {
            "type": "integer",
            "example": 63394407
          },
          "timestampMs": {
            "type": [
              "integer",
              "null"
            ],
            "example": 63394407123,
            "description": "Optional transaction time measured in milliseconds since the ADAMANT epoch. Available for transactions that include it; for consensus-sensitive blockchain storage it works after the `spaceship` activation. When present, it belongs to the same second as `timestamp`."
          },
          "signature": {
            "type": "string",
            "example": "7f4f5d240fc66da1cbdb3fe291d6fcec006848236355aebe346fcd1e3ba500caeac1ed0af6f3d7f912a889a1bbedc1d7bab17b6ebd36386b81df78189ddf7c07"
          },
          "id": {
            "type": "string",
            "example": "13616514419605573351"
          },
          "fee": {
            "type": "integer",
            "example": 5000000000
          },
          "relays": {
            "type": "integer",
            "example": 1
          },
          "receivedAt": {
            "type": "string",
            "description": "Date and time in ISO 8601 format",
            "example": "2019-09-06T10:33:28.054Z"
          },
          "blockId": {
            "type": "null",
            "const": null
          },
          "height": {
            "type": "null",
            "const": null
          },
          "confirmations": {
            "type": "number",
            "const": 0
          }
        }
      },
      "RegisterDelegateAsset": {
        "type": "object",
        "required": [
          "delegate"
        ],
        "properties": {
          "delegate": {
            "type": "object",
            "required": [
              "address",
              "username",
              "publicKey"
            ],
            "properties": {
              "address": {
                "$ref": "#/components/schemas/AdamantAddress"
              },
              "username": {
                "type": "string"
              },
              "publicKey": {
                "$ref": "#/components/schemas/PublicKey"
              }
            }
          }
        },
        "example": {
          "delegate": {
            "address": "U3031563782805250428",
            "username": "kpeo",
            "publicKey": "a339974effc141f302bd3589c603bdc9468dd66bcc424b60025b36999eb69ca3"
          }
        }
      },
      "RegisterDelegateTransactionDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/QueuedTransaction"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type"
            ],
            "properties": {
              "asset": {
                "$ref": "#/components/schemas/RegisterDelegateAsset"
              },
              "type": {
                "type": "integer",
                "enum": [
                  2
                ],
                "example": 2,
                "description": "Always equal to `2`"
              },
              "fee": {
                "type": "integer",
                "enum": [
                  300000000000
                ],
                "example": 300000000000,
                "description": "Always equal to `300000000000`"
              }
            }
          }
        ]
      },
      "SearchDelegateDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DelegateBaseDto"
          },
          {
            "type": "object",
            "required": [
              "voters_cnt",
              "register_timestamp"
            ],
            "properties": {
              "voters_cnt": {
                "type": "integer",
                "description": "Number of accounts who voted for delegate",
                "example": 12
              },
              "register_timestamp": {
                "type": "integer",
                "description": "Epoch timestamp of when delegate was registered",
                "example": 45523238
              }
            }
          }
        ]
      },
      "VoterDto": {
        "required": [
          "username",
          "address",
          "publicKey",
          "balance"
        ],
        "properties": {
          "username": {
            "type": [
              "string",
              "null"
            ],
            "description": "Voter's delegate username. `null` if address is not a delegate."
          },
          "address": {
            "type": "string",
            "description": "Voter's ADAMANT address"
          },
          "publicKey": {
            "type": "string",
            "description": "Voter's ADAMANT public key"
          },
          "balance": {
            "type": "string",
            "description": "ADM balance of voter's ADAMANT wallet. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000)"
          }
        },
        "example": {
          "username": "leg",
          "address": "U12609717384103730908",
          "publicKey": "559418798f67a81b7f893aa8eab1218b9838a6b0bcd2bc8968c6d490ae0d5d77",
          "balance": "506697"
        }
      },
      "VoteForDelegateAsset": {
        "type": "object",
        "required": [
          "votes"
        ],
        "properties": {
          "votes": {
            "type": "array",
            "items": {
              "type": "string",
              "description": "Delegate public key. Leave as is for Upvote or prefix the public key with minus sign (`-`) for Downvote",
              "example": "-c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b"
            }
          }
        },
        "example": {
          "votes": [
            "-c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b",
            "ac903ab58135cd5f0613a929d876953214d224034b73c33e63bc153d669447f4"
          ]
        }
      },
      "RegisterVoteForDelegateTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegisterTransactionBase"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "recipientId",
              "type",
              "senderId"
            ],
            "properties": {
              "asset": {
                "$ref": "#/components/schemas/VoteForDelegateAsset"
              },
              "recipientId": {
                "type": "string",
                "description": "ADAMANT address of account who votes. Same as `senderId`",
                "example": "U14236667426471084862"
              },
              "type": {
                "type": "integer",
                "enum": [
                  3
                ],
                "example": 3,
                "description": "Should be always equal to `3`"
              },
              "senderId": {
                "type": "string",
                "description": "ADAMANT address of account who votes. Same as `recipientId`",
                "example": "U14236667426471084862"
              }
            }
          }
        ]
      },
      "RegisterVotesTransactionDto": {
        "allOf": [
          {
            "$ref": "#/components/schemas/QueuedTransaction"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type",
              "success",
              "nodeTimestamp"
            ],
            "properties": {
              "asset": {
                "$ref": "#/components/schemas/VoteForDelegateAsset"
              },
              "type": {
                "type": "integer",
                "enum": [
                  3
                ],
                "example": 3,
                "description": "Always equal to `3`"
              },
              "success": {
                "type": "boolean",
                "example": true
              },
              "nodeTimestamp": {
                "type": "number",
                "example": 61762271
              }
            }
          }
        ]
      },
      "PeerDto": {
        "required": [
          "ip",
          "port",
          "state",
          "os",
          "version",
          "broadhash",
          "height",
          "clock",
          "updated",
          "nonce",
          "isBroadcastingViaSocket",
          "syncProtocol"
        ],
        "properties": {
          "ip": {
            "type": "string",
            "description": "IPv4 address of node"
          },
          "port": {
            "type": "string",
            "description": "Port number of ADAMANT node. `36666` for mainnet or `36667` for testnet"
          },
          "state": {
            "type": "integer",
            "description": "State of the peer. Available values: Connected (2), Disconnected, Banned"
          },
          "os": {
            "type": "string",
            "description": "Node's operating system"
          },
          "version": {
            "type": "string",
            "description": "ADAMANT node software version"
          },
          "broadhash": {
            "type": "string",
            "description": "Broadhash on the peer node. Broadhash is established as an aggregated rolling hash of the past five blocks present in the database."
          },
          "height": {
            "type": "integer",
            "description": "Current node's blockchain height"
          },
          "clock": {
            "type": [
              "string",
              "null"
            ]
          },
          "updated": {
            "type": "integer",
            "description": "Unix timestamp based in ms, when peer updated"
          },
          "nonce": {
            "type": "string",
            "description": "Unique Identifier for the peer. Random string."
          },
          "isBroadcastingViaSocket": {
            "type": "boolean",
            "description": "Indicates whether the node can send transactions to the peer over WebSocket."
          },
          "syncProtocol": {
            "type": "string",
            "enum": [
              "http",
              "ws"
            ],
            "description": "Indicates the protocol used to subscribe to the peer: 'http' if using HTTP only, or 'ws' if using WebSocket, which also allows receiving transactions via both WebSocket and HTTP."
          }
        },
        "example": {
          "ip": "194.32.79.175",
          "port": 36666,
          "state": 2,
          "os": "linux4.15.0-36-generic",
          "version": "0.4.0",
          "broadhash": "3dfdf6c7bbaf7537eac9c70432f7ba1cae835b9b15e4ecd97e147616dde67e62",
          "height": 10146365,
          "clock": null,
          "updated": 1562424199553,
          "nonce": "jxXV6g0sHJhmDubq",
          "isBroadcastingViaSocket": false,
          "syncProtocol": "ws"
        }
      },
      "NodeVersion": {
        "required": [
          "build",
          "commit",
          "version"
        ],
        "properties": {
          "build": {
            "type": "string"
          },
          "commit": {
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "example": {
          "build": "",
          "commit": "b07aaf9580dffb5cc95cc65f303f6f1e5fca7d9c",
          "version": "0.5.2"
        }
      },
      "TransactionTypesFeesDto": {
        "required": [
          "send",
          "vote",
          "delegate",
          "old_chat_message",
          "chat_message",
          "state_store",
          "profile_update",
          "avatar_upload"
        ],
        "properties": {
          "send": {
            "type": "integer",
            "description": "Token transfer, type 0"
          },
          "vote": {
            "type": "integer",
            "description": "Voting for delegate, type 3"
          },
          "delegate": {
            "type": "integer",
            "description": "Registration of a new delegate, type 2"
          },
          "old_chat_message": {
            "type": "integer",
            "description": "Sending a message (not used for now)"
          },
          "chat_message": {
            "type": "integer",
            "description": "Sending a message, type 8"
          },
          "state_store": {
            "type": "integer",
            "description": "Storing data in KVS, type 9"
          },
          "profile_update": {
            "type": "integer"
          },
          "avatar_upload": {
            "type": "integer"
          }
        },
        "example": {
          "send": 50000000,
          "vote": 5000000000,
          "delegate": 300000000000,
          "old_chat_message": 500000,
          "chat_message": 100000,
          "state_store": 100000,
          "profile_update": 5000000,
          "avatar_upload": 10000000
        }
      },
      "NetworkStatus": {
        "required": [
          "broadhash",
          "epoch",
          "height",
          "consensusCodeName",
          "fee",
          "milestone",
          "nethash",
          "reward",
          "supply"
        ],
        "properties": {
          "broadhash": {
            "type": "string",
            "description": "Broadhash is established as an aggregated rolling hash of the past five blocks present in the database"
          },
          "epoch": {
            "type": "string",
            "description": "Time when blockchain epoch starts. Value `2017-09-02T17:00:00.000Z` is for mainnet."
          },
          "height": {
            "type": "integer"
          },
          "consensusCodeName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Latest cumulative consensus upgrade active at `height`, or `null` before the first configured activation. An upgrade configured for height H is active starting at block H."
          },
          "fee": {
            "type": "integer"
          },
          "milestone": {
            "type": "integer",
            "description": "Current slot height, which determines reward a delegate will get for forging a block."
          },
          "nethash": {
            "type": "string",
            "description": "The `nethash` describes e.g. the Mainnet or the Testnet, that the node is connecting to."
          },
          "reward": {
            "type": "integer",
            "description": "The reward a delegate will get for forging a block. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000)."
          },
          "supply": {
            "type": "integer",
            "description": "Total current supply of ADM tokens in the network. Integer amount of 1/10^8 ADM tokens (1 ADM = 100000000)."
          }
        },
        "example": {
          "broadhash": "4a28272c915f74d118120bb47db547a18a7512e1d48092c48be86939a6d45b89",
          "epoch": "2017-09-02T17:00:00.000Z",
          "height": 10145334,
          "consensusCodeName": "fairSystem",
          "fee": 50000000,
          "milestone": 1,
          "nethash": "bd330166898377fb28743ceef5e43a5d9d0a3efd9b3451fb7bc53530bb0a6d64",
          "reward": 45000000,
          "supply": 10198040075000000
        }
      },
      "WsClient": {
        "required": [
          "enabled",
          "port"
        ],
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "port": {
            "type": "integer"
          }
        },
        "example": {
          "enabled": true,
          "port": 36668
        }
      },
      "KVSTransactionAsset": {
        "type": "object",
        "required": [
          "state"
        ],
        "properties": {
          "state": {
            "type": "object",
            "required": [
              "key",
              "value",
              "type"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "value": {
                "type": "string"
              },
              "type": {
                "type": "integer",
                "enum": [
                  0
                ]
              }
            }
          }
        },
        "example": {
          "state": {
            "key": "eth:address",
            "value": "0x2391EEaEc07B927D2BA4Fa5cB3cE4b490Fa6fffC",
            "type": 0
          }
        }
      },
      "KVSTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransaction"
          },
          {
            "type": "object",
            "required": [
              "asset",
              "type"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  9
                ],
                "example": 9,
                "description": "Always equal to `9`"
              },
              "recipientId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "There is no recipient for this type of transaction"
              },
              "recipientPublicKey": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "There is no recipient for this type of transaction"
              },
              "asset": {
                "$ref": "#/components/schemas/KVSTransactionAsset"
              }
            }
          }
        ],
        "example": {
          "id": 11325216963059857000,
          "height": 3377231,
          "blockId": 14121859709526400000,
          "type": 9,
          "block_timestamp": 23943500,
          "timestamp": 23943500,
          "senderPublicKey": "ac903ab58135cd5f0613a929d876953214d224034b73c33e63bc153d669447f4",
          "senderId": "U5517006347330072401",
          "recipientId": null,
          "recipientPublicKey": null,
          "amount": 0,
          "fee": 100000,
          "signature": "4c3bcca1f6c921cef7ce07f4e641f668c5c0660bb6432335d5e2117c7a4d8378b352e7fa4fac3126bd7228f5b9ac5d57100bb161da02f7efc16df9f7e602b10d",
          "signatures": [],
          "confirmations": 7856415,
          "asset": {
            "state": {
              "key": "eth:address",
              "value": "0x2391EEaEc07B927D2BA4Fa5cB3cE4b490Fa6fffC",
              "type": 0
            }
          }
        }
      },
      "RegisterKVSTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegisterTransactionBase"
          },
          {
            "type": "object",
            "required": [
              "type",
              "asset"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  9
                ],
                "example": 9,
                "description": "Should be always equal to `9` (Store in KVS transaction type)"
              },
              "asset": {
                "$ref": "#/components/schemas/KVSTransactionAsset"
              }
            }
          }
        ]
      },
      "RegisterDelegateTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransaction"
          },
          {
            "type": "object",
            "required": [
              "type",
              "asset"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  2
                ],
                "example": 2,
                "description": "Always equal to `2`"
              },
              "recipientId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "There is no recipient for this type of transaction"
              },
              "recipientPublicKey": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "There is no recipient for this type of transaction"
              },
              "asset": {
                "$ref": "#/components/schemas/RegisterDelegateAsset"
              }
            }
          }
        ],
        "example": {
          "id": 14674137414602658000,
          "height": 31536741,
          "blockId": 15921349202793791000,
          "type": 2,
          "block_timestamp": 166805152,
          "timestamp": 166805152,
          "senderPublicKey": "a339974effc141f302bd3589c603bdc9468dd66bcc424b60025b36999eb69ca3",
          "senderId": "U3031563782805250428",
          "recipientId": null,
          "recipientPublicKey": null,
          "amount": 0,
          "fee": 300000000000,
          "relays": 1,
          "signature": "1833a86e24d57ad6dbd30c47924500a03096fd06076fafe5bca4f23ab4629268f3b1a58a1ce275356bc0b79f64a11b8abe9bec6c3d55202d6393327f9278910b",
          "signatures": [],
          "confirmations": 427,
          "asset": {
            "delegate": {
              "username": "kpeo",
              "publicKey": "a339974effc141f302bd3589c603bdc9468dd66bcc424b60025b36999eb69ca3",
              "address": "U3031563782805250428"
            }
          }
        }
      },
      "VoteForDelegateTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/BaseTransaction"
          },
          {
            "type": "object",
            "required": [
              "votes",
              "asset",
              "type"
            ],
            "properties": {
              "votes": {
                "type": "object",
                "properties": {
                  "added": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "description": "Delegate public key",
                      "example": "c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b"
                    },
                    "description": "List of Upvoted delegates"
                  },
                  "deleted": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "description": "Delegate public key",
                      "example": "c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b"
                    },
                    "description": "List of Downvoted delegates"
                  }
                }
              },
              "type": {
                "type": "integer",
                "enum": [
                  3
                ],
                "example": 3,
                "description": "Always equal to `3`"
              },
              "asset": {
                "$ref": "#/components/schemas/VoteForDelegateAsset"
              }
            }
          }
        ],
        "example": {
          "id": 9888167852341778000,
          "height": 10488572,
          "blockId": 16481510969712464000,
          "type": 3,
          "block_timestamp": 59782601,
          "timestamp": 59782601,
          "senderPublicKey": "9560562121cdc41112a0b288101079346d9c67f5bbff1f4d5a29483258c9477a",
          "senderId": "U9221911598904803004",
          "recipientId": "U9221911598904803004",
          "recipientPublicKey": "9560562121cdc41112a0b288101079346d9c67f5bbff1f4d5a29483258c9477a",
          "amount": 0,
          "fee": 5000000000,
          "signature": "fe199a4a5790186c1c482c6f5c0de5b7baa0a66e4b97abcb96f47e197880ea8333dc57e1b497e32eabdb157ac834dbd85d58d7c550e8aabe208af79026279c04",
          "signatures": [],
          "confirmations": 745088,
          "asset": {
            "votes": [
              "-c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b"
            ]
          },
          "votes": {
            "added": [],
            "deleted": [
              "c0c580c3fb89409f32181fef58935f286f0c1bbf61bd727084ed915b3a4bc95b"
            ]
          }
        }
      },
      "AnyTransaction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/TokenTransferTransaction"
          },
          {
            "$ref": "#/components/schemas/RegisterDelegateTransaction"
          },
          {
            "$ref": "#/components/schemas/VoteForDelegateTransaction"
          },
          {
            "$ref": "#/components/schemas/ChatMessageTransaction"
          },
          {
            "$ref": "#/components/schemas/KVSTransaction"
          }
        ]
      },
      "RegisterTokenTransferTransaction": {
        "allOf": [
          {
            "$ref": "#/components/schemas/RegisterTransactionBase"
          },
          {
            "type": "object",
            "required": [
              "type",
              "amount",
              "recipientId"
            ],
            "properties": {
              "type": {
                "type": "integer",
                "enum": [
                  0,
                  8
                ],
                "description": "Can be `type 0 — Token transfer` or `type 8 — Chat/Message`."
              },
              "recipientId": {
                "type": "string"
              },
              "amount": {
                "type": "integer",
                "description": "Amount of token to transfer"
              }
            },
            "example": {
              "type": 0,
              "amount": 100000000,
              "senderId": "U14236667426471084862",
              "senderPublicKey": "8cd9631f9f634a361ea3b85cbd0df882633e39e7d26d7bc615bbcf75e41524ef",
              "recipientId": "U16655734187932477074",
              "timestamp": 63228852,
              "signature": "b3982d603be8f0246fa663e9f012bf28b198cd28f82473db1eb4a342d890f7a2a2c1845db8d256bb5bce1e64a9425822a91e10bf960a2e0b55e20b4841e4ae0b"
            }
          }
        ]
      },
      "RegisterAnyTransaction": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/RegisterVoteForDelegateTransaction"
          },
          {
            "$ref": "#/components/schemas/RegisterTokenTransferTransaction"
          },
          {
            "$ref": "#/components/schemas/RegisterKVSTransaction"
          },
          {
            "$ref": "#/components/schemas/RegisterChatMessageTransaction"
          },
          {
            "$ref": "#/components/schemas/RegisterNewDelegateTransaction"
          }
        ]
      },
      "AddressSubscription": {
        "description": "One ADAMANT address or a list of addresses. The node validates values at runtime and stores accepted addresses in uppercase; this schema does not perform that validation or normalization.",
        "oneOf": [
          {
            "$ref": "#/components/schemas/AdamantAddress"
          },
          {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "$ref": "#/components/schemas/AdamantAddress"
            }
          }
        ],
        "example": [
          "U1234567890123456",
          "U6543210987654321"
        ]
      },
      "TransactionTypeSubscription": {
        "description": "One transaction type or a list of transaction types to add to the socket subscription.",
        "oneOf": [
          {
            "type": "integer",
            "minimum": 0,
            "maximum": 9
          },
          {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 9
            }
          }
        ],
        "example": [
          0,
          8
        ]
      },
      "ChatTypeSubscription": {
        "description": "One asset.chat.type value or a list of values to add to the socket subscription. This WebSocket contract follows the node's complete chat transaction type range (0-3), independently of REST chat endpoints that expose narrower query filters.",
        "oneOf": [
          {
            "type": "integer",
            "minimum": 0,
            "maximum": 3
          },
          {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            }
          }
        ],
        "example": [
          1,
          2,
          3
        ]
      },
      "BalanceSubscription": {
        "description": "One public balance field or a list of fields to add to the socket subscription. At least one address subscription is required before balance changes can be delivered.",
        "oneOf": [
          {
            "type": "string",
            "enum": [
              "balance",
              "unconfirmedBalance"
            ]
          },
          {
            "type": "array",
            "minItems": 1,
            "uniqueItems": true,
            "items": {
              "type": "string",
              "enum": [
                "balance",
                "unconfirmedBalance"
              ]
            }
          }
        ],
        "example": [
          "balance",
          "unconfirmedBalance"
        ]
      },
      "BlockSubscription": {
        "type": "boolean",
        "description": "A scalar boolean that enables or disables newBlock events for the socket.",
        "example": true
      },
      "BalanceChangeEvent": {
        "type": "object",
        "description": "Current values for the subscribed public balance fields that changed. No initial snapshot is emitted. Values are decimal strings in 1/10^8 ADM units.",
        "required": [
          "address"
        ],
        "minProperties": 2,
        "additionalProperties": false,
        "properties": {
          "address": {
            "$ref": "#/components/schemas/AdamantAddress"
          },
          "balance": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Confirmed account balance."
          },
          "unconfirmedBalance": {
            "type": "string",
            "pattern": "^[0-9]+$",
            "description": "Account balance after applying the node's current unconfirmed pool."
          }
        },
        "anyOf": [
          {
            "required": [
              "balance"
            ]
          },
          {
            "required": [
              "unconfirmedBalance"
            ]
          }
        ],
        "example": {
          "address": "U1234567890123456",
          "balance": "100000000",
          "unconfirmedBalance": "99900000"
        }
      },
      "NewBlockEvent": {
        "type": "object",
        "description": "Compact header of a successfully applied and saved block. Historical database replay does not produce this event.",
        "required": [
          "id",
          "height",
          "timestamp",
          "generatorPublicKey",
          "numberOfTransactions",
          "totalAmount",
          "totalFee",
          "reward"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "pattern": "^[0-9]+$"
          },
          "height": {
            "type": "integer",
            "minimum": 1
          },
          "timestamp": {
            "type": "integer",
            "minimum": 0,
            "description": "Seconds since the ADAMANT epoch."
          },
          "generatorPublicKey": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "numberOfTransactions": {
            "type": "integer",
            "minimum": 0
          },
          "totalAmount": {
            "type": "integer",
            "format": "int64",
            "minimum": 0,
            "description": "Total transferred amount in 1/10^8 ADM units."
          },
          "totalFee": {
            "type": "integer",
            "format": "int64",
            "minimum": 0,
            "description": "Total transaction fee in 1/10^8 ADM units."
          },
          "reward": {
            "type": "integer",
            "format": "int64",
            "minimum": 0,
            "description": "Forging reward in 1/10^8 ADM units."
          }
        },
        "example": {
          "id": "1739739671268673627",
          "height": 53532078,
          "timestamp": 278966175,
          "generatorPublicKey": "24636735d64711f91f7680bb348662bc74f7b3446e66702369527e3882dd30d6",
          "numberOfTransactions": 2,
          "totalAmount": 10000000,
          "totalFee": 100000,
          "reward": 10000000
        }
      }
    },
    "parameters": {
      "type": {
        "name": "type",
        "in": "query",
        "description": "Get messages of specified type. See [Message Types](https://docs.adamant.im/api-types/message-types.html).\nIf `type` is not set, all types of transactions will be returned.\n",
        "schema": {
          "type": "integer",
          "example": 2
        },
        "required": false
      },
      "andType": {
        "name": "and:type",
        "in": "query",
        "description": "Get messages of specified type. See [Message Types](https://docs.adamant.im/api-types/message-types.html).\nIf `type` is not set, all types of transactions will be returned.\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "senderId": {
        "name": "senderId",
        "in": "query",
        "description": "Filter by senderId",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "andSenderId": {
        "name": "and:senderId",
        "in": "query",
        "description": "Filter by senderId (`and` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "recipientId": {
        "name": "recipientId",
        "in": "query",
        "description": "Filter by recipientId",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "andRecipientId": {
        "name": "and:recipientId",
        "in": "query",
        "description": "Filter by recipientId (`and` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "offset": {
        "name": "offset",
        "in": "query",
        "description": "Offset value for results.",
        "schema": {
          "type": "integer",
          "format": "int32",
          "default": 0
        },
        "required": false
      },
      "orderBy": {
        "name": "orderBy",
        "in": "query",
        "description": "Order results by field name.",
        "schema": {
          "type": "string",
          "example": "timestamp:desc",
          "default": "timestamp:desc"
        },
        "required": false
      },
      "returnUnconfirmed": {
        "name": "returnUnconfirmed",
        "in": "query",
        "description": "Whether to include unconfirmed transactions in the response. Default is `0`.",
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "default": 0
        },
        "required": false
      },
      "includeDirectTransfers": {
        "name": "includeDirectTransfers",
        "in": "query",
        "description": "When set to `1`, includes type `0` transactions (direct token transfers) in results. Default is `1`.",
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "default": 1
        },
        "required": false
      },
      "limit": {
        "name": "limit",
        "in": "query",
        "description": "Limit number of transactions in the result",
        "schema": {
          "type": "integer",
          "example": 10,
          "default": 25
        },
        "required": false
      },
      "fromHeight": {
        "name": "fromHeight",
        "in": "query",
        "description": "Filter starting from specific `height`",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "andFromHeight": {
        "name": "and:fromHeight",
        "in": "query",
        "description": "Filter starting from specific height (`and` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "toHeight": {
        "name": "toHeight",
        "in": "query",
        "description": "Filter results till block with specific height",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "andToHeight": {
        "name": "and:toHeight",
        "in": "query",
        "description": "Filter results till block with specific height (`and` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "inId": {
        "name": "inId",
        "in": "query",
        "description": "Filter by recipientId/senderId `(\"recipientId\" = ${inId} OR \"senderId\" = ${inId})`",
        "schema": {
          "type": "string",
          "example": "U14236667426471084862"
        },
        "required": false
      },
      "andInId": {
        "name": "and:inId",
        "in": "query",
        "description": "Filter by recipientId/senderId `(\"recipientId\" = ${inId} OR \"senderId\" = ${inId})` with `and` operator",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "isIn": {
        "name": "isIn",
        "in": "query",
        "description": "Alias for `inId` — filter by recipientId/senderId `(\"recipientId\" = ${isIn} OR \"senderId\" = ${isIn})`.\n\n`isIn` and `inId` are interchangeable (available since ADAMANT Node v0.8.0).\n",
        "schema": {
          "type": "string",
          "example": "U14236667426471084862"
        },
        "required": false
      },
      "andIsIn": {
        "name": "and:isIn",
        "in": "query",
        "description": "Alias for `inId` — filter by recipientId/senderId `(\"recipientId\" = ${isIn} OR \"senderId\" = ${isIn})` with `and` operator",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "limit-2": {
        "name": "limit",
        "in": "query",
        "description": "Limit number of transactions in the result",
        "schema": {
          "type": "integer",
          "example": 10,
          "default": 100
        },
        "required": false
      },
      "includeDirectTransfers-2": {
        "name": "includeDirectTransfers",
        "in": "query",
        "description": "When set to `1`, includes type `0` transactions (direct token transfers) in results. Default is `0`.",
        "schema": {
          "type": "integer",
          "enum": [
            0,
            1
          ],
          "default": 0
        },
        "required": false
      },
      "senderIds": {
        "name": "senderIds",
        "in": "query",
        "description": "Filter by list of senders. Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "andSenderIds": {
        "name": "and:senderIds",
        "in": "query",
        "description": "Filter by list of senders (`and` operator). Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "key": {
        "name": "key",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "example": "eth:address",
          "description": "Get transactions of specified KVS key"
        }
      },
      "andKey": {
        "name": "and:key",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "example": "eth:address",
          "description": "Equivalent to `key` (all `/api/states/get` filters combine with AND). Passing both `key` and `and:key` with different values is rejected."
        }
      },
      "keyIds": {
        "name": "keyIds",
        "in": "query",
        "required": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "example": [
            "eth:address",
            "doge:address",
            "dash:address",
            "btc:address"
          ],
          "description": "Get transactions of specified KVS keys. Array of keys, comma-separated."
        }
      },
      "andKeyIds": {
        "name": "and:keyIds",
        "in": "query",
        "required": false,
        "schema": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "example": [
            "eth:address",
            "doge:address"
          ],
          "description": "Equivalent to `keyIds` (all `/api/states/get` filters combine with AND). Array of keys, comma-separated. Passing both `keyIds` and `and:keyIds` with different values is rejected."
        }
      },
      "type-2": {
        "name": "type",
        "in": "query",
        "description": "When sending KVS transaction, type field of state object must be as follows:\n\n- `0` for full re-writing of contents by specified key value\n- `1` for incremental appending contents\n\nFor more details see [AIP 11: Behavior for KVS data](https://aips.adamant.im/AIPS/aip-11)\n",
        "schema": {
          "type": "integer",
          "example": 1,
          "default": 0,
          "enum": [
            0,
            1
          ]
        },
        "required": false
      },
      "andType-2": {
        "name": "and:type",
        "in": "query",
        "description": "Equivalent to `type` (all `/api/states/get` filters combine with AND). Passing both `type` and `and:type` with different values is rejected. See [AIP 11: Behavior for KVS data](https://aips.adamant.im/AIPS/aip-11).",
        "schema": {
          "type": "integer",
          "example": 0,
          "default": 0,
          "enum": [
            0,
            1
          ]
        },
        "required": false
      },
      "blockId": {
        "name": "blockId",
        "in": "query",
        "description": "Filter by specific block",
        "schema": {
          "type": "number",
          "example": 7917597195203394000
        },
        "required": false
      },
      "andBlockId": {
        "name": "and:blockId",
        "in": "query",
        "description": "Filter by specific block (`and` condition)",
        "schema": {
          "type": "number"
        },
        "required": false
      },
      "orBlockId": {
        "name": "or:blockId",
        "in": "query",
        "description": "Filter by specific block (`or` condition)",
        "schema": {
          "type": "number"
        },
        "required": false
      },
      "senderPublicKey": {
        "name": "senderPublicKey",
        "in": "query",
        "description": "Filter by sender publicKey",
        "schema": {
          "type": "string",
          "example": "801846655523f5e21f2d454b2f98f70aaf5d3887c806463100a1764a4e7c1457"
        },
        "required": false
      },
      "andSenderPublicKey": {
        "name": "and:senderPublicKey",
        "in": "query",
        "description": "Filter by sender publicKey (`and` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orSenderPublicKey": {
        "name": "or:senderPublicKey",
        "in": "query",
        "description": "Filter by sender publicKey (`or` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "recipientPublicKey": {
        "name": "recipientPublicKey",
        "in": "query",
        "description": "Filter by recipient publicKey",
        "schema": {
          "type": "string",
          "example": "125a9b8304ef885053c630041f57493343d7f6023107c5dc8b8148147e732c93"
        },
        "required": false
      },
      "andRecipientPublicKey": {
        "name": "and:recipientPublicKey",
        "in": "query",
        "description": "Filter by recipient publicKey (`and` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orRecipientPublicKey": {
        "name": "or:recipientPublicKey",
        "in": "query",
        "description": "Filter by recipient publicKey (`or` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orSenderId": {
        "name": "or:senderId",
        "in": "query",
        "description": "Filter by senderId (`or` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orRecipientId": {
        "name": "or:recipientId",
        "in": "query",
        "description": "Filter by recipientId (`or` operator)",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orInId": {
        "name": "or:inId",
        "in": "query",
        "description": "Filter by recipientId/senderId `(\"recipientId\" = ${inId} OR \"senderId\" = ${inId})` with `or` operator",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orIsIn": {
        "name": "or:isIn",
        "in": "query",
        "description": "Alias for `inId` — filter by recipientId/senderId `(\"recipientId\" = ${isIn} OR \"senderId\" = ${isIn})` with `or` operator",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orFromHeight": {
        "name": "or:fromHeight",
        "in": "query",
        "description": "Filter starting from specific height (`or` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orToHeight": {
        "name": "or:toHeight",
        "in": "query",
        "description": "Filter results till block with specific height (`or` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "fromTimestamp": {
        "name": "fromTimestamp",
        "in": "query",
        "description": "Filter by timestamp",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "andFromTimestamp": {
        "name": "and:fromTimestamp",
        "in": "query",
        "description": "Filter by timestamp (`and` operator)",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "orFromTimestamp": {
        "name": "or:fromTimestamp",
        "in": "query",
        "description": "Filter by timestamp (`or` operator)",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "toTimestamp": {
        "name": "toTimestamp",
        "in": "query",
        "description": "Filter by timestamp",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "andToTimestamp": {
        "name": "and:toTimestamp",
        "in": "query",
        "description": "Filter by timestamp (`and` operator)",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "orToTimestamp": {
        "name": "or:toTimestamp",
        "in": "query",
        "description": "Filter by timestamp (`or` operator)",
        "schema": {
          "type": "number",
          "example": 37059538
        },
        "required": false
      },
      "orSenderIds": {
        "name": "or:senderIds",
        "in": "query",
        "description": "Filter by list of senders (`or` operator). Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "recipientIds": {
        "name": "recipientIds",
        "in": "query",
        "description": "Filter by list of recipients. Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "andRecipientIds": {
        "name": "and:recipientIds",
        "in": "query",
        "description": "Filter by list of recipients (`and` operator). Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "orRecipientIds": {
        "name": "or:recipientIds",
        "in": "query",
        "description": "Filter by list of recipients (`or` operator). Separated by comma",
        "schema": {
          "type": "string",
          "example": "U18132012621449491414,U15881344309699504778"
        },
        "required": false
      },
      "senderPublicKeys": {
        "name": "senderPublicKeys",
        "in": "query",
        "description": "Filter by sender publicKeys. Separated by comma",
        "schema": {
          "type": "string",
          "example": "801846655523f5e21f2d454b2f98f70aaf5d3887c806463100a1764a4e7c1457,125a9b8304ef885053c630041f57493343d7f6023107c5dc8b8148147e732c93"
        },
        "required": false
      },
      "andSenderPublicKeys": {
        "name": "and:senderPublicKeys",
        "in": "query",
        "description": "Filter by sender publicKeys (`and` operator). Separated by comma",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orSenderPublicKeys": {
        "name": "or:senderPublicKeys",
        "in": "query",
        "description": "Filter by sender publicKeys (`or` operator). Separated by comma",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "recipientPublicKeys": {
        "name": "recipientPublicKeys",
        "in": "query",
        "description": "Filter by recipient publicKeys. Separated by comma",
        "schema": {
          "type": "string",
          "example": "801846655523f5e21f2d454b2f98f70aaf5d3887c806463100a1764a4e7c1457,125a9b8304ef885053c630041f57493343d7f6023107c5dc8b8148147e732c93"
        },
        "required": false
      },
      "andRecipientPublicKeys": {
        "name": "and:recipientPublicKeys",
        "in": "query",
        "description": "Filter by recipient publicKeys (`and` operator). Separated by comma",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "orRecipientPublicKeys": {
        "name": "or:recipientPublicKeys",
        "in": "query",
        "description": "Filter by recipient publicKeys (`or` operator). Separated by comma",
        "schema": {
          "type": "string"
        },
        "required": false
      },
      "minAmount": {
        "name": "minAmount",
        "in": "query",
        "description": "Filter results with `amount` not less than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer",
          "example": 1000000000000001
        },
        "required": false
      },
      "andMinAmount": {
        "name": "and:minAmount",
        "in": "query",
        "description": "Filter results with `amount` not less than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orMinAmount": {
        "name": "or:minAmount",
        "in": "query",
        "description": "Filter results with `amount` not less than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "maxAmount": {
        "name": "maxAmount",
        "in": "query",
        "description": "Filter results with `amount` not more than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer",
          "example": 50000000
        },
        "required": false
      },
      "andMaxAmount": {
        "name": "and:maxAmount",
        "in": "query",
        "description": "Filter results with `amount` not more than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orMaxAmount": {
        "name": "or:maxAmount",
        "in": "query",
        "description": "Filter results with `amount` not more than specified Integer value of 1/10^8 tokens (1 ADM = 100000000).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "minFee": {
        "name": "minFee",
        "in": "query",
        "description": "Filter by `fee`",
        "schema": {
          "type": "integer",
          "example": 100000
        },
        "required": false
      },
      "andMinFee": {
        "name": "and:minFee",
        "in": "query",
        "description": "Filter by `fee` (`and` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orMinFee": {
        "name": "or:minFee",
        "in": "query",
        "description": "Filter by `fee` (`or` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "maxFee": {
        "name": "maxFee",
        "in": "query",
        "description": "Filter by `fee`",
        "schema": {
          "type": "integer",
          "example": 100000
        },
        "required": false
      },
      "andMaxFee": {
        "name": "and:maxFee",
        "in": "query",
        "description": "Filter by `fee` (`and` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orMaxFee": {
        "name": "or:maxFee",
        "in": "query",
        "description": "Filter by `fee` (`or` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "minConfirmations": {
        "name": "minConfirmations",
        "in": "query",
        "description": "Filter by `confirmations` property",
        "schema": {
          "type": "integer",
          "example": 10
        },
        "required": false
      },
      "andMinConfirmations": {
        "name": "and:minConfirmations",
        "in": "query",
        "description": "Filter by `confirmations` property (`and` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orMinConfirmations": {
        "name": "or:minConfirmations",
        "in": "query",
        "description": "Filter by `confirmations` property (`or` operator)",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "type-3": {
        "name": "type",
        "in": "query",
        "description": "Get transactions of specified type. See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\nIf `type` is not set, all types of transactions will be returned.\n",
        "schema": {
          "type": "integer",
          "example": 8
        },
        "required": false
      },
      "andType-3": {
        "name": "and:type",
        "in": "query",
        "description": "Get transactions of specified type. See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\nIf `type` is not set, all types of transactions will be returned.\n",
        "schema": {
          "type": "integer",
          "example": 8
        },
        "required": false
      },
      "orType": {
        "name": "or:type",
        "in": "query",
        "description": "Get transactions of specified type. See [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\nIf `type` is not set, all types of transactions will be returned.\n",
        "schema": {
          "type": "integer",
          "example": 8
        },
        "required": false
      },
      "types": {
        "name": "types",
        "in": "query",
        "description": "Get transactions of specified list of types, separated by commas.\nSee [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\n",
        "schema": {
          "type": "integer",
          "example": "9,0"
        },
        "required": false
      },
      "andTypes": {
        "name": "and:types",
        "in": "query",
        "description": "Get transactions of specified list of types, separated by commas.\nSee [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "orTypes": {
        "name": "or:types",
        "in": "query",
        "description": "Get transactions of specified list of types, separated by commas.\nSee [Transaction Types](https://docs.adamant.im/api-types/transaction-types.html).\n",
        "schema": {
          "type": "integer"
        },
        "required": false
      },
      "returnAsset": {
        "name": "returnAsset",
        "in": "query",
        "description": "Get transaction's asset when set to `1`. Default is `0`.",
        "schema": {
          "type": "integer",
          "example": 1,
          "default": 0
        },
        "required": false
      }
    }
  },
  "x-client-websocket": {
    "protocol": "Socket.IO",
    "description": "Opt-in live events exposed by the node's client WebSocket server. Discover availability and the client port through GET /node/status. Subscriptions are scoped to one socket and must be restored after reconnecting. Starting in v0.11.0, nodes enforce per-node and per-IP active and pending connection caps, connection-attempt rate windows, per-socket address/type/chat-subtype caps, and subscription-event rate windows (`wsClient.limits`).",
    "clientEvents": {
      "address": {
        "description": "Adds addresses used by transaction filters and balance subscriptions.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketAddressSubscription"
        }
      },
      "types": {
        "description": "Adds transaction types used by newTrans filtering.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketTransactionTypeSubscription"
        }
      },
      "assetChatTypes": {
        "description": "Adds asset.chat.type values used by chat transaction filtering.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketChatTypeSubscription"
        }
      },
      "balances": {
        "description": "Adds public account fields emitted by balances/change.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketBalanceSubscription"
        }
      },
      "blocks": {
        "description": "Enables or disables newBlock events for the socket.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketBlockSubscription"
        }
      }
    },
    "serverEvents": {
      "newTrans": {
        "description": "A transaction applied to the node's unconfirmed pool.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketNewTransaction"
        }
      },
      "balances/change": {
        "description": "Current requested balance fields after an account balance mutation.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketBalanceChange"
        }
      },
      "newBlock": {
        "description": "Compact header of a successfully applied and saved block.",
        "payload": {
          "$ref": "#/components/schemas/ClientWebSocketNewBlock"
        }
      }
    }
  },
  "x-peer-http-rate-limit": {
    "description": "Anti-abuse contract for node-to-node `/peer/*` HTTP routes (introduced in v0.11.0). Peer hard-limit responses always use HTTP 429 (not operator-overridable) with a JSON `{\"success\": false, \"error\": \"...\"}` body, `Retry-After`, standard `RateLimit-*` headers, and `RateLimit-Scope`. Outbound peer requests send `X-Adamant-Rate-Limit: 1` to advertise support; in v0.11.0, callers without this header skip both hard limits and slow-down for mixed-version rollout compatibility, so operators exposing `/peer/*` should still apply reverse-proxy or firewall rate limits. Outbound peers treat 429 as scoped, bounded temporary backpressure (capped at 60 seconds) without banning the peer or changing its health score.",
    "capabilityHeader": {
      "name": "X-Adamant-Rate-Limit",
      "value": "1"
    },
    "statusCode": 429,
    "scopes": [
      "status",
      "sync",
      "broadcast",
      "all"
    ]
  }
}