Live Events
LiveEvent
is the base API object used to record an in-match event that occurs at a specific coordinate (x
, y
) on a Field during a scheduled Match (Calendar
). It is the primary mechanism by which game data—such as goals, moves, fouls, or plays—is captured and mapped to corresponding Cubes for scoring and reward processing.
This API serves as a trusted interface to power fan engagement:
Manually via the organizer dashboard or solution UI (BWS Solution Interface)
Automatically via BWS-provided machine learning models that detect and push game events in real time (e.g., AI-driven goal recognition, chess move capture)
Through your application.
new_event
POST
https://api.bws.ninja/v1/call
Request Body
solution*
string
BWS.NFT.GameCube
operation*
string
new_event
parameters*
JSON
check method parameters
new_event Method Parameters
matchId
string
The Match Id for which you want to register the event.
fieldId
string
The Field Id the match is linked to.
calendarId
string
The calendar Id the match is linked to.
event
JSON
check event parameter
new_event Event Parameter
coordinates
JSON
check coordinates parameter
eventTypeId
string
The Event Type Id of the event you want to register.
new_event Coordinates Parameter
x
string
The 2D x coordinate of the event.
y
string
The 2D y coordinate of the event.
new_event API Call Example
new_event Call Response
When the API call is executed without errors, it returns a successful status code.
Last updated
Was this helpful?