Endpoint
Read a proof
GET /api/studio/readOpen: no accountThe record an answer was read from, so its proof can be checked: a transaction's proof or an order's record. Every proof link in an answer points here.
- Request
- ?path=proof/tx/<chain id>/<tx hash> or ?path=protocol/<id>/order/<key>
- Answer
- The record, as read.
curl
curl -s 'https://portal.t3rn.io/api/studio/read?path=proof/tx/8453/0x…'
TypeScript
const path = encodeURIComponent("proof/tx/8453/0x…");
const record = await (await fetch(`https://portal.t3rn.io/api/studio/read?path=${path}`)).json();