near / stakewars-iii

Stake Wars: Episode 3 challenges and place to report issues
87 stars 177 forks source link

Update the command curl #68

Closed JoeHank9 closed 2 years ago

JoeHank9 commented 2 years ago

In the 4th challenge To Check Blocks Produced The command curl needs -r to get raw data

curl -r -s -d '{"jsonrpc": "2.0", "method": "validators", "id": "dontcare", "params": [null]}' -H 'Content-Type: application/json' 127.0.0.1:3030 | jq -c '.result.current_validators[] | select(.account_id | contains ("POOL_ID"))'