Difference between revisions of "Web3 clientVersion"
Jump to navigation
Jump to search
(→Errors) |
(→Errors) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | * https://www.quicknode.com/docs/ethereum/web3_clientVersion | ||
+ | |||
web3_clientVersion [https://www.quicknode.com/docs/ethereum/web3_clientVersion doc] | web3_clientVersion [https://www.quicknode.com/docs/ethereum/web3_clientVersion doc] | ||
Line 8: | Line 10: | ||
cast rpc web3_clientVersion --[[rpc-url]] <YOUR_RPC_URL> | cast rpc web3_clientVersion --[[rpc-url]] <YOUR_RPC_URL> | ||
Error: | Error: | ||
− | [[HTTP error 403]] with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"rpc method is not whitelisted"},"id":0} | + | [[HTTP error 403]] with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"[[rpc method is not whitelisted]]"},"id":0} |
Context: | Context: | ||
- HTTP error 403 with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"rpc method is not whitelisted"},"id":0} | - HTTP error 403 with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"rpc method is not whitelisted"},"id":0} | ||
+ | |||
+ | {"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method web3_clientVersion [[does not exist/is not available]]"}} | ||
== Related == | == Related == | ||
* <code>[[geth version]]</code> | * <code>[[geth version]]</code> | ||
* [[Ethereum clients]] | * [[Ethereum clients]] | ||
+ | * [[geth --http.api]] | ||
+ | * [[Whitelists RPC methods]] | ||
== See also == | == See also == |
Latest revision as of 12:44, 27 October 2024
web3_clientVersion doc
cast rpc web3_clientVersion --rpc-url http://XXXXX "Geth/v0.1.0-unstable/linux-amd64/go1.23.0"
Errors[edit]
cast rpc web3_clientVersion --rpc-url <YOUR_RPC_URL> Error: HTTP error 403 with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"rpc method is not whitelisted"},"id":0} Context: - HTTP error 403 with body: {"jsonrpc":"2.0","error":{"code":-32601,"message":"rpc method is not whitelisted"},"id":0}
{"jsonrpc":"2.0","id":1,"error":{"code":-32601,"message":"the method web3_clientVersion does not exist/is not available"}}
Related[edit]
See also[edit]
cast rpc
- Ethereum API, 8545,
eth_call, eth_blockNumber, eth_getBalance, eth_getBlockByNumber, eth_getTransactionReceipt, web3_clientVersion, eth_subscribe, /eth/v1/node/syncing
,cast
,eth_getProof
,eth_call, eth_chainId, eth_getBlockReceipts
, Eth Beacon Node API,eth_sendRawTransaction, eth_getLogs
,geth --http.api
Advertising: