v1

latestOpenAPI 3.1.02026-07-13570316.1 KB
Solana

Broadcast Signed Solana Transaction

Broadcast a signed Solana transaction to the network and wait for confirmation. This endpoint accepts a base64 encoded signed transaction (such as the output from /v1/solana/sign-transaction), submits it to the Solana blockchain, and polls until the transaction is confirmed (up to 30 seconds).

The endpoint waits for the transaction to reach 'confirmed' or 'finalized' status before returning. If the transaction fails on-chain, detailed error information is returned including instruction index, error type, and the transaction signature for debugging.

Authentication: This endpoint requires backend authentication using the x-secret-key header.

post/v1/solana/broadcast-transaction

Request body

chainIdstring required

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

signedTransactionstring required

Base64 encoded signed transaction to broadcast to the Solana network.

Example request

{
  "chainId": "solana:devnet",
  "signedTransaction": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgIAAQIDBAUGBwgJ"
}

Response

Transaction broadcast and confirmed successfully. Returns the transaction signature (equivalent to EVM transaction hash).

Example response

{
  "result": {
    "signature": "5ttCNobho7nk5F1Hh4pU4d9T2o1yAFn3p1w8z8jk2jKd9KWCKN6dzyuT5xP1ny4wz9f5xCLjAF6Y9s9EoTW4aE1X"
  }
}