計算當交換固定輸入金額時的預期輸出金額。 適用於在構建交易前顯示預覽。
Documentation Index
Fetch the complete documentation index at: https://docs.raydium.io/llms.txt
Use this file to discover all available pages before exploring further.
輸入代幣的 Mint 地址(base58 編碼的公鑰)。
輸出代幣的 Mint 地址(base58 編碼的公鑰)。
輸入金額(以 lamport 為單位,即 SPL 代幣的最小單位)。必須為非負整數字符串。
最大滑點容差,以基點計(0–10000)。1 bps = 0.01%。
可選的推薦人費用(基點計,0–10000)。僅在你有推薦人權限時使用。
Solana 交易版本。V0 使用地址查找表;LEGACY 為傳統格式。
V0, LEGACY