You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/public-networks/reference/api/index.md
+103Lines changed: 103 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2498,6 +2498,109 @@ curl -X POST --data '{"jsonrpc":"2.0","method":"eth_chainId","params":[],"id":51
2498
2498
2499
2499
</Tabs>
2500
2500
2501
+
### `eth_config`
2502
+
2503
+
Returns the client's fork information for the current, next, and last known forks.
2504
+
2505
+
:::info
2506
+
2507
+
This method is defined in [EIP-7910](https://eips.ethereum.org/EIPS/eip-7910) and enables node operators to verify client readiness for upcoming forks and debug configuration mismatches.
2508
+
2509
+
:::
2510
+
2511
+
#### Parameters
2512
+
2513
+
None
2514
+
2515
+
#### Returns
2516
+
2517
+
`result`: _object_ - configuration information containing:
2518
+
2519
+
- `current`: _object_ - current fork configuration:
- `baseFeeUpdateFraction`: _number_ - base fee update fraction
2523
+
- `max`: _number_ - maximum number of blobs per block
2524
+
- `target`: _number_ - target number of blobs per block
2525
+
- `chainId`: _string_ - chain ID in hexadecimal
2526
+
- `forkId`: _string_ - fork hash as defined in [EIP-6122](https://eips.ethereum.org/EIPS/eip-6122)
2527
+
- `precompiles`: _object_ - active precompiled contracts with names and addresses
2528
+
- `systemContracts`: _object_ - system contract addresses
2529
+
- `next`: _object_ - next fork configuration, or `null` if no future fork is scheduled.
2530
+
- `last`: _object_ - the furthest configured future fork configuration (the future fork with
2531
+
the largest `activationTime` among the client's configured forks). If only one future fork is configured, `next` and `last` are the same object. `null`if no future fork is scheduled.
0 commit comments