Create a new red packet with specified amount and quantity
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A chain name listed in supported networks Supported blockchain chains
sol, eth, bsc DTO.RED_PACKET.CREATOR
DTO.RED_PACKET.CREATOR
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
DTO.RED_PACKET.MAX_CLAIMS
10
DTO.RED_PACKET.MINT
"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
DTO.RED_PACKET.CLAIM_AUTHORITY
"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"
DTO.RED_PACKET.EXPIRATION
24
DTO.RED_PACKET.FIXED_AMOUNT
"1000000000"
DTO.RED_PACKET.MEMO
"Happy Red Packet"
DTO.RED_PACKET.PASSWORD
"123456"
DTO.RED_PACKET.TOTAL_AMOUNT
"1000000000"
Successful response
Create red packet response
DTO.RED_PACKET.SHARE_ID
"abc123"
DTO.RED_PACKET.SERIALIZED_TX
"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDRg..."