cartesi_getPendingExecutableOutputCount
Returns the number of executable outputs of an application that are still pending execution.
This is a gauge, not a change signal or a resume cursor: it grows with new
executable outputs and shrinks with executions, so it can return to a previous
value while work happened in between. Poll
cartesi_getExecutedOutputCount instead
and diff the pending set on change.
Usage
import { } from "@cartesi/rpc";
const = ({ : "http://127.0.0.1:6751/rpc" });
const { : } = await .(
"cartesi_getPendingExecutableOutputCount",
{ : "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366" },
);Return Type
import { type } from "@cartesi/rpc";