Understanding 'Count' & 'limit / limitBy'?

kjulien
Mon, 17 Jan 2022 20:24:42 +0000
GraphQL API

Hi Everyone, I was wondering, can someone explain ‘count’ to me? I’m running a query, and I’d like to return more than one of the same information from the same wallet smart contract address. So for example, if the same address in particular had xx deposits during a xx amount of time. like 4 Deposits in 1 hour. I thought count might be the right thing to use, and also doing options: {desc: “block.timestamp.time”, limitBy: {each: “caller.address”, limit: 1}, limit: 10} but i don’t think i understand how limit within a limit works…? Please help!

3 posts - 2 participants