POSTRun get method
https://ton-mainnet.nodit.io/api/v2/runGetMethodExecutes a read-only method on a smart contract. Get methods query contract state without sending a transaction. Common methods include seqno (wallet sequence number), get_wallet_data (wallet info), and get_jetton_data (token info). Method arguments are provided in the stack array.
Account address in raw format (e.g., 0:ca6e321c...) or user-friendly format (e.g., EQDKbjIcfM...). All formats are automatically detected.
The get method name (e.g., "seqno", "get_wallet_data") or its numeric ID.
Input arguments as a TVM stack. Each entry is a two-element array: [type, value] where type is "num" (decimal string), "cell" (base64 BoC), or "slice" (base64 BoC).
Masterchain block sequence number. Run the get method against the contract state at this specific block height. If omitted, uses the current state.
Returns true if the request succeeded; otherwise false. See the error field for details.
TonLib type identifier for get method execution results. Refer to the TonLib type reference for a full list.
Gas consumed during execution. Useful for cost estimation.
Output values as a TVM stack. Each entry is a two-element array: [type, value] where type is "num" (decimal string), "cell" (base64 BoC), or "slice" (base64 BoC).
TVM exit code. 0 or 1 means success; other values indicate errors. Refer to the TVM exit code reference for all values.
Block at which the get method was executed.
TonLib type identifier for full block identifiers. Refer to the TonLib type reference for a full list.
Workchain ID: -1 for masterchain, 0 for basechain.
Shard identifier as a signed 64-bit integer string. Masterchain uses -9223372036854775808.
Block sequence number within its workchain and shard. For the masterchain (workchain -1), this equals the global block height. For basechain shards (workchain 0), this is the sequence number local to that specific shard, not a global height.
Root hash of the block. Together with file_hash, uniquely identifies a block.
Hash of the serialized block file. Together with root_hash, uniquely identifies a block.
Most recent transaction at the time of execution.
TonLib type identifier for transaction ID references. Refer to the TonLib type reference for a full list.
Logical time of the transaction. Use together with its hash for pagination and lookups.
SHA-256 hash of this transaction, encoded in base64.
Optional request ID that can be passed in the request and received back in the response. Useful for matching async responses.