Your Grid API key from the Grid Dashboard
Solana network environment (sandbox, devnet, mainnet)
Request body for the trade quote endpoint
Amount of input token in smallest units (e.g., lamports for SOL)
x >= 0Input token mint address
Maximum slippage tolerance in basis points (e.g., 50 = 0.5%)
x >= 0Output token mint address
The trading venue to get a quote from
jupiter