Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upRSK public nodes
Public Nodes
RSK is currently providing two public nodes for testing purposes:
- https://public-node.testnet.rsk.co (Testnet)
- https://public-node.rsk.co (Mainnet)
Supported RPC methods
These nodes are supporting the following JSON RPC methods:
Method |
---|
net_version |
net_listening |
net_peerCount |
eth_protocolVersion |
eth_hashrate |
eth_mining |
eth_call |
eth_estimateGas |
eth_gasPrice |
eth_blockNumber |
eth_getBalance |
eth_getBlockByHash |
eth_getBlockByNumber |
eth_getBlockTransactionCountByHash |
eth_getBlockTransactionCountByNumber |
eth_getCode |
eth_getStorageAt |
eth_getTransactionByBlockHashAndIndex |
eth_getTransactionByBlockNumberAndIndex |
eth_getTransactionByHash |
eth_getTransactionCount |
eth_getTransactionReceipt |
eth_getUncleByBlockHashAndIndex |
eth_getUncleByBlockNumberAndIndex |
eth_getUncleCountByBlockHash |
eth_getUncleCountByBlockNumber |
eth_sendRawTransaction |
Note: request headers must contain
"Content-Type: application/json"
cURL
Example using Here's an example request using cURL
to get the Mainnet block number:
$ curl https://public-node.rsk.co\
-X POST -H "Content-Type: application/json"\
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
Press h to open a hovercard with more details.