QueryResults
@midnight-ntwrk/ledger v3.0.2 β’ Readme | API
@midnight-ntwrk/ledger v3.0.2 / QueryResults
Class: QueryResults
The results of making a query against a specific state or context
Constructorsβ
new QueryResults()β
private new QueryResults(): QueryResults
Returnsβ
Propertiesβ
contextβ
readonly context: QueryContext;
The context state after executing the query. This can be used to execute further queries
eventsβ
readonly events: GatherResult[];
Any events/results that occurred during or from the query
gasCostβ
readonly gasCost: bigint;
The measured cost of executing the query
Methodsβ
toString()β
toString(compact?): string
Parametersβ
β’ compact?: boolean
Returnsβ
string