Executes 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.
Request to execute a smart contract get method. Specify address, method name/ID, and input stack.
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).
2 elementsMasterchain block sequence number. Run the get method against the contract state at this specific block height. If omitted, uses the current state.
Returns the TVM stack output and exit code from executing the specified get method.
Returns true if the request succeeded; otherwise false. See the error field for details.
Response data. Present only when ok is true.
Optional request ID that you can pass in the request and receive back in the response. Useful for matching async responses.