Skip to main content
POST
/
v2
/
redpacket
/
{chain}
/
send
RedPacket - Send
curl --request POST \
  --url https://api.dex.chainstream.io/v2/redpacket/{chain}/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "signedTx": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRg..."
}
'
{
  "signature": "5UfDuX7hXbL3mFfPdq1pymNHM..."
}

Authorizations

Authorization
string
header
required

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

Path Parameters

chain
enum<string>
required

A chain name listed in supported networks Supported blockchain chains

Available options:
sol,
eth,
bsc

Body

application/json

Send red packet transaction request

signedTx
string
required

DTO.RED_PACKET.SIGNED_TX

Example:

"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRg..."

Response

200 - application/json

Successful response

Send red packet transaction response

signature
string
required

DTO.RED_PACKET.SIGNATURE

Example:

"5UfDuX7hXbL3mFfPdq1pymNHM..."