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

> ## Agent Instructions
> Authenticate every request with `Authorization: ApiKey {jwt}`: an ES256 JWT signed with the user's private API key, whose header carries `kid` (the API key ID) and whose payload carries `iat` (Unix time in seconds) and `message`, the hex SHA-256 of `{iat}\n{METHOD}\n{PATH}\n{BODY}`. METHOD is uppercase, PATH includes the query string, BODY is the exact JSON sent or an empty string. Full steps: https://developer.bron.org/api-reference/authentication
> Prefer the official SDKs or the CLI, which sign every request: TypeScript `npm install @bronlabs/bron-sdk`, Go `go get github.com/bronlabs/bron-sdk-go`, Python `pip install git+https://github.com/bronlabs/bron-sdk-python.git`, CLI `brew install bronlabs/apps/bron`. Hand-write JWT signing only for a language without an SDK.
> The base URL is https://api.bron.org. Workspace data lives under `/workspaces/{workspaceId}/...`, and `/dictionary/...` serves reference data such as assets, networks and prices. Timestamps are milliseconds since the Unix epoch. Numeric values, amounts included, are strings: never parse them as floats.
> Never ask the user to paste their API key (the private JWK) into a chat and never hard-code it: read it from an environment variable or a secret store.

# Reference

## Network IDs

Network IDs are case-sensitive string identifiers used in `baseNetworkId` / `quoteNetworkId` and other on-chain calls.

| Network ID | Description |
| - | - |
| `BTC` | Bitcoin |
| `ETH` | Ethereum |
| `BSC` | BNB Smart Chain |
| `TRX` | TRON |
| `SOL` | Solana |
| `TON` | The Open Network |
| `CC` | Canton Coin |
| `XRP` | XRP Ledger |
| `BASE` | Base |
| `GNK` | Gonka |
| `ARB` | Arbitrum |
| `OP` | Optimism |
| `POL` | Polygon |
| `HyperEVM` | Hyperliquid EVM |

## Order status enum

See the full list with meanings on the [Technical Details](https://developer.bron.org/intents/technical-details.md) page.

## Smart contracts

The protocol is composed of the following contracts:

* **`OrderEngine`** — order lifecycle, auction, settlement, liquidation entry points.
* **`BroadcasterRegister`** — broadcaster registration, BRON deposits, front-end fee accounting.
* **`SolverRegister`** — solver registration, insurance management, fee accrual and collection.
* **`OracleAggregator`** — oracle registration, network subscriptions, vote aggregation, cooldown / suspension logic.
* **`InsuranceManager`** — insurance token configuration (haircut, liquidation premium).
* **`Metadata`** — read-only aggregator that combines order, fee, and timeout data into a single struct.

## Useful read-only views

| Call | Returns |
| - | - |
| `Metadata.getOrderFullResponse(orderId)` | One-call aggregate: order struct, all fee breakdowns (solver / broadcaster / oracles, percent\_e4 / bps / absolute), liquidation premium, auction / user-settlement / confirmation timeouts, settlement-from addresses, derived `WAIT_FOR_USER_TX` and timeout-cancelled status |
| `OrderEngine.getOrder(orderId)` | Full order struct (status, base/quote params, pricing) — raw, no derived statuses |
| `OrderEngine.getSettlementFromAddresses(orderId)` | User and solver settlement-from addresses |
| `OrderEngine.ordersFrontEndFee(orderId)` | Stored front-end fee for the order |
| `SolverRegister.getSolverAvailableOperationAmount(solver)` | How much volume the solver can still react on |
| `SolverRegister.getAvailableAmountToWithdraw(solver)` | How much insurance the solver can withdraw right now |
| `InsuranceManager.getInsuranceTokens(token)` | Current haircut and liquidation premium for a token |


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