Skip to main content
POST
/
jsonRPC
JSON-RPC handler
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"
}

Body

application/json
method
string
required
params
object
id
string
jsonrpc
string

Response

Successful Response

ok
boolean
required
id
string
required
result
any
error
string
code
integer
jsonrpc
string
default:2.0
I