curl --request POST \
--url https://toncenter.com/api/v2/runGetMethod \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
[
"<string>"
]
],
"seqno": 123
}
'{
"ok": true,
"result": {
"@type": "smc.runResult",
"gas_used": 123,
"stack": [
[
"<string>"
]
],
"exit_code": 123,
"block_id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"last_transaction_id": {
"@type": "internal.transactionId",
"lt": "<string>",
"hash": "<string>"
}
}
}Run get method of smart contract
curl --request POST \
--url https://toncenter.com/api/v2/runGetMethod \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"method": "<string>",
"stack": [
[
"<string>"
]
],
"seqno": 123
}
'{
"ok": true,
"result": {
"@type": "smc.runResult",
"gas_used": 123,
"stack": [
[
"<string>"
]
],
"exit_code": 123,
"block_id": {
"@type": "ton.blockIdExt",
"workchain": 123,
"shard": "<string>",
"seqno": 123,
"root_hash": "<string>",
"file_hash": "<string>"
},
"last_transaction_id": {
"@type": "internal.transactionId",
"lt": "<string>",
"hash": "<string>"
}
}
}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?