GET
/
redpacket
/
{id}
RedPacket - Get
curl --request GET \
  --url https://api-dex.chainstream.io/redpacket/{id} \
  --header 'Authorization: Bearer <token>'
{
  "chain": "sol",
  "id": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "shareId": "123456",
  "txHash": "123456",
  "creator": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "totalAmount": "1000000000",
  "memo": "Happy Red Packet",
  "maxClaims": 100,
  "claimAuthority": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
  "expired": true,
  "expiration": 24,
  "createdAt": 1717334400,
  "expiredAt": 1717334400,
  "claimedCount": 1717334400,
  "claimedAmount": 1717334400,
  "refundedAmount": "123456"
}

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.