Skip to main content
The hyperliquid.raw.spot_coin_pairs table maps spot pair identifiers (e.g. @107) used in raw.fills, raw.trades, raw.orders, and raw.twaps to symbol pairs (e.g. HYPE/USDC) by resolving token_a and token_b indexes via the spot tokens table.
Joining fills (and trades/orders/twaps) with spot pairs: For spot activity, join on the coin column. Use f.coin = p.name (or TRIM(f.coin) = p.name) to get pair, token_a_symbol, and token_b_symbol. For perpetuals, coin is already the symbol (e.g. HYPE); no join needed. See the Fills page for a sample query.

Table Columns

Sample Query