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:

ParameterTypeDescription

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

ParameterDescription

transaction

TransactionMessage

See TransactionMessage below

skipPreFlight

boolean

OPTIONAL. Useful for disabling transaction simulation before actual submission. true or false, Default true

TransactionMessage

ParameterDescription

content

txbase64Payload

Raw bytes of signed transaction.

Request example:

curl -X 'POST' \
  'https://ny.solana.dex.blxrbdn.com/api/v2/submit-batch' \
  -header "Authorization: $AUTH_HEADER" \
  -d '{
 "entries" : [{transaction": {"content": "AjF+Br2CUIENJqV10y7bkgvn48ZlEKaTQeZNMhaIntatrtIHdm5rvpf9o8tZJc42JvThn+KvgL/M9U/t3bkuGAzTILvd64CRiM6Nth3MsOzVK198UK4WUg3sx27b4G56du9gNhpAGfPW+WUFjsM/pIvYuGWzERAtT+3tQ3vfI7IMAgAFD4ls26fgpAnCYufUzDrXMMpDjMYkf2Y2FHuxqKE+2+Ir2imDM3wYq7Q5tLj5w93u4Gi/Y/2BJjzAaJGatpcPFFeEwvsYrtYZ9UZjJlPvBgKfAqhkvzgphnGBuyDfHXFcMEoHX5xmEhJgK0YZx3BKh/s3nhpE7IFyBzqsKBqiTDd6jfzI9XsPznt1ZnWa9u9nVKg1KibD5ElrzSfbftYpluJAIIlGU8/d+nt+YMlmaCc2otsPg4VkklsRB3oh4DbXlwD0JuFuuM8DEZF1+YBRQ0SVXONw52WUDzwpQ5VF+0Wppt/RXFB3Bfkzm5U8Gk39vJzBht0vYt9IqVgEXip2UlkfJvXwRhxAEL1cyMpwZt2lhKbucXk0xnet9MJfvRVqLWrj7TJ6D4hJp3KUHZcFDzpujLjdOrzbFHCIfIK1TT82BpuIV/6rgYT7aH9jRhjANdrEOdwa6ztVmKDwAAAAAAEGp9UXGSxcUSGMyUw9SvF/WNruCJuh/UTj29mKAAAAAAbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCpAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACFDy1uAqR6+CTQmradxC1wyyjL+iSft+5XudJWwSdi7/85rSrGxhLIwAh21TiJzegUWHfntjwLcPUo6p/NoXq/BA0CAAE0AAAAAIB3jgYAAAAApQAAAAAAAAAG3fbh12Whk9nL4UbO63msHLSF7V9bN5E6jPWFfv8AqQwEAQoACwEBDgwCAwQFBgcBAAgJDAszAAoAAAABAAAAwAslCgAAAAABAAAAAAAAAACXePYDAAAAAAAAAAAAAACPlIPudw25w///DAMBAAABCQ=="}}]
}'

Response:

Fields:

FieldTypeDescription

transactions

list

A list of signature.

uuid

string

OPTIONAL. This will only provided if you using a transaction bundle.

FieldTypeDescription

signature

string

Solana signature of the submitted transaction

error

string

Return error message.

submitted

boolem

If the transaction has been submitted.

Example:

{
    "transactions": [
        {
            "signature": "AvuWl0d...AABoEA", 
            "submitted": true
        }, 
        {
            "signature": "AVfRxLb...gYnkgY", 
            "submitted": true
        }
    ]
    "uuid": "d966c....f21"
}

You can look up this signature in a Solana Explorer like SolScan or Solana Explorer.

Last updated