Difference between revisions of "Web3 clientVersion"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  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}

Revision as of 12:15, 12 September 2024

web3_clientVersion doc
cast rpc web3_clientVersion --rpc-url http://XXXXX
"Geth/v0.1.0-unstable/linux-amd64/go1.23.0"

Errors

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}

Related

See also

Advertising: