trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

Incorrect `meta.accountedFor.isContract ` field in export API response

Open daoleno opened this issue 2 years ago • 0 comments

Query transactions by address 0xAB1698E2bc31EbA20fDFaf16Ba94513CA04CDF23 in sepolia

http://localhost:8080/export?addrs=0xAB1698E2bc31EbA20fDFaf16Ba94513CA04CDF23&chain=sepolia&maxRecords=1

isContract is always false, but this is a contract. https://sepolia.etherscan.io/address/0xAB1698E2bc31EbA20fDFaf16Ba94513CA04CDF23

{
...
    "meta": {
        "unripe": 1575056,
        "ripe": 1575029,
        "staging": 1575029,
        "finalized": 1568820,
        "client": 1575057,
        "chain": "sepolia",
        "clientId": 11155111,
        "networkId": 11155111,
        "namedFrom": {},
        "unNamedFrom": {
            "0x3000bf6041ad065cecfe37d9f26f79228208a763": 1
        },
        "first_block": 0,
        "last_block": 18446744073709552000,
        "accountedFor": {
            "tags": "",
            "address": "0xab1698e2bc31eba20fdfaf16ba94513ca04cdf23",
            "name": "0xab1698e2bc31eba20fdfaf16ba94513ca04cdf23",
            "symbol": "",
            "source": "",
            "decimals": 0,
            "description": "",
            "isCustom": false,
            "isPrefund": false,
            "isContract": false,
            "isErc20": false,
            "isErc721": false
        }
    }
}

daoleno avatar Jul 25 '22 10:07 daoleno