QueryLedgerStateStakePools
POST
Calls the queryLedgerState/stakePools method over a WebSocket connection.
Connection URL:
Copied!
wss://ada-ogmios.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://ada-ogmios.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","method":"queryLedgerState/stakePools","params":{"includeStake":true,"stakePools":[{"id":"pool1qqqqpanw9zc0rzh0yp247nzf2s35uvnsm7aaesfl2nnejaev0uc"}]},"id":null}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.