What is Order Book?
A comprehensive, fact-based guide to order books in crypto markets: how bids and asks are organized, matched, and risk-managed, how price discovery works, and how order books compare with AMMs. Includes order types, spread, depth, best bid and offer, and advanced execution topics for spot and derivatives.
Introduction
When investors and traders ask what is Order Book in crypto trading, they are looking for the live record of buy and sell interest at every price point for a market. An order book is the continuously updated list of bids and asks that powers price discovery, matching, and risk management on exchanges. It underpins how trading works for both centralized exchanges and many decentralized or hybrid venues in the broader blockchain, cryptocurrency, DeFi, and Web3 ecosystem.
In practice, an order book displays how much market interest exists at each price level and which side of the market commands the Best Bid and Offer. If you open a spot market for Bitcoin on a leading exchange, you will see aggregated limit orders to buy and sell, a mid-price derived from the spread, and the real-time flow of newly placed, modified, or canceled orders. Traders often compare the liquidity they see for Bitcoin (BTC) at different venues and pairs, such as BTC quoted against Tether (USDT), to gauge market depth and potential price impact.
Authoritative definitions and explanations of order books are available from established sources such as Investopedia, Wikipedia, Binance Academy, and CoinMarketCap. See, for example, Investopedia’s definition of order books and price levels (https://www.investopedia.com/terms/o/order-book.asp), Wikipedia’s overview of order book mechanics in trading (https://en.wikipedia.org/wiki/Order_book_(trading)), Binance Academy’s primer on order books and matching (https://academy.binance.com/en/articles/what-is-an-order-book), and the CoinMarketCap glossary entry (https://coinmarketcap.com/alexandria/glossary/order-book). These sources align on the essential role of order books in consolidating and displaying limit orders and in facilitating price discovery.
For many cryptocurrency pairs, including Ethereum (ETH) versus stablecoins like USDT or USD Coin (USDC), the order book is the reference that shows true supply and demand at any moment. If you are preparing to buy or sell Ethereum (ETH), you might check the order book to understand slippage and liquidity before trading. For example, a trader might place a limit order to buy Ethereum (ETH) at a specific price after reviewing the visible liquidity.
Definition and core concepts
At its core, an order book is a structured data set that lists buy orders and sell orders for a trading pair, sorted by price and maintained in real time. Most modern crypto exchanges implement a central limit order book, often abbreviated CLOB. This means all participants’ limit orders are collected in one central queue for a given market, and trades occur when compatible prices match. These foundations are consistent with standard finance definitions and crypto-specific educational materials from Investopedia, Wikipedia, and Binance Academy (see sources above).
Key concepts to know:
- Bids and Asks: Bids are buy orders at various price levels; asks are sell orders. The highest bid and lowest ask define the best prices at a moment in time.
- Best Bid and Offer: Often shortened as BBO, this shows the top-of-book prices on each side. See Best Bid and Offer on Cube for more context: https://cube.exchange/what-is/best-bid-and-offer-bbo.
- Spread: The difference between the best ask and best bid. A narrower spread often signals higher liquidity. See Spread: https://cube.exchange/what-is/spread.
- Depth of Market: The quantity available at each price level across the book. See Depth of Market: https://cube.exchange/what-is/depth-of-market.
- Limit Order and Market Order: A limit order specifies a price; a market order executes immediately against the best available liquidity. See Limit Order: https://cube.exchange/what-is/limit-order and Market Order: https://cube.exchange/what-is/market-order.
Because the order book is dynamic, it reflects the immediate willingness of market participants to trade. If the best ask for Solana (SOL) decreases, the spread may tighten and traders can buy SOL with less price impact. For those who want to monitor Solana (SOL) against USDT, here is a trading entry point: https://cube.exchange/trade/solUSDT.
How it works: price-time priority, matching, and execution
Order books typically operate under price-time priority. Orders at better prices get priority before orders at worse prices, and among orders at the same price, earlier orders have priority. When a new order enters the book, a matching engine checks if it can be executed immediately. For example, a market buy order looks to consume the lowest-priced asks until the requested quantity is filled.
Core mechanics, as described across established references, include aggregation of orders by price level and continuous matching as new orders arrive or existing orders are canceled or amended. The matching process is deterministic within the rules of the exchange engine. Wikipedia and Binance Academy describe these mechanics in line with general market microstructure principles (https://en.wikipedia.org/wiki/Order_book_(trading), https://academy.binance.com/en/articles/what-is-an-order-book).
Order types and time-in-force instructions guide how orders rest or execute:
- Limit: Rest on the book until matched. You can place a post-only instruction to ensure the order adds liquidity. See Post-Only Order: https://cube.exchange/what-is/post-only-order.
- Market: Executes immediately against the best available liquidity.
- Stop and conditional orders: Trigger when the market reaches a specified price. See Stop Order: https://cube.exchange/what-is/stop-order and Stop-Loss: https://cube.exchange/what-is/stop-loss.
- Take-Profit: A complementary trigger for exiting positions at desired levels. See Take-Profit: https://cube.exchange/what-is/take-profit.
- IOC and FOK: Immediate-or-cancel and fill-or-kill constrain how much gets executed instantly. See IOC/FOK Orders: https://cube.exchange/what-is/iocfok-orders.
Consider a trader managing exposure in Bitcoin (BTC) while anchored to stablecoin markets via Tether (USDT). Placing a limit buy slightly below the best bid may help capture price improvement if the market dips. If that same trader expects a sudden move, an IOC market buy could ensure a fast fill, knowing any unfilled remainder will cancel instantly. For broader reading, CoinMarketCap’s glossary and Investopedia’s definitions give helpful, neutral overviews of order book behavior (https://coinmarketcap.com/alexandria/glossary/order-book, https://www.investopedia.com/terms/o/order-book.asp).
If you are preparing to buy or sell USD Coin (USDC), you can start here: https://cube.exchange/sell/usdc. For traders considering Ethereum (ETH), entry points like https://cube.exchange/buy/eth can be used after evaluating the visible market depth and spread.
Key components of a modern crypto order book
A robust crypto order book does more than list orders. It organizes data for clarity and performance, supports risk management, and feeds market data consumers.
- Top-of-Book and BBO: The highest bid and lowest ask. See Best Bid and Offer: https://cube.exchange/what-is/best-bid-and-offer-bbo.
- Full Depth: All visible price levels on both sides, often presented as level 2 market data. Traders inspect imbalances, such as heavy sell walls, when planning entries or exits.
- Level 1, Level 2, and sometimes Level 3 data: Level 1 shows BBO and last trade; level 2 shows aggregated depths; level 3 can show individual orders in some venues.
- Order Types and Attributes: Limit, market, stop, take profit, post-only, and time-in-force instructions.
- Matching Engine: The software module that applies price-time priority and matches incoming orders against resting liquidity.
- Risk and Margin Systems: For derivatives or margin trading, the order book connects to mark price, index price, and liquidation logic. See Mark Price: https://cube.exchange/what-is/mark-price and Index Price: https://cube.exchange/what-is/index-price, plus Liquidation: https://cube.exchange/what-is/liquidation and Risk Engine: https://cube.exchange/what-is/risk-engine.
In practice, traders track BNB (BNB) and XRP (XRP) markets by watching not only top-of-book prices but also deeper layers to estimate execution costs. If the book for BNB (BNB) is thin, larger market orders may cause pronounced price impact. Users wanting to learn about XRP can start here: https://cube.exchange/buy/xrp. For BNB fundamentals, see: https://cube.exchange/what-is/bnb.
Real-world applications: spot, derivatives, and market structure
Order books power both spot and derivatives markets. In spot trading, users directly exchange assets like Cardano (ADA) for stablecoins or fiat-linked tokens. In derivatives, order books support perpetual futures, dated futures, and options, where exposures are synthetically created and margined.
- Spot Trading: The book lists all buy and sell interest for pairs such as Cardano (ADA) versus Tether (USDT). Traders may scale in using multiple limit orders at different prices, or scale out of positions using take-profit instructions. Learn about ADA here: https://cube.exchange/what-is/ada.
- Perpetual Futures: Perp markets use a funding mechanism to keep prices in line with the index. Funding is a rate paid between longs and shorts on a schedule. See Perpetual Futures: https://cube.exchange/what-is/perpetual-futures and Funding Rate: https://cube.exchange/what-is/funding-rate.
- Margin and Risk: Cross-margin and isolated-margin settings define how collateral is shared or contained. See Cross Margin: https://cube.exchange/what-is/cross-margin and Isolated Margin: https://cube.exchange/what-is/isolated-margin. Margin Call thresholds and liquidation rules are enforced by the exchange’s risk engine to protect the system. See Margin Call: https://cube.exchange/what-is/margin-call.
Order book data is central to market-making and arbitrage strategies. Professional market makers quote both sides of the book to narrow spreads and deepen liquidity, earning the bid-ask spread or exchange incentives. See Market Maker: https://cube.exchange/what-is/market-maker. Arbitrageurs react to cross-venue price differences, buying where price is lower and selling where higher to rebalance the market.
Algorithmic execution strategies frequently rely on order books too. Time-weighted average price and volume-weighted average price orders spread execution over time to reduce market impact. See TWAP Order: https://cube.exchange/what-is/twap-order and VWAP Order: https://cube.exchange/what-is/vwap-order.
Traders in Polygon (MATIC) markets may choose to execute gradually if they see limited depth at the top of book. Here is a trading entry point for Polygon (MATIC) versus USDT: https://cube.exchange/trade/maticUSDT. If you hold Dogecoin (DOGE) and want to manage exposure, you might place limit orders to sell into strength when the ask stack thins. For DOGE management, you can start here: https://cube.exchange/sell/doge.
Benefits and advantages of order books in crypto
- Transparent price discovery: Order books reveal supply and demand across prices, supporting fair and efficient price formation. This is emphasized in standard references like Wikipedia and Investopedia (https://en.wikipedia.org/wiki/Order_book_(trading), https://www.investopedia.com/terms/o/order-book.asp).
- Fine-grained control for traders: Participants can precisely set limit prices, quantities, and time-in-force instructions. Post-only settings avoid crossing the spread. IOC or FOK constraints can limit partial fills.
- Capital efficiency for liquidity providers: Market makers can concentrate liquidity around the prevailing price without locking capital into a bonding curve. Compared with constant-product AMMs, order books can deliver sharper quotes near the mid-price, especially at scale.
- Lower slippage when depth is strong: The more liquidity at each price level, the lower the expected price impact for a given trade size. See Slippage: https://cube.exchange/what-is/slippage and Price Impact: https://cube.exchange/what-is/price-impact.
- Robust market microstructure for derivatives: In perp and futures markets, order books integrate with index and mark prices, funding, and liquidation systems to help maintain orderly markets. See Index Price, Mark Price, Funding Rate, and Liquidation pages linked above.
If you are evaluating Avalanche (AVAX) markets and see a deep book, you may prefer limit orders to capture price improvement. Explore AVAX fundamentals here: https://cube.exchange/what-is/avax.
Challenges and limitations
- Liquidity fragmentation: In crypto, liquidity may be split across many centralized and decentralized venues, leading to uneven depth and wider spreads at smaller exchanges.
- Latency and fairness: High-frequency participants can gain microsecond advantages on centralized venues, affecting queue priority. Exchanges attempt to mitigate unfairness via system design and monitoring.
- Market manipulation risks: Practices like spoofing and layering—placing orders with no intention to trade to mislead others—are concerns in all markets. Reputable venues monitor and restrict manipulative patterns, and many jurisdictions prohibit such behavior. General definitions can be reviewed on Investopedia’s market manipulation resources (https://www.investopedia.com/terms/m/marketmanipulation.asp).
- Data overload and complexity: Deep order books with rapid updates can be heavy for client systems to process. Streaming level 2 or level 3 feeds require resilient infrastructure on both exchange and client sides.
- On-chain constraints: Pure on-chain order books face throughput and latency limits of the underlying chain. Solutions include layer 2 designs, rollups, shared sequencers, and hybrid architectures. See Layer 2 Blockchain: https://cube.exchange/what-is/layer-2-blockchain, Rollup: https://cube.exchange/what-is/rollup, Optimistic Rollup: https://cube.exchange/what-is/optimistic-rollup, ZK-Rollup: https://cube.exchange/what-is/zk-rollup, Sequencer: https://cube.exchange/what-is/sequencer, Shared Sequencer: https://cube.exchange/what-is/shared-sequencer, Throughput (TPS): https://cube.exchange/what-is/throughput-tps, Latency: https://cube.exchange/what-is/latency, and Data Availability: https://cube.exchange/what-is/data-availability.
Stablecoin markets like Tether (USDT) and USD Coin (USDC) highlight fragmentation risks when liquidity differs by venue or chain. Traders should always check the book for their specific pair before executing. Learn about Tether (USDT): https://cube.exchange/what-is/usdt.
Industry impact: order books across centralized and decentralized crypto markets
Order books define how price is discovered and executed in centralized exchanges and in an increasing number of decentralized or hybrid exchange models in cryptocurrency. Centralized exchanges offer fast matching engines and deep order books, while decentralized exchanges may combine order books with on-chain settlement or use hybrid architectures where orders or matching occur off-chain but settlement is on-chain.
- Centralized Exchange model: See Centralized Exchange: https://cube.exchange/what-is/centralized-exchange.
- Decentralized Exchange paths: While many DEXs use automated market makers, some deploy order book designs, particularly on high-throughput chains or L2s. See Decentralized Exchange: https://cube.exchange/what-is/decentralized-exchange.
- Hybrid Exchange: Some platforms blend centralized matching with on-chain settlement for transparency. See Hybrid Exchange: https://cube.exchange/what-is/hybrid-exchange.
Order books can coexist with or complement AMMs and RFQ systems. For example, an order book can source liquidity at the top-of-book while an RFQ or aggregator taps external venues. See RFQ (Request for Quote): https://cube.exchange/what-is/rfq-request-for-quote and Dex Aggregator: https://cube.exchange/what-is/dex-aggregator. Several authoritative resources discuss the relative strengths of CLOBs versus AMMs and how they affect liquidity, execution quality, and user experience; for primer-level context, see Binance Academy’s overview (https://academy.binance.com/en/articles/what-is-an-order-book) and CoinMarketCap’s educational entries (https://coinmarketcap.com/alexandria/glossary/order-book).
As cryptocurrencies gain adoption, order books shape trading behavior and liquidity across assets with different tokenomics and market cap profiles. Mature tokens like Bitcoin (BTC) and Ethereum (ETH) typically show deeper books and narrower spreads compared with smaller-cap tokens, though this varies by venue and market conditions. For Bitcoin fundamentals: https://cube.exchange/what-is/btc. For Ethereum trading, you can start here: https://cube.exchange/buy/eth.
Future developments: higher performance, stronger transparency, and better UX
The future of crypto order books is tied to improvements in scalability, interoperability, and security across chains and layers.
- Layer 2 and rollups: Advanced rollups can host fast, low-latency order books while settling to a secure layer 1. See Rollup: https://cube.exchange/what-is/rollup, Optimistic Rollup: https://cube.exchange/what-is/optimistic-rollup, ZK-Rollup: https://cube.exchange/what-is/zk-rollup.
- Data availability and danksharding: Improvements to on-chain data availability and sharding aim to support higher throughput for market data and settlement. See Data Availability: https://cube.exchange/what-is/data-availability, Sharding: https://cube.exchange/what-is/sharding, Proto-Danksharding: https://cube.exchange/what-is/proto-danksharding, and Danksharding: https://cube.exchange/what-is/danksharding.
- Shared sequencers and cross-chain liquidity: Shared sequencers could coordinate ordering across multiple rollups, potentially reducing fragmentation. See Shared Sequencer: https://cube.exchange/what-is/shared-sequencer and Cross-chain Interoperability: https://cube.exchange/what-is/cross-chain-interoperability.
- Intent-based and hybrid models: RFQ, batch auctions, and intent systems may integrate with order books to offer best-execution routing, reducing slippage and MEV risk for users. See MEV Protection: https://cube.exchange/what-is/mev-protection and Sandwich Attack: https://cube.exchange/what-is/sandwich-attack.
- Better risk tooling: Derivatives venues will continue refining mark price sources, liquidation algorithms, and risk engines for resilience under stress. See Mark Price, Index Price, Risk Engine, and Liquidation pages linked above.
As these innovations progress, the user experience should improve: faster and more consistent fills, richer market data, and better defenses against manipulation or adverse selection. For users trading Ethereum (ETH) or Solana (SOL), the goal is that order books become more accessible and robust across chains, pairs, and settlement layers. Explore Solana (SOL) trading here: https://cube.exchange/trade/solUSDT.
How to read an order book effectively
- Identify the best bid and best ask to gauge the immediate trading price.
- Inspect the spread. A tight spread often means better execution for market orders.
- Examine depth on both sides. Large imbalances may hint at potential short-term pressure.
- Track changes over time. Do liquidity walls vanish under pressure or get replenished? Persistent changes suggest shifts in sentiment.
- Consider order types. Post-only limit orders may be used by liquidity providers; aggressive market orders indicate urgency.
- Be aware of slippage and price impact, especially in thinner markets.
As you interpret order books for assets like Bitcoin (BTC) or USD Coin (USDC), consider the broader conditions: market cap of the asset, volatility regime, and the exchange’s technology and rules. For USDC management: https://cube.exchange/sell/usdc.
Order book risk management in derivatives
In derivatives, robust risk management keeps markets orderly even when volatility spikes.
- Index and mark pricing: Index prices aggregate multiple spot sources; mark prices aim to reflect fair value and reduce unnecessary liquidations. See Index Price: https://cube.exchange/what-is/index-price and Mark Price: https://cube.exchange/what-is/mark-price.
- Liquidation process: When margin falls below maintenance thresholds, positions may be reduced or closed to protect the system. See Liquidation: https://cube.exchange/what-is/liquidation and Auto-Deleveraging: https://cube.exchange/what-is/auto-deleveraging-adl.
- Cross vs isolated margin: Cross uses shared collateral; isolated confines risk to a single position or pair. See Cross Margin: https://cube.exchange/what-is/cross-margin and Isolated Margin: https://cube.exchange/what-is/isolated-margin.
- Risk engines: These systems compute exposure, PnL, and collateral health continuously, informing margin calls and liquidation triggers. See Risk Engine: https://cube.exchange/what-is/risk-engine and Margin Call: https://cube.exchange/what-is/margin-call.
Participants trading Ethereum (ETH) or Avalanche (AVAX) perps often monitor both the perp order book and the underlying spot markets because funding, basis, and mark prices will respond to spot dislocations. For AVAX fundamentals: https://cube.exchange/what-is/avax.
Comparing order books with AMMs
Automated market makers quote prices via formulas, such as the constant-product x times y equals k design. Order books, by contrast, express actual supply and demand via queued limit orders. Each mechanism has trade-offs:
- Order books offer granular control, price-time priority, and potentially lower slippage near the mid when liquidity is deep.
- AMMs provide continuous liquidity without the need for active quoting but can suffer from impermanent loss and wider effective spreads in volatile markets. See Automated Market Maker: https://cube.exchange/what-is/automated-market-maker and Impermanent Loss: https://cube.exchange/what-is/impermanent-loss.
- Concentrated liquidity AMMs narrow liquidity around expected prices, which can mimic some order-book-like benefits. See Concentrated Liquidity: https://cube.exchange/what-is/concentrated-liquidity.
Authoritative primers such as Binance Academy and CoinMarketCap explain the basics of order books and AMMs, allowing traders to choose the right tool for their strategy (https://academy.binance.com/en/articles/what-is-an-order-book, https://coinmarketcap.com/alexandria/glossary/order-book).
If you are evaluating Ethereum (ETH) versus Tether (USDT), you might compare the order book depth on your preferred venue to AMM quotes on-chain, balancing gas costs and slippage. For ETH purchasing: https://cube.exchange/buy/eth. For Tether details: https://cube.exchange/what-is/usdt.
Conclusion
Order books are the live heartbeat of crypto trading. They list bids and asks at each price level, enable price discovery, and define how orders are matched under price-time priority. In spot and derivatives alike, order books connect trading to risk controls, including mark prices, funding, and liquidation rules. While DeFi brought AMMs to the mainstream, order books remain central to professional execution, algorithmic strategies, and high-quality liquidity. With continued advances in layer 2 scalability, data availability, and hybrid exchange design, order books are likely to become faster, more transparent, and more resilient across the blockchain economy.
As you trade assets like Bitcoin (BTC), Ethereum (ETH), Solana (SOL), or Polygon (MATIC), use the order book to judge spread, depth, and likely price impact. Start with BTC fundamentals here: https://cube.exchange/what-is/btc and explore MATIC trading here: https://cube.exchange/trade/maticUSDT.
Frequently asked questions
What does an order book show in crypto markets?
It shows aggregated buy and sell interest across price levels for a trading pair. The highest bid and lowest ask form the best bid and offer at the top of the book. Authoritative overviews are available on Investopedia (https://www.investopedia.com/terms/o/order-book.asp) and Wikipedia (https://en.wikipedia.org/wiki/Order_book_(trading)).
How is the spread defined and why does it matter?
The spread is the difference between the lowest ask and the highest bid. A tight spread generally signals higher liquidity and lowers expected costs for market orders. See Spread: https://cube.exchange/what-is/spread.
What is the difference between a limit and a market order?
A limit order specifies a maximum buy price or minimum sell price and rests on the book until matched. A market order executes immediately at the best available prices. See Limit Order: https://cube.exchange/what-is/limit-order and Market Order: https://cube.exchange/what-is/market-order.
What are Level 1 and Level 2 market data?
Level 1 typically includes best bid, best ask, and last trade. Level 2 adds aggregated quantities at multiple price levels on both sides, revealing depth of market.
How do stop and take-profit orders work around the order book?
They trigger new orders when the market hits a specified price. For example, a stop-loss may convert into a market or limit order to exit risk. See Stop Order: https://cube.exchange/what-is/stop-order, Stop-Loss: https://cube.exchange/what-is/stop-loss, and Take-Profit: https://cube.exchange/what-is/take-profit.
What is post-only, and when should I use it?
Post-only ensures your limit order adds liquidity rather than crossing the spread. It is useful for makers who aim to collect maker rebates and avoid taker fees. See Post-Only Order: https://cube.exchange/what-is/post-only-order.
What do IOC and FOK mean?
Immediate-or-cancel executes as much as possible instantly and cancels any remainder. Fill-or-kill requires the entire order to execute immediately or be canceled. See IOC/FOK Orders: https://cube.exchange/what-is/iocfok-orders.
How can I estimate slippage before placing a trade?
Inspect depth on both sides of the book and simulate how much of your order would consume each level. Many interfaces show expected price impact. See Slippage: https://cube.exchange/what-is/slippage and Price Impact: https://cube.exchange/what-is/price-impact.
How do order books integrate with derivatives risk systems?
Perpetual and futures venues connect order books with index and mark prices, funding payments, and liquidation engines to maintain fair pricing and system solvency. See Index Price: https://cube.exchange/what-is/index-price, Mark Price: https://cube.exchange/what-is/mark-price, Funding Rate: https://cube.exchange/what-is/funding-rate, and Liquidation: https://cube.exchange/what-is/liquidation.
What is the role of market makers in order book markets?
Market makers quote both sides to reduce spreads and provide consistent liquidity. They manage inventory and hedge risk across venues, helping stabilize prices. See Market Maker: https://cube.exchange/what-is/market-maker.
Are on-chain order books practical today?
They can be, depending on chain throughput and latency. Many projects use hybrid designs or layer 2 solutions to achieve performance while maintaining on-chain settlement or proofs. See Layer 2 Blockchain: https://cube.exchange/what-is/layer-2-blockchain and Rollup: https://cube.exchange/what-is/rollup.
What is the Best Bid and Offer and how do I use it?
The best bid is the highest active buy price; the best offer is the lowest active sell price. Together they indicate the immediate executable prices and define the spread. See Best Bid and Offer: https://cube.exchange/what-is/best-bid-and-offer-bbo.
How do centralized and decentralized exchanges differ for order books?
Centralized venues typically provide ultra-low-latency matching and deep books. Decentralized venues increasingly adopt L2 or hybrid models to approach similar performance with greater transparency. See Centralized Exchange: https://cube.exchange/what-is/centralized-exchange, Decentralized Exchange: https://cube.exchange/what-is/decentralized-exchange, and Hybrid Exchange: https://cube.exchange/what-is/hybrid-exchange.
Can order books display hidden or iceberg orders?
Some venues support hidden or partially hidden orders that do not display full size at a price level, revealing only a small portion. Support varies by platform and jurisdiction. Always consult the exchange’s official documentation.
Which tokens commonly show the deepest order books?
Large-cap assets with substantial trading interest, such as Bitcoin (BTC) and Ethereum (ETH), often have deeper books and tighter spreads than lower-liquidity tokens. Depth varies by venue and market conditions. For BTC: https://cube.exchange/what-is/btc, and for ETH: https://cube.exchange/buy/eth.