trading
Calculate trade quote
Calculates trade amounts using local bonding curve math. No chain call — instant response.
get/v1/trading/quote
Request
- Base URLhttps://lpad-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
method'IN' | 'OUT' required
type'MEME' | 'NATIVE' required
amountstring required
tokenNamestring required
Response
Calculated quote in the success envelope.
Example response
{
"message": "Success",
"status": 200
}Changes
No recorded changes to this operation across all 1 revision of this API.