Polygon
Polygon
Polygon
免费套餐涵盖个人项目。按量付费,无需绑卡即可扩展。
web3_clientVersion returns a free-form string identifying the node's client software and version. On Polygon PoS the execution client is Bor, a Geth fork, so the string typically looks like a Bor/Geth build identifier with version, platform, and Go compiler details. It is useful for knowing exactly which implementation is serving your MATIC requests. Call it against the Polygon mainnet endpoint at https://polygon.therpc.io/YOUR_API_KEY (chain ID 137, 0x89).
此方法不需要任何参数,传入空数组 [] 即可。
| 类型 | 描述 |
|---|---|
| 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 Polygon playground.