Submit Signed Transaction

This endpoint is used to submit signed singular transaction.

Transactions submitted to this endpoint must include a bloXroute memo instruction in order to be processed. 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

Parameters:

ParameterDescription

transaction

TransactionMessage

See TransactionMesssage below

skipPreFlight

boolean

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

frontRunningProtection

boolean

OPTIONAL. Specify if you would like to enable the Front-Running Protection feature. The transaction must include an Tip instruction to pay for the service fee. You can include an Tip instruction but set this field to False. In this case, Trader API will propagate to both front-running protected RPC(Jito) and publicly. Default False.

TransactionMessage

ParameterDescription

content

txbase64Payload

Raw bytes of signed transaction.

Request example:

curl -X 'POST' \
  'https://ny.solana.dex.blxrbdn.com/api/v2/submit' \
  -header "Authorization: $AUTH_HEADER" \
  -d '{
 "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:

ParameterTypeDescription

signature

string

Solana signature of the submitted transaction

uuid

string

OPTIONAL. This will only provided if you using front-running protection.

Example:

{
  "signature":"zPiAEU8RWfVP7HanC8V...5AErsYKiUQ7FbDiQecak3Fq",
  "uuid":"d966c....f21"
}

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

Last updated