Ethereum API
eth_call
Executes a new message call immediately without creating a transaction on the block chain.Parameters
Transaction object
Transaction object generic to all types
Block anyOf
Block number, tag, or block hash
Returns
Return data string
hex encoded bytes
Install MetaMask
Install MetaMask for your browser to enable interactive features
Install MetaMaskRequest
await window.ethereum.request({
"method": "eth_call",
"params": [],
});
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x"
}