| Field | Description |
|---|---|
| Contract ID | The smart contract instance whose function was called. |
| Contract Call Result | The result returned by the function. |
| Error Message | The message in case there was an error during smart contract execution. |
| Bloom | The bloom filter for record. |
| Gas Used | The units of gas used to execute the contract. |
| Log Info | The log info for events returned by the function. |
| EVM Address | The new contract’s 20-byte EVM address. Only populated after release 0.23, where each created contract will have its own record. (This is an important point—the field is not repeated because there will be a separate * child record for each created contract). |
| Gas | The amount of gas available for the call, aka the gasLimit. |
| Amount | Number of tinybars sent (the function must be payable if this is nonzero). |
| Function Parameters | The function to call and the parameters to pass to the function. |
| Sender Account ID | The account that is the “sender.” If not present, it is the accountId from the transactionId. |
| Signer Nonce | The signer nonce field specifies what the value of the signer account nonce is post transaction execution. This value can be null. |
- The client operator account’s private key (fee payer) is required to sign this query
- Please see the transaction and query fees table for the base transaction fee
- Please use the Hedera fee estimator to estimate your query fee cost
Methods
| Method | Type | Description | Requirement |
|---|---|---|---|
setContractId(<contractId>) | ContractId | Sets the contract instance to call, in the format used in transactions (x.z.y). | Required |
setGas(<gas>) | int64 | Sets the amount of gas to use for the call. | Required |
setFunction(<name>) | String | Sets the function name to call. The function will be called with no parameters. | Required |
setFunction(<name, params>) | String, bytes | Sets the function to call, and the parameters to pass to the function. | Optional |
| AccountId | The account that is the “sender.” If not present it is the accountId from the transactionId. Typically a different value than specified in the transactionId requires a valid signature over either the Hedera transaction or foreign transaction data. | Optional |
- Reference: HIP-844