Moonriver Samples
Moonriver nodes accept HTTP requests using the JSON-RPC 2.0 specification.
Returns most recent block number
Curl
Postman
curl https://moonriver-mainnet-rpc.allthatnode.com:9933/'YOUR-API-KEY' \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'
URL: https://moonriver-mainnet-rpc.allthetnode.com:9933/YOUR-API-KEY
RequestType: POST
Body:
{
"jsonrpc":"2.0",
"method":"eth_blockNumber",
"params":[],
"id":1
}
{
"jsonrpc": "2.0",
"result": "0x5b338f4",
"id": 1
}
Last modified 10mo ago