Skip to content
Logo

listMatchAdvances

Usage

import {  } from "viem";
import {  } from "@cartesi/viem";
 
const  = ({
  : ("http://127.0.0.1:6751/rpc"),
});
 
const { ,  } = await .({
  : "0x...",
  : 1n,
  : "0x...",
  : "0x...",
  : 10,
  : 0,
});

Parameters

import type {  } from "@cartesi/viem";
// {
//   application: Address | string;
//   epochIndex: bigint;
//   tournamentAddress?: Address;
//   idHash: Hash;
//   limit?: number;
//   offset?: number;
//   descending?: boolean;
// }

Return Type

import type { , ,  } from "@cartesi/viem";
// ListMatchAdvancesReturnType = {
//   data: MatchAdvanced[];
//   pagination: Pagination;
// }