Smart contract specific transaction types Distinguishes between contract deployment and invocation
// Deploy a new contractconst deployType = SCTXType.SCDeploy// Invoke an existing contractconst invokeType = SCTXType.SCInvoke Copy
// Deploy a new contractconst deployType = SCTXType.SCDeploy// Invoke an existing contractconst invokeType = SCTXType.SCInvoke
Deploy a new smart contract Upload and initialize contract code on the blockchain
Invoke a function on an existing smart contract Calls a method on a deployed contract
Smart contract specific transaction types Distinguishes between contract deployment and invocation
Example