GET
/
redpacket
curl --request GET \
  --url https://api-dex.chainstream.io/redpacket \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

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

Query Parameters

cursor
string

分页游标

Example:

"cursor_123"

limit
number

每页记录数

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

20

direction
string

排序方向

Example:

"desc"

creator
string

红包创建者的钱包地址

Example:

"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"

chain
enum<string>

区块链网络

Available options:
sol,
base
Example:

"sol"