subscan-explorer / subscan-essentials

Polkadot Substrate Explorer Subscan

Home Page:https://www.subscan.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

where can I find v2 api?

MrHunter1986 opened this issue · comments

I setup the subscan successfully but couldn't find api/v2/scan/search to get balance of a given account

@freehere107 Thanks.But my problem is I setup subscan locally, and when I use

curl -X POST --header 'Content-Type: application/json' --data-raw '{"key": "1REAJ1k691g5Eqqg9gL7vvZCBG7FCCZ8zgQkZWd4va5ESih"}' http://127.0.0.1:4399/api/v2/scan/search

The output is "404 page not found"

While the other non-v2 requests seems ok.

commented

@MrHunter1986 Most of the APIs of https://www.subscan.io/ are not in subscan-essentials. At present, this version only provides a simple template, which allows developers to develop secondary development based on existing data.