cast rpc
Jump to navigation
Jump to search
cast rpc web3_clientVersion --rpc-url <YOUR_RPC_URL>
cast rpc web3_clientVersion --rpc-url http://localhost:8545
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
cast rpc
cast [ block | block-number | wallet | send | balance | call | chain-id | tx | --help ]
- 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: