Get a wallet's network fees on Solana
What each action a wallet signs costs it in network fees and rent. A transaction built with an API key is always paid by the wallet.
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
The wallet to read, as a base58 address. Send this or owner.
Another name for wallet.
The asset a withdrawal or swap receives, so a missing token account is counted.
true prices a deposit that first adds a ledger slot. The slot's rent is not included.
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/api/solana/sponsorship"{ "owner": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM", "wallet": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM", "walletLamports": "50000000", "actions": { "deposit": { "payer": "owner", "reason": "requested", "lamports": "10110" }, "withdraw": { "payer": "owner", "reason": "requested", "lamports": "2049650" }, "swap": { "payer": "owner", "reason": "requested", "lamports": "2055680" }, "commit": { "payer": "owner", "reason": "requested", "lamports": "2049370" }, "uncommit": { "payer": "owner", "reason": "requested", "lamports": "10090" } }}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}{ "error": "string", "code": "string", "message": "string", "details": {}, "requestId": "string"}Build transactions to set an LP's positions
Returns one `setCommitments` transaction per asset vault that commits, resizes or clears the LP's positions on a pair. A refused position answers 422 with the rule it breaks.
Get a vault transaction's status on Solana
A prepared transaction's status, and its signature once sent.