Hi there, back again with another request for help with a query
I am wanting to get all “Transfer” events from a token smartcontract to a particular wallet address.
The array returned will ideally show the blockNumber, amount of tokens transferred, the sender and txHash. The purpose of this is to see if the address has received tokens directly (ie from a token holder not via a dexTrade swap - although including these as well would be great!)
Get the smart contract address using a particular wallet address. In the below GraphQL query, we have queried for the smart contract address of wallet address 0xbb19039871ed8bd20a0321555c46aae436f2de30.
Taking 0x2eba09fb8063aedba27424de9bf0dcb41567a943 as the smart contract address, we get the block height & transaction hash and the amount of tokens transferred.
Thanks @sayon, that’s an interesting approach. I hadn’t noticed the Transfers query object when I posted this. I’ve actually partially solved this with the below query, Only problem is I can’t see if the transfer was on or off exchange. Is there a way to incorporate something to identify that in the below query? Thanks