Function: verifyStandardsCompliance()
Verify that a collection transaction satisfies all deterministic requirements for its declared standards.
verifyStandardsCompliance(
transaction,onChainCollection?):VerificationResult
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/verify-standards.ts:1547
Verify that a collection transaction satisfies all deterministic requirements for its declared standards.
Runs with 0 AI tokens — pure structural validation.
Parameters
transaction
any
The full transaction object (with messages array)
onChainCollection?
any
Optional prior on-chain state. Required for
accurate verification of update transactions — the chain ignores
defaultBalances and invariants on MsgUpdateCollection, so those
fields are absent from the tx body even though the checks below
depend on them. When supplied, we splice the on-chain values onto
the verification view so every downstream check runs against the
full effective collection state.
Returns
VerificationResult with violations and checked standards