Links

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 https://palm-testnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":1}'
Example output:
{"jsonrpc":"2.0","id":1,"result":"0x3e8"}