Markets

List the pools for a pair on Solana (Orca, Raydium)

The Orca and Raydium pools and fee tiers a pair can use, and the strategy of each pool that has one.

GET
/api/solana/strategies/pools

Authorization

ApiKeyAuth
X-API-Key<token>

Your API key. Authorizing a swap or opening a market takes a key issued to your integration, and the shared key the docs fill in reads and quotes only.

In: header

Query Parameters

tokenA*string

One token of the pair, as its base58 mint address.

tokenB*string

The other token of the pair, as its base58 mint address.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/solana/strategies/pools?tokenA=string&tokenB=string"
{  "tokenA": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",  "tokenB": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",  "options": [    {      "venue": "orca",      "config": "2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ",      "feeTierIndex": 1,      "adaptiveFee": false,      "tickSpacing": 1,      "feeRate": 100,      "pool": "2AW9cYg6sGwMqkHczyxWRZXYErM7UTMgVcZfDj8J2gLg",      "exists": true,      "usable": true,      "strategy": "AEFrumJC9heBMrxjkhQneUpMpCWhmyqfBUczaYCSnaQa",      "sqrtPrice": "18446744073709551616",      "tickCurrent": 0    }  ]}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}
{  "error": "string",  "code": "string",  "message": "string",  "details": {},  "requestId": "string"}