English
Query redpacket information
cURL
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" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Redpacket id
"redpacket123"
The response is of type object.
object
Was this page helpful?