Skip to content

docs(api): indexer holders, order book, keyset cursors (core#2130) - #11

Merged
erubboli merged 4 commits into
mainfrom
feat/docs-updates
Oct 5, 2026
Merged

erubboli merged 4 commits into
mainfrom
feat/docs-updates

Conversation

@erubboli

@erubboli erubboli commented Oct 5, 2026

Copy link
Copy Markdown
Member

Documents mintlayer/mintlayer-core#2130 (merged to master):

  • conventions: keyset pagination (cursor) contract — opaque cursors, envelope responses, ordering/tie-breaks, stability caveat — plus items≥1 validation shared with offset listings
  • statistics: supply-counter semantics (preminted / circulating_supply / burned / staked), absent-statistic=zero consumer contract, new /statistics/coin/holders + /statistics/token/{id}/holders, stale total_supply removed from token example
  • transaction / pool: cursor parameter documented
  • order: new aggregated order book endpoint /order/pair/{pair}/book — sides, price-level aggregation, floored decimal prices, 10,000-order scan cap with truncated flag, side-specific cursors
  • api index: pagination bullet + documentation map
  • scanner daemon / node upgrading: storage version 26→27 — version mismatch drops and re-initializes the DB, full re-scan from genesis
  • guides (Python & Go): note — at most one order operation per transaction (verified against the tx verifier: MultipleAccountCommands counts order + token account commands; MultipleOrdersCreated caps CreateOrder outputs at 1)

npm run build passes, no broken links.

… sidebar: Guides before Build, SDK order by maturity (JS, Go, Rust, Python)
…directs match both slash variants, slash targets (fix GSC 'Alternate page' duplicates + 404s)
…emap_index.xml; revert wrong redirects on real category pages (sdks, whitepaper)
- conventions: keyset pagination (cursors) contract + items>=1 validation
- statistics: counter semantics (burned/circulating), absent=zero contract, holders endpoints, drop stale total_supply
- transaction/pool: cursor parameter docs
- order: aggregated order book endpoint (sides, price levels, 10k scan cap, truncated flag, side-specific cursors)
- api index: pagination + doc map updates
- scanner daemon + node upgrading: storage version 27 (drop + re-init + full rescan)
- guides (py/go): note - at most one order operation per transaction (verified in tx verifier)
@erubboli
erubboli merged commit 98451be into main Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant