v1

latestOpenAPI 3.1.02026-07-13570316.1 KB
Solana

Send Solana Transaction

Submit a Solana transaction composed of one or more instructions. Transactions are queued and processed asynchronously.

Authentication: This endpoint requires backend authentication using the x-secret-key header. The secret key should never be exposed publicly.

post/v1/solana/transactions

Request body

fromstring required

Solana wallet address that will sign and submit the transaction.

chainIdstring required

Solana network identifier in CAIP-2 format. Use "solana:mainnet" or "solana:devnet" for convenience, or full CAIP-2 format.

computeUnitLimitinteger nullable

Override the compute unit limit via the compute budget program.

Example request

{
  "from": "8JBLmveV4YF5AQ7EVnKJgyj6etGgVkPp3tYqQMTu3p5B",
  "chainId": "solana:devnet",
  "instructions": [
    {
      "programId": "11111111111111111111111111111111",
      "accounts": [
        {
          "address": "8JBLmveV4YF5AQ7EVnKJgyj6etGgVkPp3tYqQMTu3p5B",
          "isSigner": true,
          "isWritable": true
        },
        {
          "address": "FhtwVYF1wKAm7fWmE2N5P2eCv13wt2aT8W4Q9NQ9YcJH",
          "isSigner": false,
          "isWritable": true
        }
      ],
      "data": "02000000e888b30000000000",
      "encoding": "hex"
    }
  ]
}

Response

Transaction queued successfully. Returns the transaction identifier for status polling.