Skip to content

RSK public nodes

Martín Coll edited this page Jul 11, 2018 · 3 revisions

Public Nodes

RSK is currently providing two public nodes for testing purposes:

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"

Example using cURL

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}'
Clone this wiki locally
You can’t perform that action at this time.