trading

Calculate trade quote

Calculates trade amounts using local bonding curve math. No chain call — instant response.

get/v1/trading/quote

Request

Query parameters

method'IN' | 'OUT' required
type'MEME' | 'NATIVE' required
amountstring required
tokenNamestring required

Response

Calculated quote in the success envelope.

errorfalse required

Successful response marker.

messagestring required

Response message.

statusnumber required

HTTP status code.

Example response

{
  "message": "Success",
  "status": 200
}

Changes

No recorded changes to this operation across all 1 revision of this API.