> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coinversa.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Builder codes & attribution

> How builder-fee revenue and per-fill attribution are computed — the exact on-chain ledger, the orders-to-fills join, the verified stamp, and what dataNotes means.

A **builder code** on Hyperliquid is an address that attaches a fee to the orders it routes — wallets approve a maximum fee per builder, and the builder earns that fee on every fill it originates. It's how front-ends, wallet apps, trading bots, and builder dexes monetize order flow. Coinversa indexes the entire builder-fee economy: exact revenue for every builder, plus fill-level attribution of who traded what through whom.

> [!NOTE]
>
> **Builder ≠ builder dex.** [Builder dexes](https://docs.coinversa.ai/concepts/markets.md), such as `xyz`, `io`, `mkts` and `para`, are one kind of builder — venues that list their own markets. But any front-end can run a builder code without being a dex (wallet apps are among the largest). This page and the [builder endpoints](https://docs.coinversa.ai/api-reference/builders.md) use "builder" to mean any builder-code operator.

## Two data planes

Every builder response mixes two data sources with different guarantees:

| Plane | Source | Powers | Guarantee |
| - | - | - | - |
| **Ledger** | Hyperliquid's own cumulative builder-fee ledger | `revenueUsd` everywhere | **Exact** for any window inside ledger history (from 2026-08-11), validated to ±0.1% against the on-chain ledger. Earlier windows serve revenue from the attributed rollup (≥97% of ledger on reconciled days) with a `dataNotes` disclosure |
| **Attribution** | Trades joined to builder-fee orders on `(oid, address)` | Fills, volume, users, coins, PnL breakdowns | Attributed — currently \~77–95% coverage per builder (see below) |

The one-line rule: **revenue is exact; detail metrics are attributed.** When a leaderboard row says a builder earned \$1.2M last week, that number reconciles with the chain. When it says 4,812 users generated it, that count comes from the fill join and can slightly undercount.

## The trigger-order gap (read dataNotes)

Trigger-order fills (stop-loss / take-profit) currently attribute at ledger level only — roughly **6% of fees ecosystem-wide**, which puts per-builder attribution coverage at **\~77–95%**. Trigger-order placements (used by `/orders`) are captured live since **2026-08-20** and backfilled to **2026-03-24**. Their fills are not yet joined to builders, so attributed metrics undercount.

Practical consequence: attributed fills, volume, and user counts **slightly undercount** versus ledger revenue. Every builder response says so in its `dataNotes` field:

```json theme={null}
"dataNotes": "Revenue figures are exact per Hyperliquid's cumulative builder-fee ledger. Trigger-order fills (stop/TP) currently attribute at ledger level only (~6% of fees ecosystem-wide) until the parser upgrade, so join-attributed fills, volume, and user counts slightly undercount versus ledger revenue."
```

If you're building on this data, surface the caveat to your users — we do.

## The verified stamp

Every builder response carries a `verified` stamp, the same pattern as the census stamp on entity responses:

```json theme={null}
"verified": {
  "ledger_block": 723441892,
  "ledger_chain_time": "2026-08-21T14:02:11Z",
  "coverage": null
}
```

* `ledger_block` / `ledger_chain_time` — the latest block in Hyperliquid's builder-fee ledger this response was verified against. Treat `ledger_chain_time` as the freshness timestamp.
* `coverage` — **null today**, by design. When the attribution-reconciliation pipeline ships, it becomes a live ratio object (`window_start`, `window_end`, `ledger_fees_usd`, `attributed_fees_usd`, `ratio`, `computed_at`) quantifying exactly how much of ledger revenue the fill-level metrics account for.

> [!NOTE]
>
> `coverage: null` means "not yet provisioned" — it is never an error, and nothing about the response is degraded when it's null. Don't retry on it.

## Builder names

`builderName` comes from a curated registry of 115 known builders. When a builder isn't in the registry, the field is **omitted — never guessed**. Builder addresses in responses are always canonical lowercase 0x-hex; path parameters accept any 0x spelling.

## Cohort tiers on builder endpoints

The `/traders` and `/cohorts` endpoints label wallets with their exchange-wide **all-time** `pnlTier` / `sizeTier`, returned as legacy slugs (`smart_money`, `whale`, …) per the [trader cohorts](https://docs.coinversa.ai/concepts/cohorts.md) vocabulary. These are lifetime classifications — the pulse `cohorts-recent` endpoints classify by 30-day-rolling tiers, so the same wallet can carry a different tier there. Wallets not yet in the cohort rollup appear as `null` tiers on `/traders` and in an `untracked` bucket on `/cohorts`, so per-tier user counts always sum to `totalUsers`.

## History depth

Coinversa's copy of the builder-fee **ledger begins 2026-08-11**. Windows that reach earlier serve revenue from the attributed rollup (a floor, ≥97% of ledger on reconciled days), and `dataNotes` says so. Attributed history is visible through the [retention endpoint's](https://docs.coinversa.ai/api-reference/builder-analytics/builder-retention-cohorts.md) 12-month cohort triangle and the `firstSeen` / `lastSeen` timestamps on builder profiles.

Per-request query windows are narrower than the underlying history: `period` is `day | week | month`, and `since` parameters clamp to 90 days — see [Data windows](https://docs.coinversa.ai/api-reference/data-windows.md#builder-analytics-windows).

## Which endpoint answers what

| Endpoint | Tier | Question it answers |
| - | - | - |
| [`/builders/leaderboard`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-revenue-leaderboard) | Starter | Who are the top builders by exact revenue, and how are they trending? |
| [`/builders/{builder}/profile`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-profile) | Starter | One builder's revenue, daily series, top coins, and user base. |
| [`/trader/{address}/builders`](https://docs.coinversa.ai/api-reference/builder-analytics/builders-a-wallet-trades-through) | Starter | Which builders does this wallet trade through? |
| [`/builders/{builder}/traders`](https://docs.coinversa.ai/api-reference/builder-analytics/builders-attributed-traders) | Pro | Who are a builder's users — with PnL, fees paid, and cohort tiers? |
| [`/builders/{builder}/fills`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-attributed-fills) | Pro | The raw attributed fill stream for a builder. |
| [`/builders/{builder}/cohorts`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-user-cohort-composition) | Pro | What kind of traders use this builder — Sharps or The Crowd? |
| [`/builders/{builder}/retention`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-retention-cohorts) | Pro | Do this builder's users stick around month over month? |
| [`/builders/{builder}/overlap`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-audience-overlap) | Pro | Which other builders do this builder's users also trade through? |
| [`/builders/{builder}/orders`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-order-intent) | Pro | What do this builder's users intend — action and time-in-force mix, stop/TP triggers? |
| [`/builders/{builder}/heatmap`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-activity-heatmap) | Pro | When do this builder's users trade — a 7x24 UTC weekday-by-hour grid over the trailing 12 weeks. |
| [`/builders/{builder}/lifecycle`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-user-lifecycle) | Pro | How do this builder's users split across active / cooling / switched / dormant / movedOn? |
| [`/builders/{builder}/journey`](https://docs.coinversa.ai/api-reference/builder-analytics/builder-user-journey-economics) | Pro | Lifetime economics of the builder's trailing-year acquisition cohort. |

Cross-builder overlap is only possible because Coinversa attributes fills for **all** builders, not one — a single-builder integration can't see where its users go.

> [!NOTE]
>
> Builder analytics is available over **REST, [x402 pay-per-call](https://docs.coinversa.ai/api-reference/tiers.md#x402-pay-per-call) and the [MCP connector](https://docs.coinversa.ai/mcp/tools.md)** — eleven `builder_*` tools plus `trader_builders`, the per-wallet inverse.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.