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