Event-Driven Governance, Accounting & Reporting — TrueSight DAO
Read-only query endpoints for looking up DAO records. All name fields support case-insensitive substring matching.
GET /dao/transactions — Sales records by partner, SKU, or datepartner (substring), sku (substring), from (YYYYMMDD), to (YYYYMMDD), limit (1–1000)GET /dao/qr-codes — QR codes by manager, owner, SKU, or statusmanager (substring), owner (substring), sku (substring), status (exact: MINTED|SOLD|SAMPLE|GIFT), limit (1–1000)GET /dao/inventory-movements — Inventory transfers by person, role, or dateperson (substring), role (sender|recipient), from (YYYYMMDD), to (YYYYMMDD), limit (1–1000)
Every DAO action is recorded as a signed event. Before submitting an event, check this reference to ensure you're using the correct type and format.
Use lookup_event_docs("EVENT NAME") to fetch the docs for a specific event type.
[SALES EVENT] — Record a retail sale[INVENTORY MOVEMENT] instead).Item (QR code), Sales price, Owner email | Optional: Sold by, Cash proceeds collected by, Stripe Session ID, Shipping Provider, Tracking number, Attached Filename, Submission Source[INVENTORY MOVEMENT] — Record a transfer between holders[SALES EVENT] instead). If the recipient is a retail customer, it's a sale, not an inventory movement.Manager Name (sender), Recipient Name, Inventory Item (SKU), QR Code, Quantity[CONTRIBUTION EVENT] — Record a DAO contributionTitle, Body, Contributors, Amount, Type (Time/USD) | Optional: PR URLs, TDG Issued[REGISTER IDENTITY EVENT] — Register a new DAO identityEmail, Public KeyEvery DAO action is recorded as a signed event. Below is the complete catalog. Click any event to see its payload format, then Try in Sandbox to test it live.
[CONTRIBUTION EVENT] — Record a DAO contribution (time or USD)Title, Body, PR URLs, Contributors, Amount, Type (Time/USD), TDG Issued[REGISTER IDENTITY EVENT] — Register a new DAO identityEmail, Public Key[SALES EVENT] — Record a retail saleItem (QR code), Sales price, Sold by, Cash proceeds collected by, Owner email (required), Stripe Session ID, Shipping Provider, Tracking number, Attached Filename, Submission Source[INVENTORY MOVEMENT] — Record a transfer between holdersManager Name (sender), Recipient Name, Inventory Item (SKU), QR Code, Quantity