history
¤
Protocols and types for querying historical data in the Fluree ledger.
Classes:
-
HistoryBuilder
–Protocol for history builders.
HistoryBuilder
¤
Bases: SupportsContext['HistoryBuilder']
, SupportsRequestCreation
, SupportsCommitable
, Protocol
Protocol for history builders.
Methods:
acommit
async
¤
acommit() -> FlureeResponse
Executes the transaction asynchronously.
Raises:
-
RequestError
–If the HTTP request fails.
-
TypeError
–If the type parameter cannot be resolved.
commit
¤
commit() -> FlureeResponse
Executes the transaction synchronously.
Raises:
-
RequestError
–If the HTTP request fails.
-
TypeError
–If the type parameter cannot be resolved.