Wrong timestamp returned for a block

curl -X 'GET' 'https://deep-index.moralis.io/api/v2/block/14125666/nft/transfers?chain=eth&limit=1'

returns:

{
  "total": 98,
  "page": 0,
  "page_size": 1,
  "cursor": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvcmRlciI6IkRFU0MiLCJvZmZzZXQiOjEsImxpbWl0IjoxLCJibG9ja19udW1iZXIiOiIxNDEyNTY2NiIsInBhZ2UiOjEsIndoZXJlIjp7fSwia2V5IjoiMTQxMjU2NjYuMzI2LjUzMy4wIiwiaWF0IjoxNjQ1NjEzODYyfQ.i0h2l5CSU2MxBMfas01pvoc2CiljF8WSOqaAhBwrDNY",
  "result": [
    {
      "block_number": "14125666",
      "block_timestamp": "2022-02-02T03:50:11.000Z",
      "block_hash": "0x06dc2baa56310a0ede985264bced55710513e8b3cc8923beefc3ad7885e0989e",
      "transaction_hash": "0xdf73f420388c95d8e7037651f2888f1e85912f915f1cff79995197460aeb177c",
      "transaction_index": 326,
      "log_index": 533,
      "value": "310000000000000000",
      "contract_type": "ERC721",
      "transaction_type": "Single",
      "token_address": "0xe43eba6b038e6156438a1797b3b6c172cc6e4254",
      "token_id": "2436",
      "from_address": "0x2cec01734b764e6fdfa079773cc0a2be8b45d6df",
      "to_address": "0x73a7397569d89852bff239fb977ad244c9451840",
      "amount": "1",
      "verified": 1,
      "operator": null
    }
  ],
  "index_complete": true,
  "block_exists": true
}

Here the block timestamp is set to "2022-02-02T03:50:11.000Z", however in reality it should be "2022-02-02T08:50:11.000Z" (proof).
Two neighbor blocks return correct timestamp btw:
14125665 -> β€œ2022-02-02T08:50:02.000Z”
14125666 -> "2022-02-02T03:50:11.000Z
14125667 -> β€œ2022-02-02T08:50:57.000Z”

we’ll have to investigate, it looks like it doesn’t return the right timestamp

it should be fixed now

Please check it for the block number 14186046:

curl -X 'GET' 'https://deep-index.moralis.io/api/v2/block/14186046/nft/transfers?chain=eth&limit=500'

In the response the block timestamp is:

"block_timestamp": "2022-02-11T12:14:49.000Z"

but should be "2022-02-11T17:14:49.000Z"

this one should be fixed too now

1 Like

@cryptokid now some transfers have block_number and block_timestamp attributes both set to null.

curl -X 'GET' 'https://deep-index.moralis.io/api/v2/block/14305137/nft/transfers?chain=eth&limit=500'

results in a list of transfers, 46 of which have the block information set to null, like:

{
      "block_number": "14305137",
      "block_timestamp": null,
      "block_hash": null,
      "transaction_hash": "0x3bf4c176671e2446832954df07d6ed1677fa4d9ac49d8190fd422759fd8f69db",
      "transaction_index": null,
      "log_index": 403,
      "value": "150000000000000000",
      "contract_type": null,
      "transaction_type": null,
      "token_address": "0xece4877eb9fd57a49dd97bafc701bba3d44c4c7d",
      "token_id": "455",
      "from_address": null,
      "to_address": null,
      "amount": null,
      "verified": 1,
      "operator": null
    }
1 Like

it should be fixed now