POSTSend message

TON Mainnethttps://ton-mainnet.nodit.io/api/v3/message
CU40

Send an external message to the TON network.

Request Body
bocstring

Serialized external message in BoC format, base64 encoded.

Responses
message_hashstring

Hash of the sent external message, base64 encoded.

message_hash_normstring

Normalized hash of the sent external message as defined in TEP-467, base64 encoded. The value does not depend on how the message is serialized, so it can be used to track the message.

X-API-KEY
Request
cURL
curl -X POST "https://ton-mainnet.nodit.io/api/v3/message" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "boc": "te6cckEBAQEAAgAAAEysuc0="
  }'
Response
Example · 200
{
  "message_hash": "string",
  "message_hash_norm": "string"
}

Last updated