Skip to main content
Rollytics exposes a read-only, KV Indexer endpoint-compatible (drop-in for most consumers) HTTP API for indexed chain data. This section documents the endpoints commonly used by wallets, explorers, and backend services. Base URL: https://<your-rollytics-api-host> OpenAPI: /swagger/doc.json Response schemas and full field definitions are in the OpenAPI spec. Examples below show representative payloads.

Conventions

Response Format

All responses are application/json.

Pagination

Many list endpoints accept Cosmos-style pagination parameters. Pagination Parameters: Pagination responses may include pagination.next_key, pagination.previous_key, and pagination.total, depending on the endpoint and data set. For exact response fields, refer to OpenAPI.

Pagination Examples

Key-based pagination:

Filtering

Some transaction endpoints support filtering by message type via the msgs parameter: Example:

App

GET /status

Status check. Returns current indexer status including chain ID and latest indexed heights.

Response

200 OK Schema: status.StatusResponse Example response:
Field notes:
  • height: latest indexed block height
  • internal_tx_height: latest indexed internal EVM transaction height
  • rich_list_height: latest indexed rich list height

Block

Block endpoints return JSON objects defined in OpenAPI; see /swagger/doc.json for full schema details.

GET /indexer/block/v1/avg_blocktime

Get average block time. Returns the average block time over recent blocks.

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

GET /indexer/block/v1/blocks

Get blocks. Returns a list of blocks with pagination.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

GET /indexer/block/v1/blocks/{height}

Get block by height. Note: The height parameter is a string for this endpoint, but an integer for GET /indexer/tx/v1/txs/by_height/{height}.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

Transactions

Transaction endpoints return JSON objects defined in OpenAPI; see /swagger/doc.json for full schema details.

GET /indexer/tx/v1/txs

Get transactions. Returns a list of transactions with pagination.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

GET /indexer/tx/v1/txs/by_account/{account}

Get transactions by account.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

GET /indexer/tx/v1/txs/by_height/{height}

Get transactions by height. Get transactions at a specific block height. Note: The height parameter is an integer for this endpoint, but a string for GET /indexer/block/v1/blocks/{height}.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

GET /indexer/tx/v1/txs/{tx_hash}

Get transaction by hash.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

NFT

NFT schemas in OpenAPI: nft.CollectionsResponse, nft.CollectionResponse, nft.NftsResponse.

GET /indexer/nft/v1/collections

Get NFT collections.

Parameters

Response

200 OK Schema: nft.CollectionsResponse Example response:

GET /indexer/nft/v1/collections/by_account/{account}

Get NFT collections by account.

Parameters

Response

200 OK Schema: nft.CollectionsResponse

GET /indexer/nft/v1/collections/by_name/{name}

Get NFT collections by name.

Parameters

Response

200 OK Schema: nft.CollectionsResponse

GET /indexer/nft/v1/collections/{collection_addr}

Get NFT collection by address.

Parameters

Response

200 OK Schema: nft.CollectionResponse

GET /indexer/nft/v1/tokens/by_account/{account}

Get NFT tokens by account.

Parameters

Response

200 OK Schema: nft.NftsResponse Example response:

GET /indexer/nft/v1/tokens/by_collection/{collection_addr}

Get NFT tokens by collection.

Parameters

Response

200 OK Schema: nft.NftsResponse

GET /indexer/nft/v1/txs/{collection_addr}/{token_id}

Get NFT transactions by collection and token ID.

Parameters

Response

200 OK Schema: see OpenAPI (/swagger/doc.json)

Rich List

Rich list indexing is currently available only for EVM rollups. Move and Wasm rollups are not yet supported.

GET /indexer/richlist/v1/{denom}

Get token holders. Get a list of token holders for a specific denomination, ordered by amount in descending order.

Parameters

Response

200 OK Schema: richlist.TokenHoldersResponse Example response: