How do you get token-supply to answer?

I have a docker node, that has debug port exposed locally to 127.0.0.1 only. I can call all of those and get a response:
/v2/debug/transactions/pending
/v2/debug/accounts/beneficiary
/v2/debug/accounts/node
/v2/debug/peers

But the endpoint:
/v2/debug/token-supply/height/266506

it says this

  • Trying 127.0.0.1:3113…
  • TCP_NODELAY set
  • Connected to 127.0.0.1 (127.0.0.1) port 3113 (#0)

GET /v2/debug/token-supply/height/266506 HTTP/1.1
Host: 127.0.0.1:3113
User-Agent: curl/7.68.0
Accept: /

  • Empty reply from server
  • Connection #0 to host 127.0.0.1 left intact
    curl: (52) Empty reply from server

Am I doing something wrong?

1 Like

doesn’t work for me as well, I did this as a workaround: aepp-governance/coinbase.js at master · aeternity/aepp-governance · GitHub

1 Like

It is probably a bit slow now the state is larger, this endpoint would need some TLC…

that’s such an inexact approximation. I would really like that endpoint to get some well deserved TLC.

1 Like