eth_call
Executes a new message call immediately without creating a transaction on the blockchain.
1Money primarily utilizes the current method for querying ERC20 token data.
Parameters
from: 20 bytes [Required] Address the transaction is sent from.to: 20 bytes - Address the transaction is directed to.gas: Hexadecimal value of the gas provided for the transaction execution. eth_call consumes zero gas, but this parameter may be needed by some executions.gasPrice: Hexadecimal value of the gasPrice used for each paid gas.maxPriorityFeePerGas: Maximum fee, in wei, the sender is willing to pay per gas above the base fee.maxFeePerGas: Maximum total fee (base fee + priority fee), in wei, the sender is willing to pay per gas.value: Hexadecimal of the value sent with this transaction.data: Hash of the method signature and encoded parameters. See Ethereum contract ABI specification.block parameter: [Required] A hexadecimal block number, or one of the string tags latest, earliest, pending, safe, or finalized. See the default block parameter.
Returns
A hexadecimal of an integer representing the current block number the client is on.
Example
Request
Response
Last updated