Check what a backing would fill on Solana
How much one backing over a range lets a swap fill on its pool, range by range in each direction.
Authorization
ApiKeyAuth 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
orca or raydium.
One token of the pair, as its base58 mint address.
The other token of the pair, as its base58 mint address.
The venue's config, as GET /api/solana/strategies/pools lists it.
The pool's tick spacing.
Orca only: the fee tier's index.
The backing's lower tick.
The backing's upper tick.
The backing's amount of the pool's first mint, in its smallest unit, as a decimal string.
The backing's amount of the pool's second mint, in its smallest unit, as a decimal string.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/solana/strategies/fill-reach?venue=orca&tokenA=string&tokenB=string&config=string&tickSpacing=1&tickLower=0&tickUpper=0&amount0=string&amount1=string"{ "pool": "2AW9cYg6sGwMqkHczyxWRZXYErM7UTMgVcZfDj8J2gLg", "tickCurrent": 0, "outside": false, "directions": [ { "direction": 0, "rungs": [ { "tickLower": 1, "tickUpper": 3, "maxOut": "500000000" } ] }, { "direction": 1, "rungs": [ { "tickLower": -3, "tickUpper": -1, "maxOut": "500000000" } ] } ]}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}Get one strategy's details
Returns one strategy with its venue, curve, liquidity in each asset vault and trading stats, and for a 1inch Aqua range its whole market in `aquaMarket`. A null figure means unknown, never zero.
Get the depth of each range on Solana
What a fill on each backed range of a strategy could draw now.