Skip to main content

/jsonRPC REST API Endpoint

Execute any method through this method. All methods in the API are available through JSON-RPC protocol.

Updated on
Oct 23, 2024

/jsonRPC REST API Endpoint

Body Parameters

method
string
REQUIRED
An identifier of target TON account in any form
params
string
REQUIRED
An identifier of target TON account in any form
jsonrpc
string
The version of the JSON-RPC protocol being used
id
string
A unique identifier for this request

Returns

ok
boolean
Indicates that the request was successful
result
object
The result object which depends on the method you retrieve with /jsonRPC
jsonrpc
string
The version of the JSON-RPC protocol being used
id
string
A unique identifier for this request
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/jsonRPC' \
2
--header 'accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--data '{
5
"method": "getMasterchainInfo",
6
"params": {},
7
"id": "1",
8
"jsonrpc": "2.0"
9
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free