How to format your URLs correctly for the NodePlus API.
Endpoint Formatting
To call a specific RPC in a specific chain, you pass the chain name and the type of RPC node you want to call (full or archive), separated by a -
.
For example, to call a Polygon full node, you'd call:
curl https://rpc.noves.fi/polygon_full \
-X POST \
-H "apiKey: YOUR_API_KEY" \
-H "Content-Type: application/json" \
--data '{"method":"eth_getBlockByNumber","params":["latest", false],"id":1,"jsonrpc":"2.0"}'
Alternatively, to make the same request but passing the API Key in the URL instead of a header:
curl https://rpc.noves.fi/polygon_full?apiKey=YOUR_API_KEY \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"eth_getBlockByNumber","params":["latest", false],"id":1,"jsonrpc":"2.0"}'
We currently support the following types of nodes:
full
archive
The type of node always goes after the chain name, followed by a -
.
The chain names are exactly as provided in the Translate /chains endpoint.