# Administrator analytics The Solbound administrator dashboard measures finalized activity in the pinned v1, v2 and v3 Devnet registries. In the password-authenticated console, select **Sync activity** or **Continue indexing** to advance the index. Reading the page queries the administration database. The sync uses the public Devnet RPC and does not request a wallet signature. ## What the numbers mean | Metric | Definition | | --- | --- | | Service fees collected | Exact lamports transferred by successful v2 and v3 grants to the treasury specified in each signed instruction. One SOL equals 1,000,000,000 lamports. Devnet SOL has no monetary value. | | Fee recipients | Historical destination wallets, their collected lamports and their number of paid grants. The table shows up to 20 recipients ordered by collected amount. Totals include every verified recipient. | | Unique vaults | Distinct vault addresses authorizing at least one successful grant write. A person can control several vaults. Wallet connections, visitors, and website sign-ins are outside this measurement. | | Unique delegates | Distinct delegate addresses named in successful grant writes. A delegate may also be a vault. | | Grant writes | Successful creates and renewals counted together, including free v1 writes and zero-fee v2/v3 promotions. A single transaction may contain multiple writes. | | Paid actions | Grant writes with an observed positive registry service transfer. | | Revocations | Successful revoke-one and revoke-all instructions. One revoke-all counts as one action regardless of affected grants. | | Failed transactions | Distinct finalized failed transactions containing an identified registry grant or revoke instruction. Runtime failure can occur elsewhere in the same transaction. Failed transactions contribute no service fee or successful action. | | Activity | The API returns up to 30 recent verified actions. The dashboard displays eight. The trend covers 30 UTC calendar days including today. An unknown block time contributes to aggregate totals but cannot be assigned to a calendar day. | Daily counts show observed actions within the indicated coverage. Historical dollar revenue, balances, network fees, visitor traffic, response latency, and active unexpired permissions are separate measurements. The service fee setting today cannot establish what a previous instruction paid. ## Verification and coverage Every sync checks the Devnet genesis hash, each program's canonical loader accounts and expected executable digests before processing their histories. For each program the loader's verified deployment slot bounds which historical instruction formats the decoder accepts. RPC responses must match the signature and slot discovered at finalized commitment. The provider supplies execution metadata. This is an operational index and relies on the provider to report finalized history faithfully. The decoder examines each registry instruction and reconstructs nested instruction parentage from recorded stack heights. Each paid grant must reference its canonical vault, grant and config PDAs and System Program. Historical v2 additionally names its pinned SOL/USD account; v3 uses opcode 6 with six accounts and has no oracle. Their separate data lengths and config-version offsets are checked. A public-key wallet must sign the transaction. A caller program can authorize an off-curve vault through a successful signed CPI. A payment must be the registry call's first direct System transfer from its vault to its instruction's own treasury, within the v2 signed lamport cap, or exactly equal to the v3 signed lamport amount. A v3 zero-fee grant has no service transfer. PDA funding, allocation, other callers’ transfers, ordinary donations and transaction fees are excluded. A missing inner-instruction recording, uncertain call tree, malformed transfer, or aliased treasury/record account leaves that transaction unavailable. Previously verified events are retained. A sync reads up to 35 signatures per page, independently follows new and older history, and attempts up to eight receipts across the configured registries. A 15-second RPC budget and per-request timeout bound each pass. The shared database enforces at least 15 seconds between passes, including requests from different sessions. A provider rate-limit response stops remaining RPC calls immediately and sets the next allowed time from its `Retry-After` header. A missing or invalid header uses a one-minute delay. The dashboard can show committed partial results throughout. An initial sync may continue for up to three passes while the page is open. Concurrent workers coordinate through a PostgreSQL transaction advisory lock. The signature queue, progress, next allowed sync time and uniquely keyed events commit together. The dashboard can be refreshed during a sync and reads a consistent previous snapshot. Missing or unrecognized receipts are retried after an hour. Temporary transport failures use a short retry delay. - **Not started** means no successful discovery pass has completed. A fee total is unavailable until there is decoded evidence. - **Partial** means discovery is pending, receipts are missing, a registry check failed, or available pages did not reconnect to a previous head or reach a known deployment. Repeat sync to continue pending work. The Devnet provider can prune older records. - **Caught up** means all configured registry cursors reached their published deployment signatures, no known receipts remain missing and the current indexed heads were checked. New blocks may arrive after that check. The shared timestamp is the oldest registry's last successful discovery. The markers are the published [v1 deployment](https://explorer.solana.com/tx/3eCHdec79tqTeM7ZAvcDW45c97cyKSJxUMCDdJKZ2Bog5uNSqnzo3CxeyW6Y5VQk4kfqTKnVe6eswtqVQPXP2dp9?cluster=devnet) and [v2 deployment](https://explorer.solana.com/tx/4cDdqPTwRnmbJaLh5DnJg8frRjZUwbYg9ZSf1x8fUTRfgLg65CLYvRvmB6waDw5z259robiMLvHNDDnty2TvdyHW?cluster=devnet). The v3 marker is its [finalized public deployment](https://explorer.solana.com/tx/5Lr1ZsPJavgxiWZ5hDft11RUfqF8gv21WAhSyac4heercNDxz5HGuM2ghRPPomHwNyXChuaN8g1AxftvpVRNpowi?cluster=devnet), also recorded in [the release manifest](devnet-v3-release.json). A local test signature is not a public history boundary. For the provider's pagination, null receipt and instruction metadata semantics, see [getSignaturesForAddress](https://solana.com/docs/rpc/http/getsignaturesforaddress), [getTransaction](https://solana.com/docs/rpc/http/gettransaction) and [Solana RPC JSON structures](https://solana.com/docs/rpc/json-structures). ## API and database `GET /api/admin/analytics` returns the saved snapshot. `POST /api/admin/analytics/sync` accepts exactly `{}` and returns the refreshed snapshot. Both routes require a verified password session. The response exposes `coverage.nextSyncAt` and `coverage.syncWarning` on every snapshot. During cooldown, POST returns the saved result without contacting the provider. Concurrent in-flight requests can return 409. A provider interruption after discovery returns 200 and a coverage warning. If the first discovery cannot complete, POST returns 503 with `Retry-After`. Database failures return 503. GET reads previously committed observations even during RPC outages. Decimal lamport strings preserve exact sums above JavaScript's safe integer limit. Event signatures and public wallet addresses are the only wallet identifiers stored. The index directly aggregates in PostgreSQL. ## Reproduce the checks `node --test tools/admin-analytics.test.mjs` runs deterministic parsing and pagination checks. The PostgreSQL integration test uses a temporary in-memory PGlite server on loopback with the production pg driver. Its dependencies are optional local test tools. From the project root on Windows: ```powershell npm install --prefix .sites-local/admin-db-qa --no-save @electric-sql/pglite@0.5.16 @electric-sql/pglite-socket@0.2.19 $env:SOLBOUND_TEST_PGLITE_DIR = '.sites-local/admin-db-qa' node --test tools/admin-analytics.test.mjs ``` The optional `SOLBOUND_TEST_PUBLIC_RECEIPTS` path accepts the captured v1/v2 release fixture with `history`, `legacyHistory`, `txs` and `legacyTxs`. The 19 finalized transactions in that fixture yield eight grant writes, eight revocations, five unique vaults, five delegate addresses, and two fees totaling **60,130,508 lamports**. The dashboard computes its own totals from finalized receipts. The tests run without a production database or mailbox.