iotex-analytics icon indicating copy to clipboard operation
iotex-analytics copied to clipboard

Returning the bucket ID in bucketInfo query

Open simonerom opened this issue 4 years ago • 0 comments

bucketInfo is not returning the bucket ID/number: is there a different way to obtain it, or can it be added to the bucket info?

query {
  delegate(startEpoch: 12092, epochCount: 1, delegateName: "royalland") {
    bucketInfo {
      exist
      bucketInfoList(pagination: { skip: 0, first: 500 }) {
        count
        bucketInfo {
          voterIotexAddress
           voterEthAddress 
          votes
           weightedVotes 
          remainingDuration
           startTime 
          isNative
           decay 
        }
       } 
    }
   }  }

simonerom avatar Sep 12 '20 16:09 simonerom