GET
/
trade
/
v1
/
{chain}
Trade - List
curl --request GET \
  --url https://api-dex.chainstream.io/trade/v1/{chain} \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    "<string>"
  ],
  "hasNext": false,
  "hasPrev": false,
  "startCursor": "<string>",
  "endCursor": "<string>",
  "total": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chain
any
required

Query Parameters

cursor
string

Pagination cursor

limit
number
default:20

Number of results per page

Required range: 1 <= x <= 100
direction
enum<string>
default:next

Pagination direction (next or prev)

Available options:
next,
prev
tokenAddress
string

Token address to query trades

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

walletAddress
string

Wallet address to query trades

Example:

"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"

poolAddress
string

Pool address to filter trades

Example:

"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN"

beforeTimestamp
number

Start timestamp for filtering trades (Unix epoch in seconds)

Example:

1717334400000

afterTimestamp
number

End timestamp for filtering trades (Unix epoch in seconds)

Example:

1717334400000

beforeBlockHeight
number

Filter trades before this block height

Example:

332417228

afterBlockHeight
number

Filter trades after this block height

Example:

332417228

Response

200 - application/json

The response is of type object.