Skip to main content
Endpoint NameMethodDescription
sendTransactionPOSTNative Solana JSON-RPC sendTransaction method
submitBatchPOSTNon-atomic batch submission of multiple signed transactions (each transaction processed independently)
sendBundlePOSTAtomic bundle submission of multiple signed transactions (all fail if any transaction fails)

Request Body

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "<method_name>",
  "params": [
    "<param1>",
    "<param2>",
    ...
  ]
}

Response Body

{
  "jsonrpc": "2.0",
  "result": "...",
  "id": 1
}

API Comparison and Recommendations

RequirementRecommended EndpointDescription
Single transaction direct sendsendTransactionSimplest path, returns transaction signature
Multiple transactions, high throughput, mutually independentsubmitBatchNon-atomic, failure of one does not affect others
Multiple transactions, require strong consistencysendBundleAll fail if any fails
Health check and operationshealthReturns ok

Best Practices

  • Choose the geographically closest endpoint to reduce latency
  • For batch submissions, balance between atomicity (sendBundle) and throughput (submitBatch) according to requirements