Build a market setup payment on Solana
Builds the transfer that pays a new market's setup, for the owner's wallet to sign. Send it with the vault transaction submit, then open the market with its `requestId` in `payments`.
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
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/solana/strategies/pools/payment" \ -H "Content-Type: application/json" \ -d '{ "owner": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM", "venue": "orca", "tokenA": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "tokenB": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB", "config": "2LecshUwdy9xi7meFgHtFJQNSKk4KdTrcpvaB56dP2NQ", "tickSpacing": 1, "feeTierIndex": 1, "tickLower": -10, "tickUpper": 10 }'{ "requestId": "6f0c2f7e-2a0b-4b8e-9b54-0c2d7f0f5a11", "transaction": "AQ==", "expiresAt": "2030-01-01T00:00:00.000Z", "lamports": "250000000"}{ "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"}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}Open a market on Solana (Orca, Raydium)
Opens an Orca or Raydium market for a pair, with its strategy, at the price feed's price. A new market's setup is paid by your wallet: a 402 names the amount, and you call again with the payment.
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.