Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://toncenter.com/api/v2/runGetMethod \ --header 'Content-Type: application/json' \ --data ' { "address": "<string>", "method": "<string>", "stack": [ [ "<string>" ] ], "seqno": 123 } '
200
Example
{ "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
2
OK
true
Show child attributes
Was this page helpful?