statement_history
Every version in a statement's supersession chain, oldest to newest.
async fn statement_history(&self, statement_id: &str, query: &StatementHistoryQuery) -> Result<StatementHistoryResult, BrainHttpError>async fn statement_history(&self, request: &StatementHistoryRequest) -> Result<Vec<StatementView>>
async fn statement_history_frames(&self, request: &StatementHistoryRequest) -> Result<Vec<StatementHistoryResponseFrame>>Parameters
ParameterTypeRequired
statement_idstringrequiredAny version in the chain — the history is the same from any of them. On the wire the field is anchorId.
include_tombstonedbooleanoptionalInclude retired versions.
limitintegeroptionalPage size.
cursorstring (wire: bytes)optionalCursor from the previous page.
Returns
FieldTypePresence
itemsStatementDetail[]alwaysThe versions.
chain_rootstringalwaysThe chain's stable id.
total_versionsintegeralwaysHow many versions exist in total, across all pages.
next_cursorstringAbsent 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?