Run On-chain
Last updated
Last updated
Learn how to run methods of a contract on-chain
Run operation means that you execute the contract's function on-chain by sending it an external inbound message. Run steps
Run operation consists of few steps:
Creating a message;
Sending a message;
Receiving the message completion transaction;
Receiving external messages created by return
function;
Decoding the messages bodies according to the ABI.
For running methods of ABI-compatible contracts AppKit provides run
method:
Observe the full sample:
Check out for more information about running a contract.