Read your event tape
GET/trades
Lists your past events, oldest first. For the next page, pass the returned seq as after. Granted viewers can call it.
Authentication
x-crx-addressx-crx-tsx-crx-sigx-crx-addressx-crx-signerx-crx-tsx-crx-sigx-crx-session
Parameters
| Name | In | Type | Description |
|---|---|---|---|
after | query | integerminimum 0default 0 | Events with a |
limit | query | integer1 to 1000default 100 | Page size, 1 to 1000. Defaults to 100; other values return 400. |
Responses
200
OK.
| Field | Type | Description |
|---|---|---|
trades required | array of object | Events, oldest first. |
trades[].seq required | integer | |
trades[].ts required | integerminimum 0 | Unix time in milliseconds. |
trades[].type required | string | Event name, such as |
trades[].data required | object | Event fields for your account. Book a trade only on |
seq required | integerminimum 0 | Next |
400
bad_request, invalid_signature.
code bad_request invalid_signature
401
unauthorized: a header is missing or malformed, x-crx-ts is out of range, the call was already used, the signature does not match, or the caller lacks access.
code unauthorized
403
not_whitelisted: the account is not approved for this call.
code not_whitelisted
408
timeout: no answer within 30 seconds.
code timeout
409
conflict: after is above your latest sequence number; details carries after and head.
code conflict
429
rate_limited: retry after Retry-After seconds.
code rate_limited
| Header | Type | Description |
|---|---|---|
Retry-After | integer | Seconds until the next call is accepted. |
ratelimit-limit | integer | Maximum calls in a burst. |
ratelimit-remaining | integer | Calls remaining before the limit. |
ratelimit-reset | integer | Seconds until the full limit is restored. |
ratelimit-refill | integer | Calls restored per minute. |
502
upstream: a chain read failed. Retry shortly.
code upstream