Play Game
Places a prediction for a fixture.
playGame
Places a prediction for a fixture.
Syntax
playGame(tournamentID, fixtureDetails, hdaOdds)
Returns
TransactionReceipt: Transaction details.
Example
await sdk.playGame(1, [123, 2, 1, 1672531200, 1.5], {
fixtureID: 123,
homeOdds: 2.0,
drawOdds: 3.0,
awayOdds: 4.0,
totalPotentialOdds: 1.5
});
Sample Return
{
"status": true,
"transactionHash": "0x123..."
}