Querying Arweave for Posts
To retrieve Paragraph posts from Arweave, follow these two steps:1. Query Arweave via GraphQL for the transaction ID
You can search based on Arweave tags like theContributor
wallet or post metadata.
Example GraphQL query to fetch the latest post from a specific wallet:
2. Fetch the post content using Arweave JS SDK
Once you have the transaction ID, use the Arweave JS SDK to retrieve the post data. Posts stored on Arweave include:- Static HTML
- TipTap JSON (for rich content structure)
- Metadata (publish date, categories, tags, etc.)
Example Integration
This open-source repo by @PirosB3 demonstrates how to:- Fetch Paragraph posts from Arweave
- Cross-post them to Farcaster
When to Use This Approach
Use Arweave-based reading if:- You want to build fully decentralized frontends or backup content
- You don’t want to rely on the Paragraph API or SDK
- You want to mirror Paragraph content across multiple protocols or UIs