JSON-RPC methods

The standard Ethereum methods documented here are supported by Chainup Cloud on the Optimism network.

Optimism RPC

You can review custom methods specific to Optimism can be found in the official Optimism API documentation.

Please note that the Optimism Bedrock migration introduces support for various JSON-RPC methods. For detailed information, refer to the official Optimism API documentation.

Example RPC

curl https://api.chainup.net/optimism/mainnet/<YOUR_API_KEY> \
-X POST \
-H 'content-type: application/json' \
-H "CONSISTENT-HASH: true" \
--data '{"jsonrpc":"2.0","method":"getblockchaininfo","params":[],"id":1}' 

Last updated