Home

eth_getUncleCountByBlockNumber

POST
wss://ftm-sonic.nownodes.io/wss/{api_key}.

Returns the number of uncles in the block matching the given number; 0x0 on Fantom Sonic (no uncles).

Sent as a JSON text message over the WebSocket connection wss://ftm-sonic.nownodes.io/wss/{{api-key}}.

Connection URL:

Copied!
wss://ftm-sonic.nownodes.io/wss/{{api_key}}.

Open the connection, then send the message below as a text frame.

Example:

Copied!
wscat -c 'wss://ftm-sonic.nownodes.io/wss/YOUR_API_KEY.'
> {"jsonrpc":"2.0","method":"eth_getUncleCountByBlockNumber","id":1,"params":["0xe8"]}
Copied!
wss://ftm-sonic.nownodes.io/wss/{{api-key}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.