Skip to main content

eth_call

Executes a new message call immediately without creating a transaction on the block chain.

Parameters

transaction*
Type: object { from: unknown, to: unknown, gas: unknown, maxFeePerGas: string,null, maxPriorityFeePerGas: string,null, value: unknown, input: unknown, data: unknown, nonce: unknown, chainId: unknown, accessList: unknown }
block*
Type: oneOf: Quantity (hex) | Tag
Enter a block number or latest

Returns

string

📤 Request

curl --request POST \
     --url https://testnet-rpc.monad.xyz \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 0,
  "jsonrpc": "2.0",
  "method": "eth_call",
  "params": []
}
'