RunGetMethod

Run Get-Method

post

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
}
]
Authorizations
Body
addressstringOptional
methodstringOptional
stackobject[]Optional
Responses
application/json
objectOptional
post
POST /api/v3/runGetMethod HTTP/1.1
Host: ton-index.nownodes.io
X-Api-Key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 73

{
  "address": "text",
  "method": "text",
  "stack": [
    {
      "type": "text",
      "value": null
    }
  ]
}
{
  "address": "text",
  "method": "text",
  "stack": [
    {
      "type": "text",
      "value": null
    }
  ]
}