Withdrawal
Check and build a Solana ATA
Check whether a Solana associated token account exists and build its creation transaction when needed.
POST
Check and build a Solana ATA
Check whether a Solana associated token account exists and build its creation transaction when needed.
Use a Broker API Key and pass the target user’s wallet in X-User-Wallet-Address. The gateway checks that the wallet belongs to your Broker. See Broker API Key and signing.
Usage notes
- This endpoint requires a Solana wallet in
X-User-Wallet-Address; do not pass an EVM0xaddress.payer_addressis the user’s bound Solana wallet and pays onchain rent and fees;target_addressis the ATA owner. - When
status=0, sign and broadcast the returned base64tx_databefore withdrawing. Whenstatus=1, the ATA already exists andtx_datais empty. Requery after a failed broadcast.
Authorizations
Broker API Key
Unix timestamp in seconds
Hexadecimal HMAC-SHA512 signature generated with the Broker Secret Key
Headers
Target user's wallet address. The gateway verifies that the user belongs to the current Broker.
Body
application/json