Skip to main content

Prerequisites

  • Funded issuer wallet authorized on the target schema (authority or delegate)
  • Recipient meta-address hex for the full announce path
  • ethereumWalletClient or solanaWallet configured

Issue to a meta-address

When the recipient is a meta-address, issueAttestation resolves stealth material, submits attest, and publishes an announcement (default announce: true):
The announcement uses the V2 0xB2 metadata layout, so recipients discover it with discoverTraitsV2(rows, { chain }).

Issue to self (E2E test pattern)

Recipient formats

Legacy V1 issuer announce helpers

These helpers encode the older V1 0xA7 attestation id marker. Keep them only for legacy integrations. For schema-bound V2 attestations, prefer issueAttestation, which submits the attestation and publishes the matching V2 announcement.
Metadata encoding:

Verify issuance

Solana

Same API; pass chain: "solana":

Error cases