Skip to main content
POST
Send a transaction

Authorizations

x-api-key
string
header
required

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
id
integer
required

Request identifier echoed back in the response

method
enum<string>
required
Available options:
sendTransaction
params
any[]
required

A two-element positional array: [signedTransaction, config].

signedTransaction — string. The base64-encoded signed transaction.

config — object. Accepts:

  • encoding: defaults to base64 (the only supported value)
  • skipPreflight: preflight is not supported; defaults to true; an explicit false is rejected with -1015
  • maxRetries: defaults to 0; a non-zero value is rejected with -1015
  • swqosOnly (optional): false (default) uses SWQoS + Jito, true uses SWQoS only; see Tips and fees in the guide
Example:

Response

JSON-RPC response. On success, result is the transaction signature. On failure, error is populated instead. Common error codes: -1013 Jupiter tip below the minimum, -1014 missing Jupiter tip, -1015 invalid parameter (e.g. skipPreflight not true, or maxRetries not 0), -1016 encoding not base64.

jsonrpc
enum<string>
Available options:
2.0
id
integer
result
string

Transaction signature (base58)

error
object