cURL
curl --request POST \ --url https://toncenter.com/api/v2/sendBoc \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "boc": "<string>" }'
{ "ok": true, "result": "<string>", "error": "<string>", "code": 123 }
Send serialized boc file: fully packed and serialized external message to blockchain.
b64 encoded bag of cells
Successful Response