eth_call
Base / https://triport.io/r/{key}/rpc/base
Minimum tier: Free
Last updated:
Primary records mention this exact method/channel or related source spelling. Stored results/labels and script recipes lack a complete recorded request+successful response pair; no blanket provider availability inferred. Availability is the frozen baseline, not deployed readiness. documented is the contract floor; evidence_kind retains unknown/source_summary.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| call | BaseR03_call | Yes | |
| block | BaseR03_blockTag | Yes | |
| stateOverride | object | No |
Returns
| Field | Type |
|---|---|
| result | BaseR03_data |
Examples
curl https://triport.io/r/{key}/rpc/base \
-X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer <api-key>' \
-d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":["<call>","<block>","<stateOverride>"]}'const res = await fetch("https://triport.io/r/{key}/rpc/base", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
body: JSON.stringify({
"jsonrpc": "2.0",
"id": 1,
"method": "eth_call",
"params": [
"<call>",
"<block>",
"<stateOverride>"
]
}),
});
const data = await res.json();import requests
resp = requests.post(
"https://triport.io/r/{key}/rpc/base",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"eth_call","params":["<call>","<block>","<stateOverride>"]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: Base.
- Clusters: mainnet.
- Credit cost: 1 per call.
FAQ
- What does eth_call do?
- Execute a read-only EVM call.
- How many credits does eth_call cost?
- eth_call costs 1 credit(s) per call on Triport by default.
- Is eth_call available over WebSocket?
- eth_call is an HTTP JSON-RPC method.