curl --request POST \
--url https://toncenter.com/api/v2/runGetMethodStd \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
{
"@type": "tvm.stackEntrySlice",
"slice": {
"@type": "tvm.slice",
"bytes": "<string>"
}
}
],
"seqno": 123
}
'{
"ok": true,
"result": {
"@type": "smc.runResult",
"gas_used": 123,
"stack": [
{
"@type": "tvm.stackEntrySlice",
"slice": {
"@type": "tvm.slice",
"bytes": "<string>"
}
}
],
"exit_code": 123
}
}Run get method of smart contract
curl --request POST \
--url https://toncenter.com/api/v2/runGetMethodStd \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
{
"@type": "tvm.stackEntrySlice",
"slice": {
"@type": "tvm.slice",
"bytes": "<string>"
}
}
],
"seqno": 123
}
'{
"ok": true,
"result": {
"@type": "smc.runResult",
"gas_used": 123,
"stack": [
{
"@type": "tvm.stackEntrySlice",
"slice": {
"@type": "tvm.slice",
"bytes": "<string>"
}
}
],
"exit_code": 123
}
}Documentation Index
Fetch the complete documentation index at: https://toncenter.ness.su/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?