Submit Signed Transaction Batch
Transactions submitted to this endpoint must include a special instruction to track order volume processed by bloXroute. If you are using the Trader API endpoints or SDKs the instruction will be added automatically. If you want to construct your own transaction and use our submit endpoint, please read more about Transaction Submission.
Elite & Ultra tier customers will be exempted if the transaction submitted includes a tipping instruction, to save an instruction in the transaction.
Request
Method:
POST ./api/v2/submit-batch
Parameters:
entries
PostSubmitRequestEntry
[]
A list of signed transaction. See PostSubmitRequestEntry
below
submitStrategy
SubmitStrategy
enum
OPTIONAL. Useful for enabling different submission strategies. Potential value: P_SUBMIT_ALL
, P_ABORT_ON_FIRST_ERROR
, P_WAIT_FOR_CONFIRMATION
, Default P_UNKNOWN
useBundle
boolean
OPTIONAL. Specify if you would like to send transactions as a bundle. To use bundle. the last transaction must include an Tip
instruction. Default false
.
PostSubmitRequestEntry
transaction
TransactionMessage
See TransactionMessage
below
skipPreFlight
boolean
OPTIONAL. Useful for disabling transaction simulation before actual submission. true
or false
, Default true
TransactionMessage
content
txbase64Payload
Raw bytes of signed transaction.
Request example:
Response:
Fields:
transactions
list
A list of signature.
signature
string
Solana signature of the submitted transaction
error
string
Return error message.
submitted
boolem
If the transaction has been submitted.
Example:
You can look up this signature in a Solana Explorer like SolScan or Solana Explorer.
Last updated