POSTeth_estimateGas
Tron Mainnet
https://tron-mainnet.nodit.io/Estimates the energy consumption required to execute a transaction.
Unlike Ethereum's eth_estimateGas, which returns a gas amount, TRON returns an energy amount.
Request Body
It contains following parameter in order:
callObject: The transaction to execute, as an object. (required)
The address of the account sending the transaction.
The address of the account or contract that will receive the transaction.
The fee limit. Retained for Ethereum compatibility and ignored by TRON.
The energy price. Retained for Ethereum compatibility and ignored by TRON.
The amount of TRX sent via call_value, in sun.
The function selector and the ABI-encoded parameters.
An alias for data. When both are given, this value takes precedence.
When a value is given, it requires a 0x prefix and an even number of hex digits.
Responses
응답 본문이 없습니다.