ADR 14: Marconi Query Interface

Date: 2022-10-27

Author(s)

Kayvan Kazeminejad <kayvan.kazeminejad@iohk.io>

Status

Draft

Context

Marconi provides a general solution for indexing the blockchain data. The query interface adds reporting capabilities on top of Marconi for both Haskell and non-Haskell applications.

Decision

  • We will build the interface on top of the Marconi indexer with minimal impact on the Marconi infrastructure

  • The query interface may be used both as an executable or a Haskell library

  • The query interface supports JSON-RPC 2.0 on top of HTTP

  • The query interface provides reporting of both memory and disk storage of indexers as described in Marconi implementation

Implications

  • No changes to the marconi infrastructure

  • we will remain with SQLite as our storage engine