POSTeth_call
https://tron-mainnet.nodit.io/Executes a contract function immediately in a read-only manner. It does not create a transaction on the chain.
It is functionally equivalent to triggerConstantContract of the FullNode HTTP API.
It contains following parameters in order:
callObject: The call information, as an object. (required)block: The block to query against. (required)- The string form supports only
latest. - The object form may specify
blockNumberorblockHash. The node only verifies that the referenced block exists, and execution always runs against the latest state.
- The string form supports only
The caller address. Pass it in the TRON hexadecimal address form with the 41 prefix removed.
The contract address. Pass it in the TRON hexadecimal address form with the 41 prefix removed.
Retained for Ethereum compatibility. It is not used by the TRON implementation.
Retained for Ethereum compatibility. It is not used by the TRON implementation.
The amount of TRX sent with the call, in sun, passed in hexadecimal.
It maps to msg.value during simulation; no actual funds are transferred.
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; an empty string means empty bytes.
The block to query against. The string form supports only latest, and
earliest, pending, finalized and safe cannot be used.
In the object form, if both blockNumber and blockHash are given, blockNumber takes precedence.
Executes against the latest block.
응답 본문이 없습니다.