cartesi_listTournaments
Usage
import { } from "@cartesi/rpc";
const = ({ : "http://127.0.0.1:6751/rpc" });
const { , } = await .("cartesi_listTournaments", {
: "0x0974CC873dF893B302f6be7ecf4F9D4b1A15C366",
: 50,
: 0,
});Filters
The request can filter results by:
epoch_index: HexNumberlevel: HexNumberparent_tournament_address: Addressparent_match_id_hash: Hash
import { type } from "@cartesi/rpc"Return Type
The data is an array of Tournament:
import {
type ,
type ,
} from "@cartesi/rpc";For more information about pagination refer to the pagination section.