Aavegotchi Renderer Bypass
Render gotchi assets from token data and renderer batch APIs.
Inputs
- - Accept either
tokenId or inventory URL with id=<tokenId>. - Target Base by default (
chainId=8453).
Outputs
- - Return derived renderer hash.
- Return
/api/renderer/batch HTTP status. - Save raw batch JSON to disk.
- Save
PNG_Full and PNG_Headshot to disk when available. - Return
GLB_3DModel availability and URL when present.
Execute
- 1. Extract
tokenId from direct input or inventory URL. - Query Goldsky Base core subgraph:
https://api.goldsky.com/api/public/project_cmh3flagm0001r4p25foufjtt/subgraphs/aavegotchi-core-base/prod/gn
- 3. Derive hash in renderer format:
<Collateral>-<EyeShape>-<EyeColor>-<Body>-<Face>-<Eyes>-<Head>-<LeftHand>-<RightHand>-<Pet>
- 4. Call
POST https://www.aavegotchi.com/api/renderer/batch with:
- - INLINECODE11
- INLINECODE12
- 5. Download
proxyUrls.PNG_Full and proxyUrls.PNG_Headshot. - Return the hash, response, and saved artifact paths.
Command
Run the bundled script:
CODEBLOCK0
Or pass an inventory URL:
CODEBLOCK1
Use --out-dir /tmp to control artifact location (default: /tmp).
Return format
Always return:
- 1. INLINECODE17
- INLINECODE18
- INLINECODE19 status and raw JSON
- INLINECODE20 and
PNG_Headshot output paths (or missing reason) - INLINECODE22 URL or INLINECODE23
Troubleshooting
- - If Goldsky returns no gotchi, verify
tokenId and Base context. - If batch returns hash-format
400, verify eye mappings and left/right wearable order. - If
availability.exists is false, rerun batch to trigger render and poll again. - If endpoint returns
404, verify production deployment state.
Aavegotchi 渲染器绕过
从代币数据和渲染器批量API渲染Gotchi资产。
输入
- - 接受tokenId或包含id=的库存URL。
- 默认目标为Base链(chainId=8453)。
输出
- - 返回派生的渲染器哈希值。
- 返回/api/renderer/batch的HTTP状态。
- 将原始批量JSON保存到磁盘。
- 在可用时将PNGFull和PNGHeadshot保存到磁盘。
- 返回GLB_3DModel的可用性及URL(如果存在)。
执行
- 1. 从直接输入或库存URL中提取tokenId。
- 查询Goldsky Base核心子图:
https://api.goldsky.com/api/public/project_cmh3flagm0001r4p25foufjtt/subgraphs/aavegotchi-core-base/prod/gn
- 3. 以渲染器格式派生哈希值:
<抵押品>-<眼形>-<眼色>-<身体>-<面部>-<眼睛>-<头部>-<左手>-<右手>-<宠物>
- 4. 调用POST https://www.aavegotchi.com/api/renderer/batch,参数为:
- - verify: true
- renderTypes: [PNGFull, PNGHeadshot, GLB_3DModel]
- 5. 下载proxyUrls.PNGFull和proxyUrls.PNGHeadshot。
- 返回哈希值、响应及已保存的工件路径。
命令
运行捆绑脚本:
bash
node scripts/render-gotchi-bypass.mjs --token-id 6741
或传入库存URL:
bash
node scripts/render-gotchi-bypass.mjs \
--inventory-url https://www.aavegotchi.com/u/0x.../inventory?itemType=aavegotchis&chainId=8453&id=6741
使用--out-dir /tmp控制工件位置(默认:/tmp)。
返回格式
始终返回:
- 1. tokenId
- hash
- /api/renderer/batch状态及原始JSON
- PNGFull和PNGHeadshot输出路径(或缺失原因)
- GLB_3DModel URL或availability.exists=false
故障排除
- - 如果Goldsky未返回gotchi,请验证tokenId和Base上下文。
- 如果批量返回哈希格式400,请验证眼睛映射及左右可穿戴物品顺序。
- 如果availability.exists为false,请重新运行批量以触发渲染并再次轮询。
- 如果端点返回404,请验证生产部署状态。