For instance, I'd like to make the following query:
Return all the addresses that have approved spender x on a particular token
It seems that I can only query for a specific (address, spender) pair on Etherscan.
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community
I assume, that you want to query this for particular token, not for all tokens.
xlogged by particular token contract.
_ownervalues from all such events and deduplicate these values. This will give you all addresses that have ever approved anything to
xto remove addresses that do not have allowance for
x. Aug 4, 2019 at 22:14