All of Mirror’s posts are available to access on Arweave, an on-chain decentralized storage layer that makes it so that your posts exist forever (even if Mirror does not)!
Here’s a basic tutorial on how to get data published on Mirror directly from Arweave:
dev.mirror.xyz/GjssNdA6XK7VYynkvwDem3KYwPACSU9nDWpR5rei3hw
and so the digest is GjssNdA6XK7VYynkvwDem3KYwPACSU9nDWpR5rei3hw
App-Name: MirrorXYZ
tells Arweave to scope the results to all posts on MirrorOriginal-Content-Digest: GjssNdA6XK7VYynkvwDem3KYwPACSU9nDWpR5rei3hw
tells Arweave to return every single transaction that matches the requested content digestgetData
function in the Arweave JS SDK to render the JSON content
arweave.net/<TRANSACTION_ID>
which will render the JSONGjssNdA6XK7VYynkvwDem3KYwPACSU9nDWpR5rei3hw
returns a transaction ID of dysIrCovgAHJ6siGA5_r27Q59j2tv5wD4kqc1bxRFVE
, which renders the content you see here.The GraphQL query is available as a gist here.
In order to bypass requiring content digests to populate Mirror posts, you can use the Contributor
tag to query for all posts made by a specific wallet. A full list of available tags is available on the Transaction
GraphQL object.