GET
/
redpacket
/
{id}
curl --request GET \
  --url https://api-dex.chainstream.io/redpacket/{id} \
  --header 'Authorization: Bearer <token>'
{
  "chain": "sol",
  "id": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "creator": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "totalAmount": "1000000000",
  "memo": "Happy Red Packet",
  "maxClaims": 100,
  "claimAuthority": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "withdrawed": true,
  "withdrawedAt": 1717334400,
  "createdAt": 1717334400,
  "expiresAt": 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

Redpacket id

Example:

"redpacket123"

Response

200 - application/json

The response is of type object.