Skip to main content
POST
Generate burn transaction

Query Parameters

cluster
enum<string>
default:mainnet

Solana cluster to use (defaults to mainnet)

Available options:
mainnet,
devnet

Body

application/json
stablecoinIndex
integer
required

Stablecoin index (0: USDC+)

Example:

0

depositAmount
number
required

Amount to burn in smallest unit

Example:

1000000

signer
string
required

User's Solana wallet address

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

minimumReceived
number

Minimum amount to receive (slippage protection)

Example:

999000

collateralMint
string

Optional collateral mint address

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

feePayer
string

Optional Solana wallet address that will pay the transaction fee. If not provided, defaults to the signer address.

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

Response

Burn transaction generated successfully

success
boolean
required

Whether the request was successful

data
object
required