Difference between revisions of "Cast rpc"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  cast rpc [[optimism_syncStatus]]
 
  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 ==
 
== Related ==

Revision as of 12:00, 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: