useInputs
Usage
import { } from "@cartesi/react";
function () {
const { , } = ({
: "0x...",
: 50,
: 0,
// ...other filters
});
const { : , } = || {};
// render logic
}Filters
The hook can filter results by:
application: Address | stringepochIndex?: bigintsender?: AddresstransactionHash?: Hashfrom?: bigint— inclusive lower bound on the input indexto?: bigint— inclusive upper bound on the input index
import type { } from "@cartesi/client";Return Type
The data is an array of Input:
import type { , , } from "@cartesi/client";For more information about pagination refer to the pagination section.