client.data.core.getTrades returns historical fills across markets. Combine filters to analyse
liquidity, user behaviour, or market conditions.
Request
Parameters
⚠️ Provide bothfilterTypeandfilterAmountor neither. Mixing them triggers a validation error. Likewise,marketandeventIdcannot be combined.
Response
Usage example
Failure modes
- Missing paired filters → validation error referencing both fields.
- Conflicting
market/eventId→ validation error. - HTTP failure →
HttpErrorwith parsed body. - Network failure →
Error("Network error: …")with original cause.