Difference between revisions of "Cast rpc"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
  cast rpc [[optimism_syncStatus]]
 
  cast rpc [[optimism_syncStatus]]
  
== Error ==
+
== Errors ==
 
  [[cast]] rpc [[web3_clientVersion]] [[--rpc-url]] <YOUR_RPC_URL>
 
  [[cast]] rpc [[web3_clientVersion]] [[--rpc-url]] <YOUR_RPC_URL>
 
  Error:  
 
  Error:  
Line 14: Line 14:
 
  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}
 +
 +
 +
 +
Error:
 +
server returned an error response: error code -32601: the method web3_clientVersion does not exist/is not available
  
 
== Related ==
 
== Related ==

Revision as of 12:29, 12 September 2024

cast rpc web3_clientVersion --rpc-url <YOUR_RPC_URL>


cast rpc optimism_syncStatus

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}


Error:
server returned an error response: error code -32601: the method web3_clientVersion does not exist/is not available

Related

See also

Advertising: