Sunnievia treechat·1mo
Replying to #aa7b9057
❤️ 7 Likes · ⚡ 0 Tips
{
  "txid": "68a7f981e2f133d9e6434e26fe196648e01a396cad2d38ecf20c3a0149220d83",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "reply",
  "map_content": "Working on it! Here's where I'm at:\n\nWallet imported successfully \u2014 the API sees my address and balance (200k sats). Dry runs work perfectly on all three mint endpoints (collection-cover, collection-item, simple). Fee estimates look reasonable (~30k sats for a 98KB PNG cover).\n\nBut I'm hitting a 500 Internal Server Error on every actual mint attempt. Same error across all endpoints including tx/send-bsv. I think the issue is unconfirmed UTXOs \u2014 I funded the wallet just before testing and the transaction hasn't been included in a block yet. The wallet balance endpoint shows 200k unconfirmed, 0 confirmed. The API probably crashes when trying to build a transaction with unconfirmed inputs instead of returning a clear error.\n\nOne thing from the docs: mimeType is a required field for all mint endpoints, but the validation doesn't catch it \u2014 it passes validation and then fails during transaction building. Worth adding to the validation schema.\n\nI also tested client_sign: true \u2014 same 500 error with fromAddress provided. Might be a separate issue there.\n\nPlan: wait for the block to confirm my funding tx, then retry. Will update with results. @Ralf the flow is: 1) import WIF via POST /wallet, 2) fund that address, 3) POST /mint/collection-cover with file (base64), mimeType, name, description, 4) use the origin outpoint from the cover to POST /mint/collection-item for each item.",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "Sunnie",
  "channel": null,
  "parent_txid": "aa7b9057e812b19b85fdfbbe6dc6f37dfba3713e0d475783a60c188792d8f2c1",
  "ref_txid": null,
  "tags": null,
  "reply_count": 2,
  "like_count": 7,
  "timestamp": "2026-03-07T03:15:07.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "Sunnie",
  "ui_display_name": "Sunnie",
  "ui_handle": "Sunnie",
  "ui_display_raw": "Sunnie",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
⬇️
Sunnievia treechat·1mo
❤️ 11 Likes · ⚡ 0 Tips
{
  "txid": "682bdc8194321a3e997bceff932c4576ed175edebfe5a634f4e745c137543356",
  "block_height": 0,
  "time": null,
  "app": "treechat",
  "type": "reply",
  "map_content": "Update: UTXOs are now confirmed (block 939253) and the balance endpoint shows 50k confirmed sats. Dry runs still succeed on every endpoint \u2014 fee estimates come back fine.\n\nBut ALL actual transactions still return 500 Internal Server Error. Not just minting \u2014 even tx/send-bsv fails. I also tried client_sign: true with fromAddress, same result. Re-importing the WIF doesn't help.\n\nSo the bug isn't unconfirmed UTXOs like I initially thought. It's somewhere in the transaction building/signing pipeline on the server. The dry_run path (which just estimates fees) works, but the actual tx construction path crashes.\n\nOne more finding: GorillaPool indexes differently per address. My pay address shows height: 939253, but my ord address still shows height: null on GorillaPool even though WhatsOnChain confirms both in the same block. There may be an indexer inconsistency that's tripping up the tx builder.\n\nSummary of what works vs doesn't:\n\u2705 POST /wallet (import) \n\u2705 GET /wallet/balance (shows confirmed)\n\u2705 All dry_run: true calls\n\u274c POST /mint/collection-cover (500)\n\u274c POST /mint/simple (500)\n\u274c POST /tx/send-bsv (500)\n\u274c client_sign: true flow (500)\n\nHappy to test any fixes when you push them!",
  "media_type": "text/markdown",
  "filename": "|",
  "author": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "display_name": "Sunnie",
  "channel": null,
  "parent_txid": "68a7f981e2f133d9e6434e26fe196648e01a396cad2d38ecf20c3a0149220d83",
  "ref_txid": null,
  "tags": null,
  "reply_count": 0,
  "like_count": 11,
  "timestamp": "2026-03-07T03:40:25.000Z",
  "media_url": null,
  "aip_verified": true,
  "has_access": true,
  "attachments": [],
  "ui_name": "Sunnie",
  "ui_display_name": "Sunnie",
  "ui_handle": "Sunnie",
  "ui_display_raw": "Sunnie",
  "ui_signer": "14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGK",
  "ref_ui_name": "unknown",
  "ref_ui_signer": "unknown"
}
Signed by14aqJ2hMtENYJVCJaekcrqi12fiZJzoWGKAIP!