issue-tracker
issue-tracker copied to clipboard
Possible issue with Eth transaction pickup?
When getting all the NFT transfers for the Ethereum Towers project, one of the transactions is: 0xeda2d37d5b86676cd8777cbc971a1349f2c0aa964991d2d6774ebd616951f2dd
You can see it here - https://etherscan.io/tx/0xeda2d37d5b86676cd8777cbc971a1349f2c0aa964991d2d6774ebd616951f2dd looks alright to me
But the data that comes back from Moralis is:
{"block_number"=>"14124825", "block_timestamp"=>nil, "block_hash"=>nil, "transaction_hash"=>"0xeda2d37d5b86676cd8777cbc971a1349f2c0aa964991d2d6774ebd616951f2dd", "transaction_index"=>nil, "log_index"=>257, "value"=>nil, "contract_type"=>nil, "transaction_type"=>nil, "token_address"=>"0x495f947276749ce646f68ac8c248420045cb7b5e", "token_id"=>"38543999587180483086453667688708911953853707150137941511194370102362642579457", "from_address"=>nil, "to_address"=>nil, "amount"=>nil, "verified"=>1, "operator"=>nil}
Obviously it's missing a lot of data. Not sure why.
The query is:
Requesting https://deep-index.moralis.io/api/v2/nft/0x495f947276749ce646f68ac8c248420045cb7b5e/transfers?chain=eth&format=decimal&limit=500
It will probably scroll off the 500 latest transactions sooner or later, but right now it's in the first 500 transactions.
I've fixed this my end by filtering out events that have a nil block_timestamp, but I guess now my data set is missing at least one legitimate transaction.