getExecutedOutputCount
Number of outputs of an application that were already executed.
The count is monotone, so an unchanged value means no new executions have been
observed and it is a sound change signal to poll. When it changes, re-query the
bounded executable-output working set with
listOutputs using executed: false and
outputType: ["Voucher", "DelegateCallVoucher"], then diff that pending set
against the previous result to identify the executions.
Neither this count, nor an output index, nor a pagination offset is a valid resume cursor: executions are observed out of output-index order, so a late execution can land behind one. The node documents a race-free execution cursor as expected in a future ingestion API.
Usage
import { } from "viem";
import { } from "@cartesi/client";
const = ({
: ("http://127.0.0.1:6751/rpc"),
});
const = await .({
: "0x...",
});Parameters
import type { } from "@cartesi/client";
// {
// application: Address | string;
// }Return Type
import type { } from "@cartesi/client";
// GetExecutedOutputCountReturnType = bigint;