Skip to main content
GET
/
voting-ratio
Voting Ratio
curl --request GET \
  --url https://tokens.shakesco.com/voting-ratio \
  --header 'Authorization: Bearer <token>'
{ "tokens_per_vote": "10.0" }

Documentation Index

Fetch the complete documentation index at: https://docs.shakesco.com/llms.txt

Use this file to discover all available pages before exploring further.

For the complete documentation index, see llms.txt. Returns the currently configured ratio. Returns "0.0" if voting has not been configured.

Response

tokens_per_vote
string
Tokens that equal one vote
const res = await fetch("https://tokens.shakesco.com/voting-ratio", {
  headers: { Authorization: `Bearer ${API_KEY}` },
});
const { tokens_per_vote } = await res.json();
{ "tokens_per_vote": "10.0" }