Make requests

The Palm network supports API requests using HTTP, and supports all Ethereum JSON-RPCs.
WebSocket calls are not supported when using the Palm endpoints.

Call a JSON-RPC method

Use HTTPS to call a JSON-RPC method. In the example we use curl to make the HTTPS request.
Replace YOUR-API-KEY with an API key from your Infura dashboard.
curl<YOUR-API-KEY> \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":1}'
Example output: