All methods in the API are available through JSON-RPC protocol (spec).
cURL
curl --request POST \ --url https://toncenter.com/api/v2/jsonRPC \ --header 'Content-Type: application/json' \ --data '{ "method": "<string>", "params": {}, "id": "<string>", "jsonrpc": "<string>" }'
{ "ok": true, "result": "<any>", "error": "<string>", "code": 123, "id": "<string>", "jsonrpc": "2.0" }
Successful Response