Submit Signed Transaction

This endpoint is used to submit signed singular transaction.

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

See transaction 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

transaction

Parameter
type
Description

content

txbase64Payload

Raw bytes of signed transaction.

Request example:

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

Response:

Fields:

Parameter
Type
Description

msg_body_hash

string

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

Example:

{
  "msg_body_hash":"0x12ade...1954beffccf"
}

Last updated