eth_call
Executes a new message call immediately without creating a transaction on the block chain.
Parameters
Transaction(object)requiredTransaction object generic to all types
Block(object)Block number, tag, or block hash
Returns
hex encoded bytes
Example request
await provider.request({
method: "eth_call",
params: [
{
"to": "0x69498dd54bd25aa0c886cf1f8b8ae0856d55ff13",
"value": "0x1"
},
"latest"
]
});
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": "0x"
}