trezor / blockbook

:blue_book: Trezor address/account balance backend
https://trezor.io
GNU Affero General Public License v3.0
640 stars 635 forks source link

cannot access to api #1090

Closed dev-dantealighieri closed 2 months ago

dev-dantealighieri commented 2 months ago

I cannot get data from my litecoin blockbook endpoints, i tried both 9034 and 9134, it seems like it has synced but i couldnt figure out why, whats the problem?

➜  ~ curl localhost:9134/api/balance/...  | json
{
  "blockbook": {
    "coin": "Litecoin",
    "host": "4c3d14f",
    "version": "0.4.0",
    "gitCommit": "eaf8f481-dirty",
    "buildTime": "2024-05-18T20:23:41+00:00",
    "syncMode": true,
    "initialSync": false,
    "inSync": true,
    "bestHeight": 2688958,
    "lastBlockTime": "2024-05-21T07:20:03.202587216Z",
    "inSyncMempool": true,
    "lastMempoolTime": "2024-05-21T07:20:29.633004687Z",
    "mempoolSize": 73,
    "decimals": 8,
    "dbSize": 114861928702,
    "hasFiatRates": true,
    "currentFiatRatesTime": "2024-05-21T07:17:02.834145055Z",
    "about": "Blockbook - blockchain indexer for Trezor Suite https://trezor.io/trezor-suite. Do not use for any other purpose."
  },
  "backend": {
    "chain": "main",
    "blocks": 2688958,
    "headers": 2688958,
    "bestBlockHash": "eb58c3147c312214388c2bb75df9887f8a2d9b5d4662aa6e36f3f09d2c4fce79",
    "difficulty": "36629929.90570227",
    "sizeOnDisk": 174935495846,
    "version": "210300",
    "subversion": "/LitecoinCore:0.21.3/",
    "protocolVersion": "70017"
  }
}

thanks dante.

martinboehm commented 2 months ago

There is not /api/balance/ endpoint.

dev-dantealighieri commented 2 months ago

thanks m8

thanks, dante