Run get method on smart contract.
cURL
curl --request POST \ --url https://toncenter.com/api/v2/runGetMethod \ --header 'Content-Type: application/json' \ --data '{ "address": "<string>", "method": "<string>", "stack": [ [ "<any>" ] ], "seqno": 123 }'
{ "ok": true, "result": "<string>", "error": "<string>", "code": 123 }
Contract address
Method name or method id
Array of stack elements: [['num',3], ['cell', cell_object], ['slice', slice_object]]
[['num',3], ['cell', cell_object], ['slice', slice_object]]
Seqno of masterchain block at which moment the Get Method is to be executed
Successful Response