POSTSend BoC

TON Mainnethttps://ton-mainnet.nodit.io/api/v2/sendBoc
CU40

Broadcasts a signed message to the TON network. The boc parameter must contain a complete, signed external message in base64 format. The API validates the message and forwards it to validators. Returns immediately after acceptance; use getTransactions to confirm the transaction was processed.

Request Body
bocstringrequired

Serialized external message in BoC format, base64 encoded. Contains the signed transaction to broadcast.

Responses
okbooleanrequired

Returns true if the request succeeded; otherwise false. See the error field for details.

@typestring (enum)required

TonLib type identifier for successful operations with no return data. Refer to the TonLib type reference for a full list.

@extrastring

Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.

X-API-KEY
Request
cURL
curl -X POST "https://ton-mainnet.nodit.io/api/v2/sendBoc" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "boc": "te6cckEBAQEAAgAAAEysuc0="
  }'
Response
Example · 200
{
  "ok": true,
  "result": {
    "@type": "ok"
  },
  "@extra": "1795684404:0:9.598"
}