{
"success": true,
"instructions": [
{
"programId": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
"data": "AQAAAA...",
"accounts": [
{
"pubkey": "62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"isSigner": true,
"isWritable": true
}
]
}
],
"addressLookupTableAddresses": [
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
]
}Get raw swap instructions and address lookup tables for building custom transactions.
Requires API key.
{
"success": true,
"instructions": [
{
"programId": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
"data": "AQAAAA...",
"accounts": [
{
"pubkey": "62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm",
"isSigner": true,
"isWritable": true
}
]
}
],
"addressLookupTableAddresses": [
"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"
]
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
Payer wallet public key
"62ThHC1rs2GUfa8J4Qjcj5GD2MSL2d65pcJtenNieDnm"
Input token mint address
"So11111111111111111111111111111111111111112"
Output token mint address
"DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
Amount in input token base units (lamports for SOL)
1000000000
Swap mode — exactIn or exactOut
exactIn, exactOut 0 <= x <= 10000500
Wallet to receive tip (auth only)
Tip amount in lamports (auth only)
5000
Wallet to receive fee (auth only)
Fee in basis points (auth only)
50
Priority fee per transaction in lamports
100000