useReports
Usage
import { } from "@cartesi/wagmi";
function () {
const { , } = ({
: "0x...",
: 50,
: 0,
// ...other filters
});
const { : , } = || {};
// render logic
}Filters
The hook can filter results by:
application: Address | stringepochIndex?: bigintinputIndex?: bigint
import type {
,
} from "@cartesi/viem";Return Type
The data is an array of Report:
import type {
,
,
,
} from "@cartesi/viem";For more information about pagination refer to the pagination section.