klay_estimateComputationCost
Generates and returns an estimate of how much computation cost will be spent to execute the transaction.
Parameters
See klay_call parameters, except that all properties are optional. If no gas limit is specified, the Klaytn node uses the default gas limit (uint64 / 2) as an upper bound.
Return Value
Type | Description |
---|---|
QUANTITY | The amount of computation cost used. |
Example
Last updated