Brain Docs

Reference

TypeScript SDKInstallationHTTP clientWire client
createStatementgetStatementlistStatementssupersedeStatementtombstoneStatementretractStatementstatementHistory
ErrorsRetriesPagination
Brain/Docs
✦ ASKBrain on GitHubDashboard
TypeScript SDKStatementstombstoneStatement

tombstoneStatement

Mark a claim not-current with no replacement — this was never true.

PURPOSE

Retire a statement with no replacement. The record stays. Use it when the claim was wrong, rather than outdated — an outdated claim should be superseded.

DELETE/v1/statements/:idBearer API keystable
tombstoneStatement(statementId: string, query?: RetireStatementQuery): Promise<TombstoneResult>
Handshake credentialstable
tombstoneStatement(request: StatementReasonRequest): Promise<StatementTombstoneResponse>

Parameters

ParameterTypeRequired
statementIdstringrequired

The statement to retire.

reasonintegeroptional

A reason code. On the wire, part of the shared StatementReasonRequest.

messagestringoptional

A free-text note. The wire field is reasonMessage.

Returns

FieldTypePresence
tombstonedAtUnixNanos64-bit integeralways

When it was retired.

Tombstoning keeps the stored text. To have the bytes zeroed as well, use retractStatement.

On the wire

subject is UUID bytes and kind is an integer discriminant rather than a string. evidence is a single reference, not an array of ids. Every request carries a requestId plus an optional actAs.

See also
retractStatementsupersedeStatement

Was this page helpful?

supersedeStatement

Correct a claim by writing its replacement — the old version stays readable and the chain records the order.

retractStatement

Tombstone a claim and schedule its bytes to be zeroed — and read the deadline it returns.

On this page

ParametersReturnsOn the wire
Suggest an editOpen in Playground