# Laser Chain Explorer — agent guide

This read-only explorer shows Laser Shadownet, an experimental network whose coins have no monetary value. Its interactive interface is client-rendered. To read its data without JavaScript or browser automation, use the public JSON endpoints below. They are the same data sources used by the visual explorer. Do not treat an HTML shell or loading indicator as an empty chain.

## Start here

- [Overview](https://explorer.laserchain.org/)
- [Blocks](https://explorer.laserchain.org/blocks)
- [Accounts](https://explorer.laserchain.org/accounts)
- [Activity](https://explorer.laserchain.org/activity)
- [Economics](https://explorer.laserchain.org/economics)
- [Main website guide](https://laser.cash/agents.md)
- [Complete main website text](https://laser.cash/llms-full.txt)
- [Source availability, releases and research status](https://laser.cash/verification.md)

Active Shadownet consensus uses PhotonHash v0.2.2. LF2-K8 is separate
non-consensus research; explorer activity is not a measurement of LF2 mining.

## Read-only JSON API

All endpoints below use GET. No authentication is required. Page responses advertise the corresponding JSON endpoint with `rel="alternate"; type="application/json"` in the HTTP Link header. The HTML document head and response headers link to this guide.

1. Fetch [the tip](https://explorer.laserchain.org/api/tip) for the current height, block hash and snapshot timestamps.
2. Fetch [recent blocks](https://explorer.laserchain.org/api/blocks?limit=40), [accounts](https://explorer.laserchain.org/api/accounts), and [recent transfers](https://explorer.laserchain.org/api/transfers?limit=8) to reproduce the overview.
3. Use each block's `height` or `hash` at `/api/block/{height-or-hash}`. Use each account's full `address` at `/api/account/{address}`. For a transfer, use its `block_height` and zero-based `tx_index` at `/api/tx/{height}/{position}`.
4. Fetch [activity](https://explorer.laserchain.org/api/activity?window=200) for the chart data and [economics](https://explorer.laserchain.org/api/economics) for issuance and rewards.

| Endpoint | Meaning and parameters |
| --- | --- |
| `/api/health` | Snapshot availability; HTTP 503 before the first snapshot, 200 afterward. Does not establish live network progress. |
| `/api/tip` | Network, canonical height, tip hash and timestamp, block/orphan counts, accumulated work; mirror receipt metadata when available. |
| `/api/blocks?limit=40&from=100` | Newest-first blocks at or below `from`; omit `from` to begin at the tip. Limit 1–500, default 40. Continue with the smallest returned height minus one, until genesis. |
| `/api/block/{height-or-hash}` | Block details and all transactions. Hash is 64 hexadecimal characters. |
| `/api/accounts` | All accounts with balance or nonce in the current snapshot. |
| `/api/account/{address}?limit=100` | Account state plus newest matching transfers; limit 1–500, default 100. `transaction_count` is the number returned, not the all-time count. For older history, page through blocks. Unused valid addresses return zero state. |
| `/api/transfers?limit=8` | Recent transfers, limit 1–100. `scope` is `active-chain` in mirror mode or `latest-200-blocks` in local-node mode. |
| `/api/tx/{height}/{position}` | Transaction at a zero-based position within the block, including its containing block hash. |
| `/api/activity?window=200` | Summary, miners, time buckets and chart series for 20–500 recent blocks. |
| `/api/economics` | Supply, rewards, emission schedule and interpretation notes. |

The visual detail routes are `/block/{height-or-hash}`, `/account/{address}`, and `/tx/{height}/{position}`. For each, prepend `/api` to read its data. The visual overview `/` corresponds to several API calls as described above. Pagination parameters in this guide apply to JSON endpoints. `/search?q=...` redirects a height, block hash or address to its visual record.

## Units and record identity

- 1 LASER = 1,000,000,000 photons. Decimal balances and transfer amounts in LASER are strings. Photon quantities are exact integers; preserve them with arbitrary-precision integers or a lossless JSON parser. Do not parse large amounts into JavaScript Number. Activity rates and chart summaries may use floating-point approximations; use exact amount fields for accounting.
- Timestamps are Unix seconds. Full hashes and addresses are present in JSON; visual abbreviations in the interactive view do not change record identifiers.
- Transaction positions are zero-based, not transaction hashes. Reorganizations may change the block or transaction at a height/position; verify `block_hash`. Mining rewards affect balances but are not transfer rows.
- The public deployment reads the most recently accepted snapshot. Separate API calls may observe different snapshots; compare heights and hashes when combining results. If consistency matters, fetch the tip before and after a group of requests and retry if its hash changed.

Activity `window` is the number of returned blocks, bounded by `requested_window`.
The `sample` object gives first/last heights and block timestamps, interval count
and rewarded blocks (excluding genesis). `observed_at` is API response time;
`snapshot_received_at` is mirror receipt time, when available. The blocks/hour
estimate uses the number of intervals divided by their elapsed block time.
`summary.unique_miners` and the `miners` rows count distinct payout addresses,
as identified by `miner_count_basis=distinct_payout_addresses`. One operator
can use several addresses and several operators can share one. Shares describe
rewarded blocks in this sample, not measured hashrate or operator concentration.
Orphan count concerns the indexed snapshot; it is not a reorganization rate
over the activity window. Peer and mempool fields can be unavailable.

Economics `emission_basis=post-genesis-v1` excludes the unallocated height-zero
formula reward from `emitted_through_tip_*`. `genesis_reward_*` is that formula
value, not a spendable allocation; `genesis_spendable_photons` is zero.
Issued supply plus `remaining_after_tip_photons` plus
`unallocated_genesis_reward_photons` equals the specified cap. The
`modeled_emitted_through_tip_photons` field retains the mathematical sum including
height zero. The 12,614,400-block half-life is approximately four years only at
the ten-second target; faster blocks accelerate calendar-time issuance.

## Freshness and failures

`snapshot_received_at` is when the mirror received its snapshot; `server_time` is the response time; `timestamp` in the tip is the block timestamp. Report all relevant timestamps and the height when citing current data. Snapshot delivery is labeled Updating under two minutes, Updates paused from two to ten minutes, and Stale snapshot afterward. These labels do not by themselves establish network liveness. JSON data responses use Cache-Control: no-store.

In the JSON API, invalid identifiers return 400, missing blocks/transactions and unknown endpoints return 404, and unavailable data returns 503. Empty results are distinct from errors. Retry transient failures with backoff. Never infer a zero balance from an unavailable response.

This guide documents public reading. It grants no authority to ingest snapshots, operate wallets, sign or broadcast transactions. The private ingestion endpoint is not a reading API.
