# Processing Flare On-Chain Data with Chainbase Manuscript

By [Chainbase Network - Blog](https://blog.chainbase.com) · 2025-02-12

---

**Setup:**

*   Visit the Chainbase Labs [Manuscript core repo on GitHub](https://github.com/chainbase-labs/manuscript-core/tree/v1.0.4) and find the manuscript-cli link to install Manuscript CLI using the automated script. Make sure your Docker engine is running.
    

**Use Manuscript CLI:**

*   Install manuscript-cli
    
*   Open your terminal and enter `manuscript-cli` to see available commands.
    
*   Enter `manuscript-cli init` to start the interactive manuscript creator.
    
*   Enter the default base directory for manuscripts, then enter your manuscript name (e.g., flare\_launch)**.**
    
*   Choose your network; for Flare, enter 9.
    
*   Select your data output target; default is Postgresql.
    

The system will create containers, and you can access your manuscript at [localhost:8081](http://localhost:8081).  
  

**Access and Explore Data:**

*   Visit [localhost:8081](http://localhost:8081) in your browser to see the Apache Flink web dashboard. Initially, no jobs will be running.
    
*   After you see a new job running, access the GraphQL endpoint([localhost:8083](http://localhost:8083)), indicating data is being inserted into the database. Initially, it will report “no queries available.” Please close the page and reopen it.
    
*   Use `manuscript-cli ls` to check if your manuscript (flare\_launch) is running.
    
*   Open the GraphQL interface to explore different queries, like transaction counts in blocks.
    
*   Use a GraphQL query like this to get a list of blocks:
    
        query myQuery {
          blocks(limit: 10) {
            hash
            number
            timestamp
            transactions {
              hash
            }
          }
        }
        
    
*   Use tools like ChatGPT and DeepSeek to help generate GraphQL queries, specifying that you want to input the query from the terminal.
    

**Command Line Data Access:**

*   Use curl to access the GraphQL endpoint from the terminal. For example, to get block sizes, use this command:
    
        curl -X POST -H “Content-Type: application/json” -d ‘{“query”:“query { blocks { size } }“}’ localhost:8081/graphql
        
    
    which will streams block size data to your terminal.
    

Learn more with our tutorial video:

[![](https://paragraph.xyz/editor/youtube/play.png)](https://www.youtube.com/watch?v=UgpjTVMpu4M)

**About Chainbase**

Chainbase is the world’s largest omnichain data network designed to integrate all blockchain data into a unified ecosystem, providing an open and transparent data interoperability layer for the AI era.

It has designed a novel dual-consensus technology architecture that bridges the programmability and composability of crypto data, which supports high throughput, low latency, and eventual determinism, as well as higher cybersecurity through a dual staking model. With Chainbase, people can truly enjoy the benefits of the open internet era.

**✸** Website: [**https://chainbase.com**](https://chainbase.com)

**✸** Blog: [**https://blog.chainbase.com**](https://blog.chainbase.com)

**✸** Discord: [**https://discord.gg/chainbase**](https://discord.gg/chainbase)

**✸** Documents: [**https://docs.chainbase.com**](https://docs.chainbase.com)

**✸** Twitter: [**https://twitter.com/ChainbaseHQ**](https://twitter.com/ChainbaseHQ)

**✸** Github: [**https://github.com/chainbase-labs**](https://github.com/chainbase-labs)

**About Flare**

Flare, the blockchain for data, offers developers and users secure, decentralized access to high-integrity data from other chains and the internet.

Flare uniquely supports enshrined data protocols at the network layer, making it the only EVM-compatible Layer 1 optimized for decentralized data acquisition, including price and time-series data, blockchain event and state data, and Web2 API data.

By providing broad data access at scale and minimal cost, Flare delivers a full-stack solution for building the next generation of interoperable use cases.

[Website](https://flare.network/) | [X](https://x.com/FlareNetworks) | [Telegram](https://t.me/FlareNetwork) | [Dev Hub](https://dev.flare.network/) | [Grant](https://flare.network/grants/) | [Brand Assets](https://drive.google.com/drive/folders/1mPrtIBb2k88E4f1fguEm3eAXLW74xOry)

---

*Originally published on [Chainbase Network - Blog](https://blog.chainbase.com/flare-on-chainbase)*
