useTournaments
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?: bigintlevel?: bigint
import type {
,
} from "@cartesi/viem";Return Type
The data is an array of Tournament:
import type {
,
,
,
} from "@cartesi/viem";