Erc20 transaction in "/{address}/nft/transfers"

I have a question ​"/{address}​/nft​/transfers" gives me a “total: 118” for the address 0xa80be8cac8333330106585ee210c3f245d4f98df.
I go to etherscan, writes there
ERC-721 = 87 total transaction
ERC-1155 = 25 total transaction
87 + 25 = 112, not 118.
6 extra transaction. I’ve looked at all of them and they have a common feature. They have an empty “contract_type: “”” and in etherscan they are in the tab “Erc20 Txns token” tab, they are also associated with “token_address”: “0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb”. I looked at etherscan and it gave me a CRYPTOPUNKS token, but ethscan identifies it as an Erc20 token, not NTF.

I am attaching a couple of JSON examples of these transactions below for address 0xa80be8cac8333330106585ee210c3f245d4f98df. Request link “htt ps://deep-index.moralis .io/api/v2/0xa80be8cac8333330106585ee210c3f245d4f98df/nft/transfers?chain=eth&format=decimal&direction=both” (Pls remove the spaces yourself, I can’t post with the link)

      "token_address": "0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb",
      "token_id": "5910",
      "from_address": "0x0f4023208058ecffcb22a7409df11f6d6013fe8a",
      "to_address": "0xa80be8cac8333330106585ee210c3f245d4f98df",
      "amount": "1",
      "contract_type": "",
      "block_number": "6923031",
      "block_timestamp": "2018-12-20T21:48:21.000Z",
      "block_hash": "0xd6e588b33bdbc3f4f1f5d24c32da3e221eeeec05a05cfa857b132fc3ce198eb2",
      "transaction_hash": "0xad80da526d8323a4c26c5a07162ff2797b9d6778c18372f5fe58a478b8e366f9",
      "transaction_type": "Single",
      "transaction_index": 128,
      "log_index": 154

      "token_address": "0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb",
      "token_id": "4072",
      "from_address": "0xa80be8cac8333330106585ee210c3f245d4f98df",
      "to_address": "0x18dd509486858ac622ce217d9ed2ad89e4005f88",
      "amount": "1",
      "contract_type": "",
      "block_number": "12497677",
      "block_timestamp": "2021-05-24T15:02:22.000Z",
      "block_hash": "0x7e644a8e47858de9b610046fe2f78d20848446e6db9b0b4c16d9fee9018eca2a",
      "transaction_hash": "0xc958197ff5a1655c9e24b8cb4685cd1277c58c64ed930f1e91379c99b9ebd0f9",
      "transaction_type": "Single",
      "transaction_index": 127,
      "log_index": 160

Is this a bug?ᅠ ᅠ ᅠ ᅠ ᅠ ᅠ ᅠ ᅠ

yea we are on it, will probably fix this week

Looking at the logs it does actually look like NFT transfers.

However, cryptopunks does not conform to the ERC721 standard and therefore the contract_type is blank since it follows no standard.
Sometimes Etherscan does not know what category to put transfers similar to this one in, so that would explain the mismatch.

1 Like

Ok, I checked Moralis is issuing transactions with CRYPTOPUNKS in both NFT and ERC20. Then I will ignore NFT transactions with an empty contract type. Thanks!
Have you checked this issue Etherscan transaction type and Moralis do not match? How is it going?