Ethereum and all EVM-based blockchains like BNB Smart Chain or Polygon
Available blockchains / endpoints:
Blockchain name | Endpoint |
---|---|
Ethereum | rpc.chain49.com/ethereum |
Ethereum Goerli Testnet | rpc.chain49.com/ethereum-goerli |
Ethereum Sepolia Testnet | rpc.chain49.com/ethereum-sepolia |
BNB Smart Chain | rpc.chain49.com/bsc |
Polygon PoS | rpc.chain49.com/polygon |
Polygon PoS Mumbai Testnet | rpc.chain49.com/polygon-mumbai |
Gnosis | rpc.chain49.com/gnosis |
Gnosis Chiado Testnet | rpc.chain49.com/gnosis-chiado |
Detailed docs for each method: https://ethereum.org/en/developers/docs/apis/json-rpc/
All allowed methods:
- web3_clientVersion
- web3_sha3
- net_version
- net_listening
- eth_syncing
- eth_mining
- eth_gasPrice
- eth_blockNumber
- eth_chainId
- eth_getBalance
- eth_getStorageAt
- eth_getTransactionCount
- eth_getBlockTransactionCountByHash
- eth_getBlockTransactionCountByNumber
- eth_getUncleCountByBlockHash
- eth_getUncleCountByBlockNumber
- eth_getCode
- eth_sendRawTransaction
- eth_call
- eth_estimateGas
- eth_getBlockByHash
- eth_getBlockByNumber
- eth_getTransactionByHash
- eth_getTransactionByBlockHashAndIndex
- eth_getTransactionByBlockNumberAndIndex
- eth_getTransactionReceipt
- eth_getUncleByBlockHashAndIndex
- eth_getUncleByBlockNumberAndIndex
- eth_getWork
- eth_getProof
Examples:
C49_API_KEY=INSERT_YOUR_KEY_HERE
# Ethereum example
curl https://rpc.chain49.com/ethereum \
-d '{"jsonrpc":"2.0","id":"0","method":"eth_getBlockByNumber","params":["0x1b4", true]}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: '$C49_API_KEY
# Polygon example
curl https://rpc.chain49.com/polygon \
-d '{"jsonrpc":"2.0","id":"0","method":"eth_chainId","params":""}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: '$C49_API_KEY