Skip to main content
POST
/
api
/
v2
/
runGetMethod
Run Get Method
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.

Body

application/json
address
string
required
method
required
stack
string · integer<int64> · object · object · object[][]
required
Required array length: 2 elements
seqno
integer<int32>

Response

OK

ok
boolean
required
Example:

true

result
RunGetMethodResult · object
required