hedera_execute_contract
Build an unsigned contract call that modifies state. Provide ABI, function, and args for automatic encoding, or raw base64 calldata.
Instructions
Build (unsigned) a state-changing contract call. Pass { abi, functionName, args } for automatic encoding, or raw functionParametersBase64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Contract ABI (JSON array) — enables auto encode/decode | |
| gas | Yes | ||
| args | No | Function arguments (used with abi) | |
| contractId | Yes | Contract id (0.0.x) or EVM address | |
| functionName | No | Function name to call (used with abi) | |
| payerAccountId | No | ||
| payableAmountHbar | No | HBAR to send with the call | |
| functionParametersBase64 | No | Fallback: ABI-encoded calldata (selector + args) as base64 |