Markets

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`.

POST
/api/solana/strategies/pools/payment

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

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"}