zetrix_sdk_invoke_contract
Execute smart contract functions on the Zetrix blockchain by submitting transactions that modify contract state, requiring authentication with a private key.
Instructions
Invoke a smart contract function with state change (requires private key)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceAddress | Yes | The account address initiating the transaction | |
| privateKey | Yes | Private key for signing the transaction | |
| contractAddress | Yes | The smart contract address to invoke | |
| amount | Yes | Amount of ZTX to send with invocation (in micro-ZTX) | |
| input | Yes | JSON string with method and params | |
| metadata | No | Optional transaction description |