JSON-RPCMethods
eth_call: parameters, returns and CU
Execute a read-only call against block state and return the result. See parameters, return value, CU metering and supported chains for this method.
Summary
Execute a read-only call against the state of a given block and return its result.
Compute Units (CU) and Pricing
CU per call
15 CU
Price per 1M calls (USD)
$1.5
Parameters
| Parameter | Type | Description |
|---|---|---|
transaction | object | Call object with to (the address being called) and optional from, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, value and data/input. |
blockParameter | QUANTITY|TAG | Optional block number or tag the call runs against: latest, earliest, pending, safe or finalized; defaults to the latest block. |
Returns
- Type:
DATA - Description: Call return data, usually ABI-encoded, as 0x-prefixed hex; 0x when there is no return value.
Notes
The call is read-only: it creates no transaction and changes no state, and a revert normally surfaces as an error.
Request Example
curl -X POST "https://dev-api.blockvectra.network/v1/robinhood_mainnet" \
-H 'Content-Type: application/json' \
-H 'x-api-key: <api_key>' \
-d '{
"jsonrpc": "2.0",
"method": "eth_call",
"params": [
{
"to": "<to>",
"data": "<data>"
},
"latest"
],
"id": 1
}'Supported Chains
Supported chains:
- EthereumBeta
eth_mainnet - HyperEVM
hyperevm_mainnet - Robinhood Chain
robinhood_mainnet
Related references
eth_estimateGas: parameters, returns and CU
Estimate the gas limit a transaction would need. See parameters, return value, CU metering and supported chains for this method.
eth_getBalance: parameters, returns and CU
Return the balance of an address at a given block, in wei. See parameters, return value, CU metering and supported chains for this method.