Get Bets
get-betsGet bets from markets or for users with various filtering options
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional. Bet ID to filter by | |
| after | No | Optional. Get bets after this bet ID | |
| kinds | No | Optional. Filter by bet kind | |
| limit | No | Optional. Number of bets to return (default: 1000) | |
| order | No | Optional. Sort order by creation time | |
| before | No | Optional. Get bets before this bet ID | |
| userId | No | Optional. User ID to filter by | |
| answerId | No | Optional. Answer ID to filter by | |
| username | No | Optional. Username to filter by | |
| afterTime | No | Optional. Get bets after this timestamp | |
| minAmount | No | Optional. Minimum bet amount | |
| beforeTime | No | Optional. Get bets before this timestamp | |
| contractId | No | Optional. Contract ID(s) to filter by | |
| contractSlug | No | Optional. Contract slug to filter by | |
| filterRedemptions | No | Optional. Filter redemptions |