Submit Transaction

This endpoint is used to submit signed singular transaction.

circle-info

Transactions submitted to this endpoint must include a bloXroute tip instruction in order to be processed. When use_mev_protection is true use a tip address provided by Get Tip Wallet method.

Request

Method:

POST ./api/v2/submit

Parameters:

Parameter
type
Description

transaction

transaction

Set the content parameter (txbase64Payload) to the base64-encoded raw signed transaction bytes. See example below.

wallet

enum

Specify the type of the wallet. Potential values are HighloadV2R2, HighloadV3, V5R1Final, V4R2

use_mev_protection

boolean

Whether transaction will be send via private channels

expiration_time_sec

int

Number of seconds given for the transaction to land (180 sec. by default) until it expires.

Example:

curl -X 'POST' \
  'https://ny.ton.dex.blxrbdn.com/api/v2/submit' \
  -H "Authorization: $AUTH_HEADER" \
  -H "Content-Type: application/json" \
  -d '{
 "transaction": {"content": "Aj+Br...ABC"}, "wallet":"V5R1Final"
}'

Response

Parameter
Type
Description

msg_body_hash

string

The hash of the body of the external message passed by the user in the submit request.

Last updated