Generate a Base64 encoded buy transaction for a standard pool.
Flow: First call /quote/buy to get a quote, then pass the quote_response here to build the transaction. The returned transaction must be signed by the payer and submitted to the Solana network.
The transaction includes: compute budget instructions, wSOL wrapping, token ATA creation (if needed), the buy instruction, and wSOL unwrapping.
Arbitrary user-defined event data to include in the transaction for tracking purposes
""
Public key of the account that will pay for the transaction
"GrX8TXKsPNokXKzfUg7tYmWs6MLhNseScc4PnzyiqpP7"
The full quote response object from the Quote Buy endpoint. Pass the entire response without modification.
Maximum compute units to use for the transaction
x >= 0Price per compute unit in micro-lamports
x >= 0Public key of the token account to debit tokens from. If not provided, the payer's associated token account will be used.
"GrX8TXKsPNokXKzfUg7tYmWs6MLhNseScc4PnzyiqpP7"
A Base64 encoded transaction that can be signed and submitted to the Solana network.
"BASE64_ENCODED_TRANSACTION"