Skip to main content

/api/v2/runGetMethodStd RPC Method

Run a get method on a smart contract and return the result using the standard tonlib stack representation.

Updated on
Jun 02, 2026

Body Parameters

address
string
REQUIRED

An identifier of the target TON account in any form

method
string
REQUIRED

The name or numeric id of the get method to invoke

stack
array
REQUIRED

Array of stack entries passed to the get method, using the standard tonlib stack format

Returns

ok
boolean

Indicates whether the request was successful

result
object

The result object which contains the following fields:

@type
string

Specifies the type of the result, set to smc.runResult

gas_used
integer

The amount of gas consumed by executing the get method

stack
array

The stack returned by the get method, where each entry is an object with @type (e.g. tvm.stackEntryNumber, tvm.stackEntryCell) and a value field

exit_code
integer

The TVM exit code of the method execution. A value of 0 or 1 indicates successful execution

@extra
string

Additional metadata used internally for tracing and debugging

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free