TriportRPC

optimism_rollupConfig

Base / https://triport.io/r/{key}/rpc/base

Minimum tier: Reference only

Base method guide

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. Search terms are provenance crosswalk only, not enabled wire aliases. Availability is the frozen baseline, not deployed readiness. documented is the contract floor; evidence_kind retains unknown/source_summary.

Parameters

This method takes no parameters.

Returns

optimism_rollupConfig return value
FieldType
resultobject

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":"optimism_rollupConfig","params":[]}'
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": "optimism_rollupConfig",
  "params": []
}),
});
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":"optimism_rollupConfig","params":[]},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Chain: Base.
  3. Clusters: mainnet.
  4. Credit cost: 1 per call.

FAQ

What does optimism_rollupConfig do?
optimism_rollupConfig Base JSON-RPC catalog row.
How many credits does optimism_rollupConfig cost?
optimism_rollupConfig costs 1 credit(s) per call on Triport by default.
Is optimism_rollupConfig available over WebSocket?
optimism_rollupConfig is an HTTP JSON-RPC method.