Skip to main content

/runGetMethod REST API Endpoint

Loading...

Updated on
Oct 23, 2024

/runGetMethod REST API Endpoint

Body Parameters

address
string
REQUIRED
Loading...
method
string
REQUIRED
Loading...
stack
array
REQUIRED
Loading...
seqno
integer
REQUIRED
Loading...

Returns

ok
boolean
Loading...
result
object
Loading...
@type
string
Loading...
gas_used
integer
Loading...
stack
array
Loading...
exit_code
integer
Loading...
@extra
string
Loading...
block_id
object
Loading...
@type
string
Loading...
workchain
integer
Loading...
shard
string
Loading...
seqno
integer
Loading...
root_hash
string
Loading...
file_hash
string
Loading...
last_transaction_id
object
Loading...
@type
string
Loading...
lt
string
Loading...
hash
string
Loading...
Request
1
curl --location 'https://docs-demo.ton-mainnet.quiknode.pro/runGetMethod' \
2
--header 'accept: application/json' \
3
--header 'Content-Type: application/json' \
4
--data '{
5
"address": "EQCg1gU0NGQ0fZTAf8v7H6tPkY0P7l17U09lKDU8NfRB8Dyq",
6
"method": "getConsensusBlock",
7
"stack": [
8
["num", "0x1"]
9
],
10
"seqno": 41146349
11
}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free