/account/trades

Retrieves the user's trade history.

Query Params
string

Market address to filter trades by. If not specified, returns trades for all markets.

integer
≥ 0

Start time in milliseconds. Defaults to 7 days ago if not specified.

integer
≥ 0

End time in milliseconds. Defaults to now if not specified. Must be greater than start time and must be less than 7 days apart.

integer
1 to 1000
Defaults to 500

Default 500; max 1000.

string
enum

Type of trade. By default returns all. UNSPECIFIED returns all.

Allowed:
integer
≥ 1

The page number to retrieve in a paginated response.

Responses

Language
Credentials
Bearer
JWT
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json