TONTONDocs
TON CenterAPI referenceLegacy (v2)

Run get-method

Run a get-method on a smart contract.

POST
/api/v3/runGetMethod
*object
array<V2StackEntity>

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v3/runGetMethod" \  -H "Content-Type: application/json" \  -d '{    "address": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",    "method": "get_jetton_data",    "stack": []  }'
{
  "address": "string",
  "method": "string",
  "stack": [
    {
      "type": "string",
      "value": null
    }
  ]
}
{
  "code": 0,
  "error": "string"
}

Last updated on

On this page

No Headings