Closed QuintusTheFifth closed 2 years ago
Hey @QuintusTheFifth , in the docs, what value are we returning on-chain? It says an array of uints...is this the yes/no votes? Some result? (what query/json parsing needs to happen?)
An array of values representing the amount of votes (uints) for each vote option should be returned on-chain. An example to get the data can be seen here: https://gist.github.com/QuintusTheFifth/3c5d79c9dd5eb8edbb3fc55f5518de2b
Hey @QuintusTheFifth , don't we also need the address/ chain for getting the information? Just wondering here how we go from an ID to getting the answer (is there a website or api you can throw in as an example?)