Orderbook Api Docs ## Sections • [API Reference](https://app.theneo.io/polkadex/orderbook-api-docs/api-reference.md) • [Query](https://app.theneo.io/polkadex/orderbook-api-docs/query.md): The Query type in GraphQL represents the entry point for retrieving data from the API. It defines the available read-only operations (queries) that clients can execute to fetch data. • [findBalanceByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/findbalancebymainaccount.md) • [findOrderById](https://app.theneo.io/polkadex/orderbook-api-docs/query/findorderbyid.md) • [findUserByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/finduserbymainaccount.md) • [findUserByTradeAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/finduserbytradeaccount.md) • [getAllAssets](https://app.theneo.io/polkadex/orderbook-api-docs/query/getallassets.md) • [getAllBalancesByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/getallbalancesbymainaccount.md) • [getAllMarkets](https://app.theneo.io/polkadex/orderbook-api-docs/query/getallmarkets.md) • [getKlinesByMarketInterval](https://app.theneo.io/polkadex/orderbook-api-docs/query/getklinesbymarketinterval.md) • [getMarketTickers](https://app.theneo.io/polkadex/orderbook-api-docs/query/getmarkettickers.md) • [getOrderbook](https://app.theneo.io/polkadex/orderbook-api-docs/query/getorderbook.md) • [listOpenOrdersByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listopenordersbymainaccount.md) • [listOpenOrdersByTradeAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listopenordersbytradeaccount.md) • [listOrderHistoryByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listorderhistorybymainaccount.md) • [listOrderHistoryByTradeAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listorderhistorybytradeaccount.md) • [listRecentTrades](https://app.theneo.io/polkadex/orderbook-api-docs/query/listrecenttrades.md) • [listTradesByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listtradesbymainaccount.md) • [listTradesByMarket](https://app.theneo.io/polkadex/orderbook-api-docs/query/listtradesbymarket.md) • [listTradesByTradeAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listtradesbytradeaccount.md) • [listTransactionsByMainAccount](https://app.theneo.io/polkadex/orderbook-api-docs/query/listtransactionsbymainaccount.md) • [Mutation](https://app.theneo.io/polkadex/orderbook-api-docs/mutation.md): The Mutation type in GraphQL is used for modifying or creating data. It defines the operations (mutations) that allow clients to make changes to the data stored on the server, such as creating, updating, or deleting resources • [cancel_all](https://app.theneo.io/polkadex/orderbook-api-docs/mutation/cancel_all.md) • [cancel_order](https://app.theneo.io/polkadex/orderbook-api-docs/mutation/cancel_order.md) • [place_order](https://app.theneo.io/polkadex/orderbook-api-docs/mutation/place_order.md) • [publish](https://app.theneo.io/polkadex/orderbook-api-docs/mutation/publish.md) • [withdraw](https://app.theneo.io/polkadex/orderbook-api-docs/mutation/withdraw.md) • [Subscription](https://app.theneo.io/polkadex/orderbook-api-docs/subscription.md): The Subscription type in GraphQL enables real-time communication between clients and the server. It defines a set of events or data streams that clients can subscribe to and receive updates whenever the subscribed events occur. • [websocket_streams](https://app.theneo.io/polkadex/orderbook-api-docs/subscription/websocket_streams.md) • [Objects](https://app.theneo.io/polkadex/orderbook-api-docs/objects.md): Objects in GraphQL represent complex data structures. They define the fields and their types that can be queried in a GraphQL API. Objects can have nested fields and relationships with other objects. • [Account](https://app.theneo.io/polkadex/orderbook-api-docs/objects/account.md) • [AccountConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/accountconnection.md) • [Asset](https://app.theneo.io/polkadex/orderbook-api-docs/objects/asset.md) • [AssetsConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/assetsconnection.md) • [Balance](https://app.theneo.io/polkadex/orderbook-api-docs/objects/balance.md) • [BalanceConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/balanceconnection.md) • [CandleStick](https://app.theneo.io/polkadex/orderbook-api-docs/objects/candlestick.md) • [Channel](https://app.theneo.io/polkadex/orderbook-api-docs/objects/channel.md) • [KlinesConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/klinesconnection.md) • [Market](https://app.theneo.io/polkadex/orderbook-api-docs/objects/market.md) • [MarketsConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/marketsconnection.md) • [Order](https://app.theneo.io/polkadex/orderbook-api-docs/objects/order.md) • [Orderbook](https://app.theneo.io/polkadex/orderbook-api-docs/objects/orderbook.md) • [OrdersConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/ordersconnection.md) • [PriceLevel](https://app.theneo.io/polkadex/orderbook-api-docs/objects/pricelevel.md) • [TickersConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/tickersconnection.md) • [TickerStats](https://app.theneo.io/polkadex/orderbook-api-docs/objects/tickerstats.md) • [Trade](https://app.theneo.io/polkadex/orderbook-api-docs/objects/trade.md) • [TradesConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/tradesconnection.md) • [Transaction](https://app.theneo.io/polkadex/orderbook-api-docs/objects/transaction.md) • [TransactionsConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/transactionsconnection.md) • [UserActionInput](https://app.theneo.io/polkadex/orderbook-api-docs/objects/useractioninput.md) • [UserTrade](https://app.theneo.io/polkadex/orderbook-api-docs/objects/usertrade.md) • [UserTradesConnection](https://app.theneo.io/polkadex/orderbook-api-docs/objects/usertradesconnection.md) • [Scalars](https://app.theneo.io/polkadex/orderbook-api-docs/scalars.md): Scalars: Scalars in GraphQL represent primitive data types, such as String, Int, Boolean, Float, etc. They are used to define the types of individual fields in the GraphQL schema. • [Boolean](https://app.theneo.io/polkadex/orderbook-api-docs/scalars/boolean.md): Represents a boolean value that can be either true or false. • [Float](https://app.theneo.io/polkadex/orderbook-api-docs/scalars/float.md): A signed double-precision floating-point value. • [ID](https://app.theneo.io/polkadex/orderbook-api-docs/scalars/id.md): A unique identifier, often used to refetch an object or as a key for caching. • [Int](https://app.theneo.io/polkadex/orderbook-api-docs/scalars/int.md): A signed 32-bit integer. • [String](https://app.theneo.io/polkadex/orderbook-api-docs/scalars/string.md): A UTF-8 character sequence. • [Directives](https://app.theneo.io/polkadex/orderbook-api-docs/directives.md): Directives in GraphQL provide a way to control the execution behavior of queries and mutations. They allow you to modify the result, change the execution order, skip or include fields conditionally, and apply custom logic to the resolution process. • [Enums](https://app.theneo.io/polkadex/orderbook-api-docs/enums.md): Enums in GraphQL define a set of possible values for a field. They represent a discrete set of options or states that a field can have. Enums help ensure type safety and provide a clear list of valid values for a field. • [OrderSide](https://app.theneo.io/polkadex/orderbook-api-docs/enums/orderside.md) • [OrderStatus](https://app.theneo.io/polkadex/orderbook-api-docs/enums/orderstatus.md) • [OrderType](https://app.theneo.io/polkadex/orderbook-api-docs/enums/ordertype.md) • [TransactionStatus](https://app.theneo.io/polkadex/orderbook-api-docs/enums/transactionstatus.md) • [TransactionType](https://app.theneo.io/polkadex/orderbook-api-docs/enums/transactiontype.md) • [Unions](https://app.theneo.io/polkadex/orderbook-api-docs/unions.md): Unions in GraphQL allow you to combine multiple object types into a single type. They represent a result that can be one of several object types. Unions are useful when a field can return different types of objects, and you want to specify all the possible types in the schema.