curl --request POST \
--url https://toncenter.com/api/v3/runGetMethod \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
{
"type": "<string>",
"value": "<unknown>"
}
]
}
'{
"address": "<string>",
"method": "<string>",
"stack": [
{
"type": "<string>",
"value": "<unknown>"
}
]
}Run get method of smart contract. Stack supports only num, cell and slice types:
[
{
"type": "num",
"value": "0x12a"
},
{
"type": "cell",
"value": "te6..." // base64 encoded boc with cell
},
{
"type": "slice",
"value": "te6..." // base64 encoded boc with slice
}
]
curl --request POST \
--url https://toncenter.com/api/v3/runGetMethod \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
{
"type": "<string>",
"value": "<unknown>"
}
]
}
'{
"address": "<string>",
"method": "<string>",
"stack": [
{
"type": "<string>",
"value": "<unknown>"
}
]
}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?