eth_call
BaseC1Runs a call against the current (or historic) state without broadcasting or spending gas. The standard way to read contract view/pure functions. Historic calls resolve on archive nodes.
Endpoint
POST https://api.1st-node.com/v1/base/rpcParameters
| Name | Type | Description |
|---|---|---|
| callObject | Object | The call: to, data, and optionally from/gas/value. |
| block | QUANTITY | TAG | State to execute against. |
Returns
DATA — the return value of the executed call.
Request
curl https://api.1st-node.com/v1/base/rpc \
-H "Authorization: Bearer $ONE_KEY" \
-H "content-type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_call",
"params": [{ "to": "0xdac17f…", "data": "0x70a08231000000…" }, "latest"]
}'{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_call",
"params": [{ "to": "0xdac17f…", "data": "0x70a08231000000…" }, "latest"]
}Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x0000000000000000000000000000000000000000000000000000000005f5e100"
}More transactions methods on Base
Frequently asked
Does eth_call cost gas?
No — it executes against state without a transaction, so nothing is spent on-chain.
Top up, get a key, ship.
Self-serve. Pay in crypto or card. Metered by credits — heavy primitives cost more, simple ones are cheap.
Get API key