sendTransaction

Trading Boost endpoints only support the sendTransaction method. All other RPC methods should use standard ZAN RPC endpoints.

Request Format

POST <TRADING_BOOST_ENDPOINT>
Content-Type: application/json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sendTransaction",
  "params": [
    "<BASE64_ENCODED_SIGNED_TRANSACTION>",
    {
      "encoding": "base64",
      "skipPreflight": true
    }
  ]
}

Request Parameters

ParameterTypeRequiredDescription
params[0]stringYesBase64-encoded signed transaction. In Tips mode, transaction must include a transfer of >= 0.0003 SOL to tip account 7HkiWXe5deJvzn4D6kgMUFCADwX9Z4DMrdjNSSxN6bPp
params[1].encodingstringYesMust be "base64"
params[1].skipPreflightbooleanRecommendedSet to true for fastest submission speed; false will simulate transaction before forwarding
📘

Note:

Supports other standard Solana sendTransaction parameters: preflightCommitment, maxRetries, minContextSlot.

Response

Success

{
  "jsonrpc": "2.0",
  "result": "5VERv8NMvzbJMEkV8xnrLkEaWRtSz9CosKDYjCJjBRnbJLgp8uirBgmQpjKhoR4tjF3ZpRzrFmBV6UjKdiSZkQU",
  "id": 1
}

The result field contains the transaction signature (base-58 encoded).

Error

{
  "jsonrpc": "2.0",
  "error": {
    "code": -32602,
    "message": "invalid transaction: Transaction failed to sanitize accounts offsets correctly"
  },
  "id": 1
}

Status Codes

Example business error codes:

{"error":{"code":-32602,"message":"param error; tip needs to be added"},"id":"1","jsonrpc":"2.0"}
Status CodeError CodeError TypeNotes
401-32000authentication failure; apiKey does not existAccount API Key error or insufficient permissions (contact us)
400-32602param error; tip needs to be addedMissing tip fee (refer to demo to include at least 0.0003 SOL tip)
400-32602param error; please check the parametersTransaction parameter error (verify transaction parameters, refer to demo)
400-32602param error; please encode in base64 formatBase64 encoding format error (only base64 encoding supported, base58 deprecated)
400-32602param error; decoding failedTransaction decoding failed, encoding error (refer to demo)