Skip to content

Instantly share code, notes, and snippets.

@osolmaz
Created February 23, 2020 12:35
Show Gist options
  • Save osolmaz/996caa62b37943ae1a226f1f37683e9f to your computer and use it in GitHub Desktop.
Save osolmaz/996caa62b37943ae1a226f1f37683e9f to your computer and use it in GitHub Desktop.
Curl command to get the list of Tezos bakers
curl 'https://tezos-mainnet-conseil-1.kubernetes.papers.tech/v2/data/tezos/mainnet/delegates' -H 'Connection: keep-alive' -H 'Accept: application/json, text/plain, */*' -H 'Origin: https://tezblock.io' -H 'apikey: airgap123' -H 'Content-Type: application/json' -H 'Referer: https://tezos-mainnet-conseil-1.kubernetes.papers.tech/' --data-binary '{"fields":[],"predicates":[{"field":"staking_balance","operation":"gt","set":["8000000000"],"inverse":false}],"orderBy":[{"field":"staking_balance","direction":"desc"}],"limit":1000}' --compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment