Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Reference · Boson Protocol
Skip to content

Reference

The reference is the source of truth for symbols, signatures, and schemas. Most pages here are auto-generated from the underlying source — zod schemas, TypeChain factories, Solidity ABIs, GraphQL queries. The pipeline that produces them lives at scripts/docs-gen/.

Generated pages carry a banner: "Generated from <source>@<commit>. Edit the source, not this page."

Sections

Conventions

  • TypeScript types are rendered with Twoslash; hover over identifiers in code blocks for inline type info.
  • Solidity types are rendered from NatSpec; click through to GitHub for the source.
  • Zod schemas are rendered as inline tables with type, required/optional, default.
  • Errors are listed per-page with code, when-thrown, and what-to-do.

When the reference is wrong

Open an issue or PR against the source-of-truth file, not the generated page. The pipeline rebuilds on every commit.

Searching

The site search is biased down for Reference pages (so concept queries land on Concepts first). To search reference specifically, use the search input on this page or browse the sidebar.