Monad-specific behavior:
- Calls reliant on old state (with an old block number) may fail, because full nodes do not provide access to arbitrary historic state.
- Does not accept EIP-4844 (blob) transaction type, as EIP-4844 is not supported on Monad.
Get you own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
object— the transaction call object:from(optional) — address the transaction is sent fromto— address the transaction is directed togas(optional) — gas provided for the callgasPrice(optional) — gas price for the callvalue(optional) — value sent with the calldata(optional) — hash of the method signature and encoded parameters
quantity or tag— integer block number, or the stringlatest,earliest, orpending
Response
result— the return value of the executed contract call.
eth_call code examples
Use case
A practical use case foreth_call is reading data from smart contracts, such as token balances, contract state variables, or simulating complex transactions before sending them.Body
application/json