statementHistory
Every version in a statement's supersession chain, oldest to newest.
statementHistory(statementId: string, query?: StatementHistoryQuery): Promise<StatementHistoryResult>statementHistory(request: StatementHistoryRequest): Promise<StatementView[]>
statementHistoryFrames(request: StatementHistoryRequest): Promise<StatementHistoryResponseFrame[]>Parameters
ParameterTypeRequired
statementIdstringrequiredAny version in the chain — the history is the same from any of them. On the wire the field is anchorId.
includeTombstonedbooleanoptionalInclude retired versions.
limitintegeroptionalPage size.
cursorstring (wire: bytes)optionalCursor from the previous page.
Returns
FieldTypePresence
itemsStatementDetail[]alwaysThe versions.
chainRootstringalwaysThe chain's stable id.
totalVersionsintegeralwaysHow many versions exist in total, across all pages.
nextCursorstringAbsent on the last page.
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
Was this page helpful?