v1

latestSwagger 2.02026-07-17127100479.5 KB
general

Get current indexer head

Returns the current indexer state: the last indexed block height, total accounts, total blobs size, total voting power, and other network-wide counters.

get/head

Response

OK

chain_idstring string
hashstring string
idinteger
last_heightinteger
last_timestring date-time
namestring string
syncedboolean
total_accountsinteger
total_blobs_sizeinteger
total_feestring string
total_ibc_clientsinteger
total_namespacesinteger
total_proposalsinteger
total_supplystring string
total_txinteger
total_validatorsinteger
total_voting_powerstring string
versioninteger

Example response

{
  "chain_id": "mocha-4",
  "hash": "652452A670018D629CC116E510BA88C1CABE061336661B1F3D206D248BD558AF",
  "id": 321,
  "last_height": 100,
  "last_time": "2023-07-04T03:10:57+00:00",
  "name": "indexer",
  "synced": true,
  "total_accounts": 43,
  "total_blobs_size": 56789,
  "total_fee": "312",
  "total_ibc_clients": 312,
  "total_namespaces": 312,
  "total_proposals": 56789,
  "total_supply": "312",
  "total_tx": 23456,
  "total_validators": 100,
  "total_voting_power": "312",
  "version": 5
}