Mysterious 0x000 from_address in EthNFTTransfer object

I believe this is a bug, other else let me know why itโ€™s there:
When I query:

const query = new Moralis.Query('EthNFTTransfers');

And this is the output:

As you can see there are 2 from_address fields in the object, and the one in the root (not attributes) is causing my query to return the from_address always as 0x0000 because it takes the root by default and not from attributes.
I can work around it for now, but it prevents me from writing a nice short query code.

Hey @matiyin

All new minted tokens are transfered from 0x00000000000000000000000

@Yomoo ah no itโ€™s not a newly minted token, itโ€™s just a transfer!
Look at the other from_address under attributes!

TX https://rinkeby.etherscan.io/tx/0x7502b0b6f0f5a2c498ed2c30f46b85de06a5a7632e746304b7cf42c8690047a3

wow turns out my logged result data was transformed by Vue reactivity due to a bug, it was doing my head in for a few hours but now resolved, you can close this embarrassing topic :slight_smile:

1 Like

Great job :man_mechanic: