Skip to main content

QueryResults

For the complete documentation index, see llms.txt

@midnight-ntwrk/onchain-runtime v3.0.0


@midnight-ntwrk/onchain-runtime / QueryResults

Class: QueryResults

The results of making a query against a specific state or context

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: RunningCost;

The measured cost of executing the query

Methods​

toString()​

toString(compact?): string

Parameters​

compact?​

boolean

Returns​

string