Warm a Solana pair before you quote it

Say "I am going to ask about this pair" before you know the amount. Returns immediately and reads pool state in the background. Two of the four Solana venues, orca and meteora, are not APIs: their price is computed from pool state read live from the chain, and a cold quote will not wait for it, so it answers with two venues instead of four. The seconds you spend deciding how much are the seconds the read needs. amountIn may be "0": the amount does not change which pools are read. Optional, and it never slows the caller down.

post/svm/warm

Request

  • Base URL: https://swap.vurto.cc/v1
  • URL: https://swap.vurto.cc/v1/svm/warm
  • Auth: none required

Request body

chainId'solana-mainnet' required

Solana names its network, it does not number it.

tokenInstring required

Mint address, or the symbol of a VERIFIED token. Symbols resolve only against the verified list on purpose: on Solana anyone can mint a token carrying another one's symbol, name and icon, and the mint is the only real identity. CASE-SENSITIVE.

tokenOutstring required

Mint address, or the symbol of a VERIFIED token. Symbols resolve only against the verified list on purpose: on Solana anyone can mint a token carrying another one's symbol, name and icon, and the mint is the only real identity. CASE-SENSITIVE.

amountstring

Human decimal, e.g. "50". Use this OR amountIn.

amountInstring

Raw integer string in tokenIn smallest unit.

tokenInDecimalsinteger

Optional. Resolved server-side when omitted.

tokenOutDecimalsinteger

Optional. Resolved server-side when omitted.

slippageBpsinteger

Optional, a sane default applies.

receiverstring

Optional: deliver the output to this address instead of the signing wallet.

Response

Accepted. The reading happens after the response.

warmingboolean

Changes

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