HTTP API for the Kleros IPFS gateway: upload and retrieve dispute templates, evidence files, policy documents, and Curate item metadata.
Every Kleros integration that involves jurors needs off-chain content: dispute templates that tell jurors what question to answer, evidence files that parties submit, and policy documents that define ruling criteria. All of this content is stored on IPFS and referenced on-chain by its CID.The Kleros IPFS gateway at cdn.kleros.link is the recommended gateway for uploading and serving this content.
Content uploaded to the Kleros gateway is pinned by Kleros infrastructure. For production integrations, also pin with a secondary provider so your content stays available if the Kleros gateway is temporarily unreachable:
// Example: pin with Pinata in addition to Kleros gatewayconst pinataRes = await pinata.pinJSONToIPFS(evidence);// Both pins point to the same CID
Unpinned IPFS content can disappear if no node is serving it. Always pin from at least two independent sources in production.
⌘I
Assistant
Responses are generated using AI and may contain mistakes.