Run ABI Get Method
Run ABI compatible get methods
Run get method
With low level SDK get method is executed in 3 steps:
Download the latest Account State (BOC)
Encode message that calls the method
Execute the message locally on the downloaded state:
Here is the sample that executes the get method getTimestamp
on the latest account's state.
account boc is downloaded with
blockchain
APImessage that calls contract's function
getTimestamp
is encoded withencode_message
functionmessage is executed on local TVM with
run_tvm
method
Source code
https://github.com/tvmlabs/sdk-examples/blob/main/js/nodejs/helloWorld/
Last updated