Get market activity
GET
/markets/{id}/activityGet last matches for specific market
Request
Path Params
id
string
required
a string that will be parsed into a number
Query Params
minValueUsdbWei
string
optional
a string that will be parsed into a bigint
first
string
optional
a string that will be parsed into a number
after
string
optional
a string
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Response 200
Data Schema
success
boolean
required
a boolean
cursor
string | null
required
a string
data
array [object {7}]
required
quoteType
enum<string>
required
Allowed values:
AskBid
createdAt
string
required
date string
transactionHash
string
required
a non empty string
>= 1 characters
amountFilled
string
required
bigint string
priceExecuted
string
required
bigint string
marketId
integer
required
an integer
outcome
object
required
Example
{
"success": true,
"cursor": "string",
"data": [
{
"quoteType": "Ask",
"createdAt": "string",
"transactionHash": "string",
"amountFilled": "string",
"priceExecuted": "string",
"marketId": 0,
"outcome": {
"name": "string",
"indexSet": 0,
"onChainId": "string",
"status": "WON"
}
}
]
}
Last modified: 11 days ago