Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

case-insensitive search feature for eth addresses #105

Open
maryam-deriv opened this issue Jan 12, 2022 · 0 comments
Open

case-insensitive search feature for eth addresses #105

maryam-deriv opened this issue Jan 12, 2022 · 0 comments

Comments

@maryam-deriv
Copy link

maryam-deriv commented Jan 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant