Skip to content

case-insensitive search feature for eth addresses #105

@maryam-deriv

Description

@maryam-deriv

Since ETH addresses are not case-sensitive and are easy to make mistakes with, it would be best if there is the possibility that the search-through addresses would be case-insensitive.

Currently, the response of this API
https://api.cryptoscamdb.org/v1/check/0x0000000012ba45c32e4380a42ee524fe30502943
is :

{
   "success":true,
   "input":"0x0000000012ba45c32e4380a42ee524fe30502943",
   "coin":"ETH",
   "result":{
      "status":"blocked",
      "type":"address",
      "coin":"ETH",
      "entries":[
         {
            "id":"a73833",
            "name":"eth.ug",
            "type":"scam",
            "url":"http://eth.ug",
            "hostname":"eth.ug",
            "featured":0,
            "path":"/*",
            "category":"Scamming",
            "subcategory":"Trust-Trading",
            "description":"Trust trading scam site",
            "reporter":"CryptoScamDB",
            "ip":null,
            "severity":1,
            "statusCode":null,
            "status":null,
            "updated":1641988879948
         }
      ]
   }
}

but if we pass the mixed-case checksum address format or any combination, the response is :

{
   "input":"0x0000000012Ba45c32E4380a42eE524FE30502943",
   "success":false,
   "message":"Incorrect search type (must be a BTC/BCH/ETC/ETC/LTC address / ip address / URL)"
}

Thanks for your hard-working and efforts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions