listReports
Usage
import { } from "viem";
import { } from "@cartesi/viem";
const = ({
: ("http://127.0.0.1:6751/rpc"),
});
const { , } = await .({
: "0x...",
: 10,
: 0,
// epochIndex, inputIndex (optional)
});
Parameters
import type { } from "@cartesi/viem";
// {
// application: Address | string;
// epochIndex?: bigint;
// inputIndex?: bigint;
// limit?: number;
// offset?: number;
// descending?: boolean;
// }
Return Type
import type { , , } from "@cartesi/viem";
// ListReportsReturnType = {
// data: Report[];
// pagination: Pagination;
// }