Submit Signed Transactions Batch
This endpoint is used to submit multiple signed transactions in a single batch. The batch order defines an execution order as well. In case of failure of a single transaction a whole batch is skipped.
Request
Method:
POST ./api/v2/submit-batch
Parameters:
transactions
array of transaction
See transaction
below
tipping_wallet
string
Specify the type of a tip transaction wallet. Potential values are HighloadV2R2, HighloadV3, V5R1Final, V4R2. Use Get Tip Wallet
method to get a relevant tip destination address.
expiration_time_sec
int
Number of seconds given to batch to land (18 sec. by default)
transaction
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 '{
"transactions": [{"content": "Aj+Br...ABC"}, {"content": "Aj+Br...ABC"}, ...], "tipping_wallet":"V5R1Final"
}'
Response:
Fields:
msg_body_hashes
string
The hashes of the body of the external messages passed by the user in the submit batch request.
Example:
{
"msg_body_hashes":["0x12ade...1954beffccf", "0x12ade...1954beffccf", ...]
}
Last updated