Submit Signed Transaction Batch
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