Optimism
Optimism
Optimism
Le niveau gratuit couvre les projets personnels. Le paiement à l'usage évolue sans carte bancaire.
web3_clientVersion returns a free-form string identifying the client software running an OP Mainnet node — the OP Stack rollup that settles to Ethereum L1 and uses ETH for gas. OP Mainnet execution nodes typically run op-geth (a fork of Geth), so the string usually resembles a Geth-style identifier with version, platform, and Go build details. Call it at https://optimism.therpc.io/YOUR_API_KEY (chain ID 10, 0xa) to learn which client and version is answering your requests.
txpool namespace, which only op-geth exposes.Cette méthode ne prend aucun paramètre. Passez un tableau vide [].
| Type | Description |
|---|---|
| string | Free-form version string, e.g. `"Geth/v1.12.0-stable-e501b3b0/linux-amd64/go1.20.2"`. Format varies by client implementation. |
Try it live in the Optimism playground.
optimism.therpc.io may return a custom or redacted string rather than the exact underlying op-geth version, so do not assume it reflects a specific patch level.txpool_status and handle "method not found") rather than parsing the version text.