{"openapi":"3.0.1","info":{"title":"Truvian Game-Token Intelligence (Minds skill)","version":"1.0.0","description":"Live, specialist intelligence bought from Telegraph Protocol's ranked miners, with a spend cap, a receipt and a public signal for every answer, and fixed rules for every decision. Season II: answers are real, paid in test USDC on Telegraph's devnode."},"servers":[{"url":"https://truvian.xyz"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-Api-Key"}}},"security":[{"ApiKeyAuth":[]}],"paths":{"/api/platform/v1/token-intel":{"post":{"operationId":"token_intel","summary":"Digital-asset / game-token intelligence","description":"One token's profile for a trader, game studio or listing desk: the chain's own supply, decimals, upgradeability and owner (read at one block), Telegraph's holder count, USD price and supply (cross-checked against the chain), optional pool liquidity and news, the share of supply held by wallets you name, and a CLEAR / WATCH / RISK rating from fixed flags. Give `claims` (e.g. a whitepaper's \"total supply 3,000,000,000\") to have each judged TRUE / FALSE / UNVERIFIED. An address that is not a token is reported without buying anything.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["token"],"properties":{"chain":{"type":"string","description":"ethereum (default), base, arbitrum, optimism, polygon, bsc, ..."},"token":{"type":"string","description":"Token contract address 0x..."},"pool":{"type":"string","description":"Optional DEX pool address or name for liquidity"},"include_news":{"type":"boolean","description":"Also buy the latest news (one more answer)"},"wallets":{"type":"array","items":{"type":"string"},"description":"Up to 5 wallets (team, treasury, exchange) whose share of supply to read"},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","enum":["total_supply","holders_count","decimals","upgradeable"]},"value":{"type":"string"}}},"description":"Statements to judge, e.g. [{\"field\":\"total_supply\",\"value\":\"3000000000\"}]"},"max_usd":{"type":"number","description":"Per-call spend cap in USD for this call (each Telegraph answer is about $0.01; never above the key's own cap)"}}},"example":{"chain":"ethereum","token":"0x3845badAde8e6dFF049820680d1F14bD3903a5d0","claims":[{"field":"total_supply","value":"3000000000"}]}}}},"responses":{"200":{"description":"The tool envelope: summary, result, evidence (receipts and signals) and spend","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"tool":{"type":"string"},"summary":{"type":"string","description":"One line to show the user, citing evidence ids"},"result":{"type":"object","properties":{"rating":{"type":"string","enum":["CLEAR","WATCH","RISK","NOT_A_TOKEN"]},"chain":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"block":{"type":"string"},"symbol":{"type":"string"},"name":{"type":"string"},"decimals":{"type":"integer"},"totalSupply":{"type":"string"},"upgradeable":{"type":"boolean"},"owner":{"type":"string"},"source":{"type":"string"}}},"telegraph":{"type":"object","properties":{"totalSupply":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"holders":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"price":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"liquidity":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}},"news":{"type":"object","properties":{"answer":{"type":"object","description":"The answer's typed fields, as the node returned them","properties":{}},"usedEvidence":{"type":"string"},"recovery":{"type":"object","description":"Set when the first answer failed or lacked the scored field and a second miner was asked","properties":{"reason":{"type":"string"},"outcome":{"type":"string","enum":["recovered","still-missing","not-attempted"]},"detail":{"type":"string"}}},"error":{"type":"string"}}}}},"supplyCheck":{"type":"object","properties":{"status":{"type":"string"},"bps":{"type":"number"},"text":{"type":"string"}}},"marketCapUsd":{"type":"number"},"holdersCount":{"type":"number"},"priceUsd":{"type":"number"},"liquidityUsd":{"type":"number"},"walletShares":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"whole":{"type":"string"},"pctOfSupply":{"type":"number"}}}},"flags":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"level":{"type":"string"},"text":{"type":"string"}}}},"claims":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"},"claimed":{"type":"string"},"verdict":{"type":"string","enum":["TRUE","FALSE","UNVERIFIED"]},"basis":{"type":"string"},"detail":{"type":"string"},"telegraphOnly":{"type":"string"}}}},"news":{"type":"object","properties":{"brief":{"type":"string"},"answer":{"type":"string"},"sources":{"type":"array","items":{"type":"string"}}}},"rule":{"type":"string"}}},"evidence":{"type":"array","items":{"type":"object","description":"One Telegraph answer bought: who answered, what it cost and the public proof","properties":{"id":{"type":"string","description":"Evidence id (E1, E2, ...): cite it"},"tool":{"type":"string"},"intent":{"type":"string"},"mode":{"type":"string","enum":["routed","pinned"]},"purpose":{"type":"string","enum":["answer","second-opinion"]},"ok":{"type":"boolean"},"fields":{"type":"object","properties":{}},"minerId":{"type":"string"},"minerName":{"type":"string"},"servedRank":{"type":"integer"},"costUsd":{"type":"number"},"signalHash":{"type":"string"},"signalUrl":{"type":"string","description":"The node's public record of this answer"},"receipt":{"type":"object","properties":{"hash":{"type":"string"},"payer":{"type":"string"},"minerRegistration":{"type":"string"},"amountUsd":{"type":"number"},"epoch":{"type":"integer"},"rail":{"type":"string"},"settlement":{"type":"string"}}},"latencyMs":{"type":"integer"},"error":{"type":"string"},"at":{"type":"string"}}},"description":"Every Telegraph answer this call bought, with its receipt and signal"},"spend":{"type":"object","properties":{"callUsd":{"type":"number"},"sessionSpentUsd":{"type":"number"},"sessionCapUsd":{"type":"number"},"remainingUsd":{"type":"number"},"refusals":{"type":"array","items":{"type":"string"}}}},"network":{"type":"string"}}}}}},"400":{"description":"Invalid input","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"401":{"description":"Missing or unknown API key","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"429":{"description":"The key's daily spend cap is reached","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}},"504":{"description":"No answer within the deadline","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"error":{"type":"string"},"message":{"type":"string"}}}}}}}}}}}