Skip to main content
Schemas define the shape of attestations an issuer can publish. This guide covers creation, listing, delegation, and deprecation.

Setup (issuer backend)

Create a schema

Field definitions

Pass an ABI-style string or FieldDef[]:
schemaId is derived deterministically from (authority, name), so use unique names per run in tests.

List your schemas

Returns schemas where your wallet is authority or delegate:

Add / remove delegates

Authority-only. Up to 10 delegates per schema.

Deprecate a schema

Irreversible; blocks new attestations:

Solana equivalent

Full E2E test reference

See sdk/tests/psr-e2e.test.ts (Ethereum) and sdk/tests/psr-e2e-solana.test.ts (Solana) for live testnet flows.