Orderbook Endpoints
getEventDetails
Gets the event details that are stored on the canister (this data is not updated after deployment of the canister until the end of the event).
Method: query
isSigned: false
Response
Returns: InitEventDetails
where InitEventDetails is defined as:
public type InitEventDetails = {
sport : Text;
eventType : Text;
id : EventID;
leagueId : Nat;
markets : [MarketInfo];
};
public type EventID = Nat;
public type MarketInfo = {
name : Text;
id : Nat;
betType : Text;
result : ?Bool;
};