Loading...
Fetches tournament details.
getTournament
Syntax
Parameters
tournamentID: Tournament ID.
Returns
Object: Tournament details.
Example
Sample Return
getTournament(tournamentID)
const details = await sdk.getTournament(1); console.log(details);
{ "participants": ["0x123...", "0x456..."], "stats": [30, 500], "fixtureDetails": [ { "fixtureID": 123, "predictionCount": 10 } ] }