useExecutedOutputCount
Number of outputs of an application that were already executed. The count is
monotone, which makes it a sound change signal to poll — on change, re-query
useOutputs with executed: false and
outputType: ["Voucher", "DelegateCallVoucher"] and 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.
Usage
import { } from "@cartesi/react";
function () {
const { , } = ({
: "0x...",
});
// render logic
}Return Type
The data is the executed output count (bigint):
import type { } from "@cartesi/client";