Submit Snipe Transactions
This endpoint is designed to maximize your landing speed for a pair of transactions that compete with each other (mainly token snipping use case).
This endpoint receives a pair of transactions and sends one to the Jito engine and the second to swQoS or white-listed leaders (the same set used for fastBestEffort)
Call this endpoint with an array of two transactions
In case you donβt want two snipping transactions to be landed successfully at once, you are responsible for reverting one of these transactions when the other lands first.
The first transaction will be sent to Jito and has the same requirements as described above. Since it will be sent just to Jito, there is no need for a Priority Fee. Both Jito and bloXroute tips are required
The second transaction will be sent to bloXroute routing infra either using swQOS or fastBestEffort. A priority fee and bloXroute tip are required. The useStakedRPCs parameter is optional and can be used when submitting the 2nd transaction. If not provided or if False, fastBestEffort is used.
Request
Method:
POST ./api/v2/submit-snipe
Parameters:
entries
PostSubmitRequestEntry
[]
A list of signed transaction. See PostSubmitRequestEntry
below
sueStakedRPCs
boolean
OPTIONAL. Specify if you would like to send transactions using staked RPCs. If not provided or if False
, fastBestEffort is used. Default False
.
PostSubmitRequestEntry
transaction
TransactionMessage
See TransactionMessage
below
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