Last updated 10 months ago
Reports winner team with optional score data to allow Dubbz to disburse the prize pool.
"5"
"USD"
const response = await fetch('https://example-game.com/api/v1/partner/matches/{matchId}/score', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "amount": "5", "currency": "USD", "teams": [ { "players": [ "0x606759EaceebbcD07733f77f5E0E22c9331FF505" ] }, { "players": [ "0x08b9CaB31F4D6465ec58D0032CeFED3C36b78AdC" ] } ] }), }); const data = await response.json();