GET
/
redpacket
/
{id}
/
claims
curl --request GET \
  --url https://api-dex.chainstream.io/redpacket/{id}/claims \
  --header 'Authorization: Bearer <token>'
{
  "total": 100,
  "hasNextPage": true,
  "startCursor": "cursor_123",
  "endCursor": "cursor_456",
  "records": [
    {
      "packetId": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "chain": "sol",
      "claimer": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "1000000000",
      "claimedAt": 1717334400
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

红包ID

Example:

"redpacket123"

Query Parameters

cursor
string

分页游标

Example:

"cursor_123"

limit
number

每页记录数

Required range: 1 <= x <= 100
Example:

20

direction
string

排序方向

Example:

"desc"

Response

200 - application/json

The response is of type object.