Usage
import { } from "viem";
import { } from "@cartesi/client";
const = ({
: ("http://127.0.0.1:6751/rpc"),
});
const = await .({
: "0x...",
: 1n,
// waitProcessing, rejectErrors, pollingInterval, retryCount, timeout (optional)
});
Parameters
import type { } from "@cartesi/client";
// {
// application: Address | string;
// inputIndex: bigint;
// waitProcessing?: boolean;
// rejectErrors?: boolean;
// pollingInterval?: number;
// retryCount?: number;
// timeout?: number;
// }
Return Type
import type { , } from "@cartesi/client";
// WaitForInputReturnType = Input;