Skip to content
Logo

getPendingExecutableOutputCount

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 getExecutedOutputCount instead and diff the pending set on change.

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";
// GetPendingExecutableOutputCountReturnType = bigint;