v1

latestOpenAPI 3.1.02026-07-13570316.1 KB
Solana

Sign Solana Transaction

Sign a Solana transaction using a server wallet without broadcasting it. Provide either a serialized transaction or the instructions to assemble one, along with execution options.

Authentication: This endpoint requires backend authentication using the x-secret-key header. Optionally, include x-vault-access-token if your wallet is managed via Vault.

post/v1/solana/sign-transaction

Request body

fromstring required

The Solana wallet address that will sign the transaction.

chainIdstring required

Solana network the transaction targets. Use solana:mainnet or solana:devnet.

transactionstring

Base64 encoded Solana transaction to sign.

computeUnitLimitinteger nullable

Override the compute unit limit for the transaction via the compute budget program.

Example request

{
  "from": "8JBLmveV4YF5AQ7EVnKJgyj6etGgVkPp3tYqQMTu3p5B",
  "chainId": "solana:devnet",
  "transaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAECAwQFBg=="
}

Response

Transaction signed successfully. Returns the signature and the fully signed transaction payload.

Example response

{
  "result": {
    "signature": "3TZx4Ev7fWN7jk7CHTrxmsf9cXB1LQjs44aYGuC9kPYcyJ8D1V8efFgAfL9QGmxZXZMpDnwhzUbBeAf7dByoDwyx",
    "signedTransaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIAAQIDBAUGBwgJ"
  }
}