Difference between revisions of "Cast rpc"

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

Revision as of 12:14, 12 September 2024

cast rpc web3_clientVersion --rpc-url <YOUR_RPC_URL>


cast rpc optimism_syncStatus

Error

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: