Overtime V2 user history
Get a user history. It returns all tickets grouped by status.
REST API
GET
https://overtimemarketsv2.xyz/overtime-v2/networks/{{network}}/users/{{userAddress}}/history
See the user history API endpoint with request/response examples under Postman documentation.
Example Request
Example Response
Response Parameters
Ticket
id
string
Ticket address
timestamp
number
Ticket created timestamp
collateral
string
Collateral used for ticket
account
string
Ticket owner address
buyInAmount
number
Ticket buy-in amount
fees
number
Ticket fees (paid by LP)
totalQuote
number
Ticket total quote
payout
number
Ticket payout
numOfMarkets
number
Number of markets on the ticket
expiry
number
Ticket expiry timestamp (90 days from creation)
isResolved
boolean
Is ticket resolved (exercised): true
or false
.
isPaused
boolean
Is ticket paused: true
or false
.
isCancelled
boolean
Is ticket cancelled (all markets on the ticket are cancelled): true
or false
.
isLost
boolean
Is ticket lost (by user): true
or false
.
isUserTheWinner
boolean
Is user the winner: true
or false
.
isExercisable
boolean
Is ticket exercisable (all markets are resolved): true
or false
.
isClaimable
boolean
Is ticket claimable (by user - user is the winner and not resolved): true
or false
.
isOpen
boolean
Is ticket open: true
or false
.
finalPayout
number
Final payout (set only for resolved tickets, otherwise is 0)
isLive
boolean
Is live ticket (ticket with live market): true
or false
.
TicketMarket
gameId
string
Game ID
subLeagueId
number
Game subleague ID. It is used for some sports (tennis and UFC) to separate different levels and rounds of tournaments. (needed on the contract side, not used on UI).
typeId
number
Type ID of the market. 0 for parent market (moneyline/winner). For other types see Overtime V2 market types.
line
number
Market line (if available).
maturity
number
Game start timestamp
maturityDate
date
Game start date and time
homeTeam
string
The name of the home team
awayTeam
string
The name of the away team
isOpen
boolean
Is market open: true
or false
.
isResolved
boolean
Is market resolved: true
or false
.
isCancelled
boolean
Is market cancelled: true
or false
.
isWinning
boolean
Is winning market for the user: true
or false
.
isOneSideMarket
boolean
Is one-side market (motosport, golf winner...): true
or false
.
isPlayerPropsMarket
boolean
Is player props market: true
or false
.
isOneSidePlayerPropsMarket
boolean
Is one-side player props market (who will score first/last touchdown...): true
or false
.
isYesNoPlayerPropsMarket
boolean
Is YES/NO player props market (double-double, triple-double...): true
or false
.
selectedCombinedPositions
Selected combined positions if the market is that type (half-time/full-time, winner+total...)
position
number
Selected position on the market
gameStatus
string
Current game status
isGameFinished
boolean
Is game finished: true
or false
.
homeScore
number | string
Home team score or player score if the market is player props market
awayScore
number | string
Away team score or 0 if the market is player props market
homeScoreByPeriod
number[]
Home team score by period
awayScoreByPeriod
number[]
Away team score by period
PlayerProps
playerId
number
Player ID
playerName
string
The name of the player
playerScore
number | string
Player score
CombinedPosition
typeId
number
The type ID of single market
position
number
The position on the single market
line
number
Single market line
Odds
american
number
American format of the odds
decimal
number
Decimal format of the odds
normalizedImplied
number
Normalized Implied format of the odds
Last updated