{"components":{"schemas":{"ActivityBucket":{"properties":{"bucket":{"format":"date-time","type":"string"},"events":{"type":"integer"},"ticks":{"type":"integer"},"transactions":{"type":"integer"},"volume":{"format":"int64","type":"integer"}},"required":["bucket","transactions","events","ticks"],"type":"object"},"ActivityBucketPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/ActivityBucket"},"type":"array"},"meta":{"type":"object"}},"required":["data","meta"],"type":"object"},"Asset":{"properties":{"decimals":{"type":"integer"},"issued_tick":{"type":"integer"},"issuer":{"type":"string"},"log_id":{"format":"int64","type":"integer"},"managing_contract":{"format":"int64","type":"integer"},"name":{"type":"string"},"shares":{"format":"int64","type":"integer"},"timestamp":{"format":"date-time","type":"string"},"unit":{"type":"string"}},"type":"object"},"AssetHolder":{"properties":{"identity":{"type":"string"},"shares":{"format":"int64","type":"integer"}},"required":["identity","shares"],"type":"object"},"AssetPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Asset"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"AssetTransfer":{"properties":{"epoch":{"type":"integer"},"from":{"type":"string"},"hash":{"type":"string"},"issuer":{"type":"string"},"kind":{"enum":["ownership","possession"],"type":"string"},"log_id":{"format":"int64","type":"integer"},"managing_contract":{"format":"int64","type":"integer"},"name":{"type":"string"},"shares":{"format":"int64","type":"integer"},"tick":{"type":"integer"},"timestamp":{"format":"date-time","type":"string"},"to":{"type":"string"},"tx_index":{"type":"integer"}},"required":["epoch","tick","log_id","kind","issuer","name","from","to","shares"],"type":"object"},"AssetTransferPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AssetTransfer"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"BackfillStatus":{"description":"Current-epoch coverage. Coverage compares ticks stored in the epoch with ticks elapsed so far.","properties":{"available":{"description":"False when the peer head is unavailable.","type":"boolean"},"complete":{"description":"True when the first indexed tick is at or before the epoch initial tick.","type":"boolean"},"coverage":{"description":"indexed_ticks divided by epoch_ticks, from 0 to 1.","type":["number","null"]},"coverage_percent":{"type":["number","null"]},"epoch_ticks":{"description":"Ticks elapsed in the current epoch so far.","type":["integer","null"]},"first_indexed_tick":{"type":["integer","null"]},"indexed_ticks":{"description":"Ticks stored inside the current epoch, bounded by the peer head.","type":["integer","null"]},"initial_tick":{"type":"integer"},"last_indexed_tick":{"type":["integer","null"]},"missing_before":{"description":"Ticks between the epoch initial tick and the first indexed tick.","type":["integer","null"]},"remaining_ticks":{"type":["integer","null"]}},"type":"object"},"BatchRequest":{"properties":{"hashes":{"items":{"type":"string"},"maxItems":100,"type":"array"}},"required":["hashes"],"type":"object"},"BroadcastRequest":{"properties":{"direct":{"default":false,"description":"Bypass internal tracking.","type":"boolean"},"dry_run":{"default":false,"description":"Check without broadcasting.","type":"boolean"},"peers":{"description":"Peer fan-out.","maximum":8,"minimum":1,"type":"integer"},"raw":{"description":"Signed transaction hex.","type":"string"},"webhook_secret":{"description":"Webhook signing secret.","type":"string"},"webhook_url":{"description":"Optional webhook for this transaction.","type":"string"}},"required":["raw"],"type":"object"},"BroadcastResult":{"properties":{"data":{"properties":{"checks":{"items":{"$ref":"#/components/schemas/TransactionValidationCheck"},"type":"array"},"dry_run":{"description":"Dry run only.","type":"boolean"},"head_tick":{"description":"Indexed head used for target tick validation.","type":["integer","null"]},"peers":{"description":"One entry per peer.","items":{"properties":{"error":{"type":["string","null"]},"latency_ms":{"type":"integer"},"peer":{"type":"string"},"sent":{"type":"boolean"}},"type":"object"},"type":"array"},"sent":{"description":"Peers that accepted the packet.","type":"integer"},"target_peers":{"description":"Dry run only.","type":"integer"},"targeted":{"description":"Peers attempted.","type":"integer"},"transaction":{"properties":{"amount":{"format":"int64","type":"integer"},"destination":{"type":"string"},"hash":{"type":"string"},"input_bytes":{"type":"integer"},"input_data":{"type":"string"},"input_type":{"type":"integer"},"source":{"type":"string"},"target_tick":{"type":"integer"},"tick":{"type":"integer"},"total_bytes":{"type":"integer"}},"type":"object"},"valid":{"description":"Dry run only.","type":"boolean"},"warnings":{"items":{"type":"string"},"type":"array"}},"type":"object"},"meta":{"type":"object"}},"required":["data"],"type":"object"},"Computor":{"properties":{"computor_index":{"type":"integer"},"epoch":{"type":"integer"},"identity":{"description":"Canonical uppercase base-26 identity","type":"string"},"public_key":{"description":"0x-prefixed hex public key","type":"string"}},"required":["epoch","computor_index","public_key","identity"],"type":"object"},"ContractQueryRequest":{"properties":{"input":{"description":"Hex-encoded input, at most MAX_INPUT_SIZE bytes","type":"string"},"input_type":{"default":0,"minimum":0,"type":"integer"}},"type":"object"},"ContractQueryResult":{"properties":{"bytes":{"type":"integer"},"contract_index":{"type":"integer"},"input_type":{"type":"integer"},"output":{"description":"Hex-encoded output bytes","type":"string"}},"required":["contract_index","input_type","output","bytes"],"type":"object"},"Counterparty":{"properties":{"first_tick":{"type":"integer"},"identity":{"type":"string"},"incoming_amount":{"format":"int64","type":"integer"},"last_tick":{"type":"integer"},"net_amount":{"format":"int64","type":"integer"},"outgoing_amount":{"format":"int64","type":"integer"},"transaction_count":{"format":"int64","type":"integer"}},"required":["identity","incoming_amount","outgoing_amount","net_amount","transaction_count"],"type":"object"},"Epoch":{"properties":{"closed":{"type":"boolean"},"epoch":{"type":"integer"},"event_count":{"type":"integer"},"first_tick":{"type":"integer"},"first_timestamp":{"format":"date-time","type":"string"},"initial_tick":{"description":"Observed first tick of the epoch; falls back to the earliest indexed tick","type":"integer"},"last_tick":{"type":"integer"},"last_timestamp":{"format":"date-time","type":"string"},"tick_count":{"type":"integer"},"transaction_count":{"type":"integer"}},"type":"object"},"EpochPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Epoch"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"Event":{"properties":{"body":{"type":"object"},"epoch":{"type":"integer"},"log_digest":{"format":"int64","type":"integer"},"log_id":{"format":"int64","type":"integer"},"log_type":{"type":"integer"},"tick":{"type":"integer"},"timestamp":{"format":"date-time","type":"string"},"tx_hash":{"type":"string"},"tx_index":{"type":"integer"},"type_name":{"type":"string"}},"type":"object"},"EventPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Event"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"EventTypeCount":{"properties":{"count":{"format":"int64","type":"integer"},"type":{"type":"string"}},"required":["type","count"],"type":"object"},"EventTypePage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/EventTypeCount"},"type":"array"},"meta":{"type":"object"}},"required":["data","meta"],"type":"object"},"FlowBucket":{"properties":{"bucket":{"format":"date-time","type":"string"},"counterparty_count":{"format":"int64","type":"integer"},"incoming_amount":{"format":"int64","type":"integer"},"net_amount":{"format":"int64","type":"integer"},"outgoing_amount":{"format":"int64","type":"integer"},"transaction_count":{"format":"int64","type":"integer"}},"required":["bucket","incoming_amount","outgoing_amount","net_amount","transaction_count"],"type":"object"},"Identity":{"properties":{"balance":{"format":"int64","type":"integer"},"first_seen_tick":{"type":"integer"},"identity":{"type":"string"},"incoming_amount":{"format":"int64","type":"integer"},"last_seen_tick":{"type":"integer"},"outgoing_amount":{"format":"int64","type":"integer"},"public_key":{"type":"string"},"transfer_count":{"format":"int64","type":"integer"}},"type":"object"},"IdentityActivityItem":{"properties":{"event":{"$ref":"#/components/schemas/Event"},"kind":{"enum":["transaction","event"],"type":"string"},"tick":{"type":"integer"},"timestamp":{"format":"date-time","type":"string"},"transaction":{"$ref":"#/components/schemas/Transaction"}},"required":["kind"],"type":"object"},"IdentityActivityPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/IdentityActivityItem"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"IdentityPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Identity"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"IngestStatus":{"description":"Indexer throughput measured between status requests.","properties":{"eta_seconds":{"description":"Lag divided by ingest rate.","type":["integer","null"]},"indexed_ticks":{"description":"All ticks currently stored, across epochs.","type":["integer","null"]},"lag_ticks":{"description":"Network head minus last indexed tick.","type":["integer","null"]},"last_indexed_tick":{"type":["integer","null"]},"ticks_per_second":{"description":"Ticks persisted per second since the previous status request. Null until a second sample exists.","type":["number","null"]}},"type":"object"},"IssuedAsset":{"properties":{"decimals":{"type":"integer"},"issuer":{"type":"string"},"name":{"type":"string"},"tick":{"type":"integer"},"unit":{"type":"string"},"universe_index":{"type":"integer"}},"required":["issuer","name","universe_index"],"type":"object"},"LiveIdentity":{"properties":{"balance":{"format":"int64","type":"integer"},"identity":{"type":"string"},"incoming_amount":{"format":"int64","type":"integer"},"incoming_transfers":{"type":"integer"},"latest_incoming_tick":{"type":"integer"},"latest_outgoing_tick":{"type":"integer"},"outgoing_amount":{"format":"int64","type":"integer"},"outgoing_transfers":{"type":"integer"},"public_key":{"type":"string"},"spectrum_index":{"type":"integer"},"tick":{"type":"integer"}},"required":["identity","public_key","spectrum_index","tick"],"type":"object"},"MarketSnapshot":{"properties":{"change_24h_percent":{"type":["number","null"]},"coin_id":{"type":"string"},"fetched_at":{"format":"date-time","type":"string"},"last_updated_at":{"format":"date-time","type":["string","null"]},"market_cap_usd":{"type":["number","null"]},"price_e8":{"format":"int64","type":"integer"},"price_usd":{"type":"number"},"source":{"type":"string"},"sources":{"items":{"type":"object"},"type":"array"},"volume_24h_usd":{"type":["number","null"]}},"required":["source","coin_id","price_usd","price_e8","fetched_at"],"type":"object"},"NetworkStats":{"properties":{"epochs":{"type":"integer"},"events":{"type":"integer"},"head":{"oneOf":[{"$ref":"#/components/schemas/Tick"},{"type":"null"}]},"identities":{"type":"integer"},"ingest":{"type":"object"},"latest_timestamp":{"format":"date-time","type":["string","null"]},"ticks":{"type":"integer"},"transactions":{"type":"integer"}},"type":"object"},"NetworkStatus":{"description":"Peer head sampled directly from a Qubic peer with a short timeout.","properties":{"epoch":{"type":["integer","null"]},"error":{"type":["string","null"]},"head":{"type":["integer","null"]},"initial_tick":{"description":"First tick of the peer's epoch.","type":["integer","null"]},"reachable":{"type":"boolean"},"tick_duration":{"description":"Tick duration reported by the peer, in milliseconds when available.","type":["integer","null"]},"ticks_per_second":{"description":"Observed peer head advance since the previous status request.","type":["number","null"]}},"type":"object"},"NetworkSystem":{"properties":{"computor_packet_signature":{"type":"integer"},"dust_threshold":{"type":"integer"},"entity_count":{"type":"integer"},"epoch":{"type":"integer"},"epoch_age_ticks":{"type":"integer"},"indexed":{"type":["object","null"]},"initial_tick":{"type":"integer"},"latest_created_tick":{"type":"integer"},"random_mining_seed":{"type":"string"},"reserves":{"items":{"type":"integer"},"type":"array"},"solution_additional_threshold":{"type":"integer"},"solution_threshold":{"type":"integer"},"started_at":{"description":"Earliest trustworthy indexed epoch timestamp, or null when no epoch tick is retained.","format":"date-time","type":["string","null"]},"target_tick_vote_signature":{"type":"integer"},"tick":{"type":"integer"},"total_spectrum_amount":{"type":"integer"},"transaction_count":{"type":"integer"},"version":{"type":"integer"}},"type":"object"},"OwnedAsset":{"properties":{"decimals":{"type":"integer"},"issuance":{"type":"object"},"issuer":{"type":"string"},"managing_contract_index":{"type":"integer"},"name":{"type":"string"},"owner":{"type":"string"},"ownership_index":{"type":"integer"},"shares":{"format":"int64","type":"integer"},"tick":{"type":"integer"},"unit":{"type":"string"},"universe_index":{"type":"integer"}},"required":["owner","issuer","name","shares"],"type":"object"},"PageMeta":{"properties":{"count":{"type":"integer"},"has_more":{"type":"boolean"},"limit":{"type":"integer"},"next_cursor":{"type":["string","null"]},"next_offset":{"type":["integer","null"]},"offset":{"type":"integer"}},"type":"object"},"PossessedAsset":{"properties":{"decimals":{"type":"integer"},"issuer":{"type":"string"},"managing_contract_index":{"type":"integer"},"name":{"type":"string"},"owner":{"type":"string"},"ownership":{"type":"object"},"possession_index":{"type":"integer"},"possessor":{"type":"string"},"shares":{"format":"int64","type":"integer"},"tick":{"type":"integer"},"unit":{"type":"string"},"universe_index":{"type":"integer"}},"required":["possessor","issuer","name","shares"],"type":"object"},"PricePoint":{"properties":{"append_tick":{"description":"On-chain rows only","type":"integer"},"bound":{"description":"On-chain rows only","type":"boolean"},"epoch":{"description":"On-chain rows only","type":"integer"},"filled":{"description":"True when the core filled a missing hour from the previous price; on-chain rows only","type":"boolean"},"flags":{"type":"integer"},"hour":{"description":"Hours since 2022-04-13T12:00:00Z","type":"integer"},"observed_at":{"format":"date-time","type":"string"},"onchain":{"description":"False for external exchange fallback rows; on-chain-only fields are omitted when false","type":"boolean"},"price_e8":{"description":"QUBIC/USDT price scaled by 1e8 (USDT per QUBIC)","format":"int64","type":"integer"},"price_usdt":{"description":"USDT per QUBIC rounded to eight decimals","type":"number"},"series_digest":{"description":"Hex K12 digest of the series state; on-chain rows only","type":"string"},"source":{"description":"0 Price oracle interface, 29 QPayhub fallback, 1000 external exchange consensus","type":"integer"},"source_name":{"description":"price_oracle, qpayhub, external_market, or unknown","type":"string"},"source_tick":{"description":"On-chain rows only","type":"integer"},"stale":{"description":"True when the source marked the value stale","type":"boolean"},"synced":{"description":"On-chain rows only","type":"boolean"},"timestamp":{"format":"date-time","type":"string"}},"required":["hour","timestamp","price_e8","price_usdt"],"type":"object"},"PricePointPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/PricePoint"},"type":"array"},"meta":{"type":"object"}},"required":["data","meta"],"type":"object"},"PriceSnapshot":{"properties":{"append_tick":{"description":"On-chain snapshots only","type":"integer"},"bound":{"description":"On-chain snapshots only","type":"boolean"},"epoch":{"description":"On-chain snapshots only","type":"integer"},"hour":{"type":["integer","null"]},"latest":{"oneOf":[{"$ref":"#/components/schemas/PricePoint"},{"type":"null"}]},"observed_at":{"format":"date-time","type":"string"},"onchain":{"description":"False when the snapshot is the external exchange fallback","type":"boolean"},"points":{"description":"Distinct stored hours","type":"integer"},"price_e8":{"format":"int64","type":["integer","null"]},"price_usdt":{"type":["number","null"]},"series_digest":{"description":"On-chain snapshots only","type":"string"},"source":{"description":"0 Price oracle interface, 29 QPayhub fallback, 1000 external exchange consensus","type":"integer"},"source_name":{"type":"string"},"source_tick":{"description":"On-chain snapshots only","type":"integer"},"stale":{"description":"True when the source marked the value stale","type":"boolean"},"synced":{"description":"On-chain snapshots only","type":"boolean"},"timestamp":{"format":"date-time","type":["string","null"]}},"required":["points","source"],"type":"object"},"Problem":{"properties":{"code":{"enum":["bad_request","invalid_identity","invalid_transaction_hash","invalid_target_tick","invalid_cursor","not_found","conflict","tracking_full","source_tracking_full","forbidden","unavailable","internal_error","rate_limited"],"type":"string"},"detail":{"type":"string"},"status":{"type":"integer"},"title":{"type":"string"},"type":{"default":"about:blank","type":"string"}},"required":["type","title","status","code","detail"],"type":"object"},"QuorumEvidence":{"properties":{"aligned_votes":{"type":"integer"},"epoch":{"type":"integer"},"fetched_votes":{"type":"integer"},"quorum_digest":{"description":"Lowercase hex K12 digest agreed by the quorum","type":"string"},"required_votes":{"type":"integer"},"tick":{"type":"integer"},"tick_data_digest":{"description":"Lowercase hex K12 digest of the persisted tick data","type":"string"},"timestamp":{"format":"date-time","type":"string"},"unique_votes":{"type":"integer"},"verification":{"enum":["quorum","data","state"],"type":"string"},"verified_votes":{"type":"integer"},"warning_count":{"type":"integer"},"warnings":{"description":"Serialized warning list","type":"string"}},"required":["epoch","tick","quorum_digest","tick_data_digest","verification","timestamp"],"type":"object"},"RevenueComputor":{"properties":{"computor_index":{"type":"integer"},"doge_score":{"type":"integer"},"estimated_reward":{"type":"integer"},"identity":{"type":["string","null"]},"oracle_factor":{"type":"integer"},"oracle_score":{"type":"integer"},"public_key":{"type":["string","null"]},"share":{"type":"number"},"tx_factor":{"type":"integer"},"tx_score":{"type":"integer"}},"type":"object"},"SearchResult":{"properties":{"type":{"enum":["tick","epoch","transaction","identity","asset"],"type":"string"},"value":{"type":"object"}},"required":["type","value"],"type":"object"},"SearchResults":{"properties":{"data":{"items":{"$ref":"#/components/schemas/SearchResult"},"type":"array"},"meta":{"type":"object"}},"required":["data","meta"],"type":"object"},"Status":{"properties":{"backfill":{"$ref":"#/components/schemas/BackfillStatus"},"head":{"oneOf":[{"$ref":"#/components/schemas/Tick"},{"type":"null"}]},"ingest":{"description":"Persisted ingest cursor: last_indexed_tick, epoch, verification, updated_at.","type":"object"},"ingest_status":{"$ref":"#/components/schemas/IngestStatus"},"network":{"$ref":"#/components/schemas/NetworkStatus"},"stats":{"description":"Counts and ingest cursor returned by /v1/network.","type":"object"}},"type":"object"},"Tick":{"properties":{"computor_index":{"type":"integer"},"epoch":{"type":"integer"},"event_count":{"type":"integer"},"tick":{"type":"integer"},"timestamp":{"format":"date-time","type":"string"},"transaction_count":{"type":"integer"},"verification":{"enum":["quorum","data","state"],"type":"string"}},"type":"object"},"TickPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Tick"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"TickTransactionStatus":{"properties":{"current_tick":{"type":"integer"},"tick":{"type":"integer"},"transactions":{"items":{"properties":{"hash":{"type":"string"},"money_flew":{"type":"boolean"}},"required":["hash","money_flew"],"type":"object"},"type":"array"}},"required":["tick","current_tick","transactions"],"type":"object"},"TrackedTransaction":{"properties":{"amount":{"format":"int64","type":"integer"},"attempts":{"description":"Attempts so far.","type":"integer"},"broadcast_at":{"format":"date-time","type":["string","null"]},"broadcast_peers":{"description":"Peers that accepted the packet.","type":"integer"},"confirmed_at":{"format":"date-time","type":["string","null"]},"confirmed_tick":{"description":"Indexed confirmation tick.","type":["integer","null"]},"created_at":{"format":"date-time","type":"string"},"destination":{"description":"Destination identity.","type":"string"},"error":{"description":"Last error.","type":["string","null"]},"expiry_tick":{"description":"The tracker marks the transaction expired once the chain head passes this tick.","type":"integer"},"hash":{"description":"Transaction hash.","type":"string"},"peers":{"description":"Requested peers.","type":"integer"},"raw":{"description":"Signed transaction hex.","type":"string"},"source":{"description":"Source identity.","type":"string"},"status":{"enum":["queued","broadcast","confirmed","expired","failed"],"type":"string"},"target_tick":{"description":"Scheduled execution tick.","type":"integer"},"tick":{"description":"Target tick.","type":"integer"},"updated_at":{"format":"date-time","type":"string"}},"required":["hash","source","destination","amount","tick","status","attempts","created_at","updated_at"],"type":"object"},"Transaction":{"properties":{"amount":{"format":"int64","type":"integer"},"destination":{"type":"string"},"epoch":{"type":"integer"},"hash":{"type":"string"},"input_data":{"type":"string"},"input_type":{"type":"integer"},"source":{"type":"string"},"status":{"type":"string"},"target_tick":{"description":"Scheduled execution tick.","type":"integer"},"tick":{"type":"integer"},"timestamp":{"format":"date-time","type":"string"},"tx_index":{"type":"integer"}},"type":"object"},"TransactionEffect":{"properties":{"amount":{"format":"int64","type":"integer"},"contract_index":{"type":"integer"},"data":{"type":"string"},"from":{"type":"string"},"issuer":{"type":"string"},"kind":{"enum":["qu_transfer","asset_ownership_change","asset_possession_change","burning","contract_error","contract_warning","contract_information","contract_debug","custom_message"],"type":"string"},"log_id":{"format":"int64","type":"integer"},"managing_contract":{"format":"int64","type":"integer"},"message_type":{"type":"integer"},"name":{"type":"string"},"op_code":{"type":"string"},"shares":{"format":"int64","type":"integer"},"tick":{"type":"integer"},"to":{"type":"string"},"tx_hash":{"type":"string"}},"required":["kind","tick","log_id"],"type":"object"},"TransactionEffects":{"properties":{"effects":{"items":{"$ref":"#/components/schemas/TransactionEffect"},"type":"array"},"events":{"items":{"$ref":"#/components/schemas/Event"},"type":"array"},"summary":{"properties":{"asset_ownership_change_count":{"type":"integer"},"asset_possession_change_count":{"type":"integer"},"burn_count":{"type":"integer"},"contract_error_count":{"type":"integer"},"custom_message_count":{"type":"integer"},"event_count":{"type":"integer"},"qu_transfer_amount":{"format":"int64","type":"integer"},"qu_transfer_count":{"type":"integer"}},"type":"object"},"tick":{"oneOf":[{"$ref":"#/components/schemas/Tick"},{"type":"null"}]},"transaction":{"$ref":"#/components/schemas/Transaction"}},"required":["transaction","events","effects","summary"],"type":"object"},"TransactionNetworkStatus":{"properties":{"amount":{"format":"int64","type":"integer"},"confirmations":{"type":["integer","null"]},"confirmed":{"type":"boolean"},"current_tick":{"type":["integer","null"]},"destination":{"type":"string"},"execution":{"enum":["transferred","no_effect","unknown"],"type":"string"},"hash":{"type":"string"},"input_data":{"type":"string"},"input_type":{"type":"integer"},"money_flew":{"type":["boolean","null"]},"source":{"type":"string"},"tick":{"type":"integer"}},"required":["hash","confirmed","execution"],"type":"object"},"TransactionPage":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"},"meta":{"$ref":"#/components/schemas/PageMeta"}},"required":["data","meta"],"type":"object"},"TransactionValidation":{"properties":{"data":{"properties":{"amount":{"format":"int64","type":"integer"},"checks":{"items":{"$ref":"#/components/schemas/TransactionValidationCheck"},"type":"array"},"destination":{"type":"string"},"hash":{"type":"string"},"head_tick":{"type":["integer","null"]},"input_bytes":{"type":"integer"},"input_data":{"type":"string"},"input_type":{"type":"integer"},"source":{"type":"string"},"target_tick":{"type":"integer"},"tick":{"type":"integer"},"total_bytes":{"type":"integer"},"valid":{"type":"boolean"},"warnings":{"items":{"type":"string"},"type":"array"}},"required":["valid","hash","checks"],"type":"object"},"meta":{"type":"object"}},"required":["data"],"type":"object"},"TransactionValidationCheck":{"properties":{"detail":{"type":"string"},"name":{"enum":["amount","input_size","encoding","signature","target_tick"],"type":"string"},"passed":{"type":"boolean"}},"required":["name","passed"],"type":"object"},"ValidateRequest":{"properties":{"raw":{"description":"Signed transaction hex.","type":"string"}},"required":["raw"],"type":"object"},"WalletAssets":{"properties":{"identity":{"type":"string"},"issued":{"items":{"$ref":"#/components/schemas/IssuedAsset"},"type":"array"},"owned":{"items":{"$ref":"#/components/schemas/OwnedAsset"},"type":"array"},"possessed":{"items":{"$ref":"#/components/schemas/PossessedAsset"},"type":"array"}},"type":"object"},"WalletEntity":{"properties":{"balance":{"format":"int64","type":"integer"},"incoming_amount":{"format":"int64","type":"integer"},"incoming_transfers":{"type":"integer"},"latest_incoming_tick":{"type":"integer"},"latest_outgoing_tick":{"type":"integer"},"outgoing_amount":{"format":"int64","type":"integer"},"outgoing_transfers":{"type":"integer"},"public_key":{"type":"string"},"spectrum_index":{"type":"integer"},"tick":{"type":"integer"}},"type":"object"},"WalletOverview":{"properties":{"assets":{"$ref":"#/components/schemas/WalletAssets"},"entity":{"$ref":"#/components/schemas/WalletEntity"},"identity":{"type":"string"},"public_key":{"type":"string"},"recent":{"items":{"$ref":"#/components/schemas/Transaction"},"type":"array"}},"required":["identity","assets"],"type":"object"},"WalletSnapshot":{"properties":{"assets":{"$ref":"#/components/schemas/WalletAssets"},"counts":{"type":"object"},"entity":{"$ref":"#/components/schemas/WalletEntity"},"epoch":{"type":["integer","null"]},"identity":{"type":"string"},"peer_tick":{"type":"integer"},"public_key":{"type":"string"}},"required":["identity","assets"],"type":"object"},"Webhook":{"properties":{"active":{"type":"boolean"},"created_at":{"format":"date-time","type":"string"},"events":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"identity":{"description":"Empty matches all identities.","type":"string"},"transaction_hashes":{"items":{"type":"string"},"type":"array"},"updated_at":{"format":"date-time","type":"string"},"url_hint":{"description":"Scheme and host only; the path and query are redacted.","type":"string"}},"required":["id","url_hint","active","created_at"],"type":"object"},"WebhookDelivery":{"properties":{"attempt":{"description":"0 before claim, 1 after the single attempt.","type":"integer"},"created_at":{"format":"date-time","type":"string"},"error":{"type":["string","null"]},"event":{"enum":["transaction.queued","transaction.broadcast","transaction.confirmed","transaction.expired","transaction.failed"],"type":"string"},"id":{"type":"string"},"next_attempt_at":{"description":"Null after an outcome. A claimed row briefly carries the claim time.","format":"date-time","type":["string","null"]},"payload":{"description":"Exact JSON body.","type":"string"},"response_status":{"description":"Receiver HTTP status.","type":["integer","null"]},"status":{"enum":["pending","sending","delivered","failed"],"type":"string"},"transaction_hash":{"type":"string"},"webhook_id":{"type":"string"}},"required":["id","webhook_id","event","attempt","status","created_at"],"type":"object"},"WebhookRegistration":{"properties":{"events":{"description":"Events to deliver. Empty means all.","items":{"enum":["transaction.queued","transaction.broadcast","transaction.confirmed","transaction.expired","transaction.failed"],"type":"string"},"type":"array"},"identity":{"description":"Source identity to match. Empty means all.","type":"string"},"secret":{"description":"HMAC signing key.","minLength":16,"type":"string"},"transaction_hashes":{"description":"Hashes to match. Empty means all.","items":{"type":"string"},"type":"array"},"url":{"description":"Delivery URL.","format":"uri","type":"string"}},"required":["url","secret"],"type":"object"}}},"info":{"description":"Glyph indexes Qubic directly from peers and verifies quorum evidence.\n\n- `/v1` reads persisted, verified history.\n- `POST /v1/transactions` submits signed bytes and tracks them internally.\n- Signed webhooks report terminal transaction state; a broadcast is not confirmation.\n- `/v1/network` reads live peer state such as system info, revenue, and oracles.\n- `/v1/live` exposes raw peer operations.\n- JSON responses use `data` and `meta`; errors use RFC 9457 problem documents.\n\nAmounts are integer QU. Identities are uppercase base-26; hashes are lowercase base-26.","summary":"Verified Qubic chain data.","title":"Glyph API","version":"0.6.0","x-logo":{"altText":"Glyph","url":"/logo.png"}},"openapi":"3.1.0","paths":{"/healthz":{"get":{"description":"Process liveness.","operationId":"getHealth","responses":{"200":{"description":"Process is alive"}},"summary":"Health check","tags":["Status"]}},"/status":{"get":{"description":"HTML status page.","operationId":"getStatusPage","responses":{"200":{"content":{"text/html":{"schema":{"type":"string"}}},"description":"HTML dashboard"}},"summary":"Operations dashboard","tags":["Status"]}},"/v1/analytics/activity":{"get":{"description":"Bucketed counts.","operationId":"getActivity","parameters":[{"description":"Bucket width in seconds","in":"query","name":"interval","schema":{"default":3600,"maximum":86400,"minimum":1,"type":"integer"}},{"in":"query","name":"limit","schema":{"default":24,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityBucketPage"}}},"description":"Activity buckets, newest first"}},"summary":"Get activity","tags":["Analytics"]}},"/v1/analytics/event-types":{"get":{"description":"Counts by type.","operationId":"listEventTypes","parameters":[{"in":"query","name":"limit","schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventTypePage"}}},"description":"Event type counts, highest first"}},"summary":"Get event types","tags":["Analytics"]}},"/v1/analytics/top-identities":{"get":{"description":"By transfer count.","operationId":"listTopIdentities","parameters":[{"in":"query","name":"limit","schema":{"default":25,"maximum":200,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityPage"}}},"description":"Ranked identities"}},"summary":"List top identities","tags":["Analytics"]}},"/v1/assets":{"get":{"description":"Newest issuance first.","operationId":"listAssets","parameters":[{"in":"query","name":"issuer","schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetPage"}}},"description":"Paginated assets"},"400":{"description":"Invalid issuer or cursor"}},"summary":"List assets","tags":["Assets"]}},"/v1/assets/{issuer}/{name}":{"get":{"description":"By issuer and name.","operationId":"getAsset","parameters":[{"description":"Issuer identity.","in":"path","name":"issuer","required":true,"schema":{"type":"string"}},{"description":"Asset name, 1-7 uppercase alphanumeric characters.","in":"path","name":"name","required":true,"schema":{"maxLength":7,"minLength":1,"pattern":"^[A-Z0-9]+$","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Asset"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Asset metadata"},"400":{"description":"Invalid issuer"},"404":{"description":"Asset not indexed"}},"summary":"Get asset","tags":["Assets"]}},"/v1/assets/{issuer}/{name}/holders":{"get":{"description":"Peer ownership snapshot, sorted by shares.","operationId":"listAssetHolders","parameters":[{"description":"Issuer identity.","in":"path","name":"issuer","required":true,"schema":{"type":"string"}},{"description":"Asset name, 1-7 uppercase alphanumeric characters.","in":"path","name":"name","required":true,"schema":{"maxLength":7,"minLength":1,"pattern":"^[A-Z0-9]+$","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"maximum":1000,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/AssetHolder"},"type":"array"},"meta":{"type":"object"}},"type":"object"}}},"description":"Holder snapshot; an empty list is valid"},"400":{"description":"Invalid issuer, asset name, or limit"},"503":{"description":"No peer available or asset lookup failed"}},"summary":"List asset holders","tags":["Assets"]}},"/v1/assets/{issuer}/{name}/transfers":{"get":{"description":"Ownership and possession changes.","operationId":"listAssetTransfers","parameters":[{"description":"Issuer identity.","in":"path","name":"issuer","required":true,"schema":{"type":"string"}},{"description":"Asset name, 1-7 uppercase alphanumeric characters.","in":"path","name":"name","required":true,"schema":{"maxLength":7,"minLength":1,"pattern":"^[A-Z0-9]+$","type":"string"}},{"in":"query","name":"kind","schema":{"default":"all","enum":["all","ownership","possession"],"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetTransferPage"}}},"description":"Paginated transfer events"},"400":{"description":"Invalid issuer, asset name, kind, or cursor"}},"summary":"List asset transfers","tags":["Assets"]}},"/v1/epochs":{"get":{"description":"Newest first.","operationId":"listEpochs","parameters":[{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EpochPage"}}},"description":"Paginated epochs, newest first"}},"summary":"List epochs","tags":["Epochs"]}},"/v1/epochs/{epoch}":{"get":{"description":"One epoch.","operationId":"getEpoch","parameters":[{"description":"Epoch number.","in":"path","name":"epoch","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Epoch"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Epoch summary"},"404":{"description":"Epoch not indexed"}},"summary":"Get epoch","tags":["Epochs"]}},"/v1/epochs/{epoch}/computors":{"get":{"description":"Computor set ordered by index.","operationId":"listEpochComputors","parameters":[{"description":"Epoch number.","in":"path","name":"epoch","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Computor"},"type":"array"},"meta":{"type":"object"}},"type":"object"}}},"description":"Computor list"},"404":{"description":"No computors indexed for the epoch"}},"summary":"List computors","tags":["Epochs"]}},"/v1/events":{"get":{"description":"Newest first, filterable by type.","operationId":"listEvents","parameters":[{"in":"query","name":"epoch","schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"tick","schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"type","schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}},"description":"Paginated events"},"400":{"description":"Invalid cursor"}},"summary":"List events","tags":["Events"]}},"/v1/identities":{"get":{"description":"Most recently active first.","operationId":"listIdentities","parameters":[{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityPage"}}},"description":"Paginated identities, most recently active first"}},"summary":"List identities","tags":["Identities"]}},"/v1/identities/{identity}":{"get":{"description":"Observed QU flow.","operationId":"getIdentity","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Identity"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Identity summary"},"400":{"description":"Invalid identity"},"404":{"description":"Identity not indexed"}},"summary":"Get identity","tags":["Identities"]}},"/v1/identities/{identity}/activity":{"get":{"description":"Transactions and events merged newest first.","operationId":"getIdentityActivity","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentityActivityPage"}}},"description":"Paginated activity rows with kind transaction or event"},"400":{"description":"Invalid identity or cursor"}},"summary":"Get identity activity","tags":["Identities"]}},"/v1/identities/{identity}/assets":{"get":{"description":"Live issued, owned, and possessed asset records from a peer. Not cached.","operationId":"listIdentityAssets","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"in":"query","name":"kind","schema":{"default":"all","enum":["all","issued","owned","possessed"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Asset holdings grouped by relationship"},"400":{"description":"Invalid identity or kind"},"503":{"description":"No peer configured or peer lookup failed"}},"summary":"List identity assets","tags":["Identities"]}},"/v1/identities/{identity}/counterparties":{"get":{"description":"Top transfers by volume, excluding self-transfers.","operationId":"listIdentityCounterparties","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"in":"query","name":"direction","schema":{"default":"all","enum":["all","incoming","outgoing"],"type":"string"}},{"in":"query","name":"limit","schema":{"default":20,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Counterparty"},"type":"array"}},"type":"object"}}},"description":"Ranked counterparties"},"400":{"description":"Invalid identity or direction"}},"summary":"List counterparties","tags":["Identities"]}},"/v1/identities/{identity}/events":{"get":{"description":"Newest first.","operationId":"listIdentityEvents","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}},"description":"Paginated event rows"},"400":{"description":"Invalid identity or cursor"}},"summary":"List identity events","tags":["Identities"]}},"/v1/identities/{identity}/flow":{"get":{"description":"Zero-filled incoming and outgoing QU buckets.","operationId":"getIdentityFlow","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"description":"Bucket width in seconds","in":"query","name":"interval","schema":{"default":3600,"maximum":86400,"minimum":60,"type":"integer"}},{"description":"Number of buckets, newest first","in":"query","name":"limit","schema":{"default":168,"maximum":1000,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/FlowBucket"},"type":"array"}},"type":"object"}}},"description":"Flow buckets"},"400":{"description":"Invalid identity or interval"},"404":{"description":"The index has no ticks yet"}},"summary":"Get identity flow","tags":["Identities"]}},"/v1/identities/{identity}/transactions":{"get":{"description":"Newest first.","operationId":"listIdentityTransactions","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionPage"}}},"description":"Paginated transactions"},"400":{"description":"Invalid identity or cursor"}},"summary":"List identity transactions","tags":["Identities"]}},"/v1/live/contracts/{contract_index}/query":{"post":{"description":"Raw contract function call against a peer.","operationId":"queryContract","parameters":[{"description":"Contract index.","in":"path","name":"contract_index","required":true,"schema":{"minimum":0,"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContractQueryRequest"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/ContractQueryResult"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Hex-encoded contract output"},"400":{"description":"Invalid hex or input exceeds MAX_INPUT_SIZE"},"503":{"description":"No peer available or contract call failed"}},"summary":"Query contract","tags":["Live"]}},"/v1/live/identities/{identity}":{"get":{"description":"Peer spectrum record, cached for up to two seconds.","operationId":"getLiveIdentity","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/LiveIdentity"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Live identity record from the peer"},"400":{"description":"Invalid identity"},"404":{"description":"Peer has no entity record"},"503":{"description":"No peer available"}},"summary":"Get live identity","tags":["Live"]}},"/v1/live/ticks/{tick}/transactions":{"get":{"description":"Peer-side transactions for one tick. Falls back to the standard tick transaction request when the optional tx-status add-on is unavailable; money_flew is null in that case.","operationId":"listLiveTickTransactions","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/TickTransactionStatus"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Peer transaction status"},"503":{"description":"No peer available"}},"summary":"List live tick transactions","tags":["Live"]}},"/v1/live/transactions/{hash}":{"get":{"description":"Peer transaction lookup by hash.","operationId":"getLiveTransaction","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Transaction"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Transaction as reported by the peer"},"400":{"description":"Invalid hash"},"404":{"description":"Peer has no transaction"},"503":{"description":"No peer available"}},"summary":"Get live transaction","tags":["Live"]}},"/v1/live/transactions/{hash}/status":{"get":{"description":"Peer confirmation and money flow. `money_flew` may be null.","operationId":"getLiveTransactionStatus","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/TransactionNetworkStatus"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Peer transaction status"},"400":{"description":"Invalid hash"},"404":{"description":"Peer has no confirmed transaction"},"503":{"description":"No peer available or transaction lookup failed"}},"summary":"Get live transaction status","tags":["Live"]}},"/v1/live/wallets/{identity}":{"get":{"description":"Point-in-time peer snapshot; not cached.","operationId":"getLiveWallet","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/WalletSnapshot"},"meta":{"type":"object"}},"type":"object"}}},"description":"Wallet snapshot"},"400":{"description":"Invalid identity"},"503":{"description":"No peer available or peer lookup failed"}},"summary":"Get live wallet","tags":["Live"]}},"/v1/market":{"get":{"description":"Cached external reference.","operationId":"getMarket","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/MarketSnapshot"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Market snapshot"},"503":{"description":"No market snapshot has been fetched yet"}},"summary":"Get market snapshot","tags":["Market"]}},"/v1/network":{"get":{"description":"Indexed counts, live system info, peer health, and sync lag.","operationId":"getNetworkOverview","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"type":"object"},"meta":{"type":"object"}},"type":"object"}}},"description":"Network overview"},"500":{"description":"Storage failure"}},"summary":"Get network overview","tags":["Network"]}},"/v1/network/index":{"get":{"description":"Entity counts and indexed tick range.","operationId":"getNetworkIndex","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/NetworkStats"}},"type":"object"}}},"description":"Network stats"},"500":{"description":"Storage failure"}},"summary":"Get indexed counts","tags":["Network"]}},"/v1/network/oracles":{"get":{"description":"Query statistics, pending queries, and active subscriptions.","operationId":"getOracleOverview","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle overview"},"503":{"description":"No peer answered"}},"summary":"Get oracle overview","tags":["Oracles"]}},"/v1/network/oracles/queries":{"get":{"description":"Pending queries, or queries of one tick by type.","operationId":"listOracleQueries","parameters":[{"description":"pending, all, user, contract, or subscription.","in":"query","name":"status","required":false,"schema":{"default":"pending","type":"string"}},{"description":"Tick for non-pending selectors. Defaults to the indexed head.","in":"query","name":"tick","required":false,"schema":{"type":"integer"}},{"description":"Queries to materialize.","in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"type":"integer"}},{"description":"Queries to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle queries"},"400":{"description":"Unknown status"},"503":{"description":"No peer answered"}},"summary":"List oracle queries","tags":["Oracles"]}},"/v1/network/oracles/queries/{id}":{"get":{"description":"Metadata, raw query and reply, and decoded price data.","operationId":"getOracleQuery","parameters":[{"description":"Oracle query ID.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle query"},"503":{"description":"No peer answered"}},"summary":"Get oracle query","tags":["Oracles"]}},"/v1/network/oracles/revenue":{"get":{"description":"676 oracle revenue points for the current epoch.","operationId":"getOracleRevenue","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle revenue"},"503":{"description":"No peer answered"}},"summary":"Get oracle revenue points","tags":["Oracles"]}},"/v1/network/oracles/stats":{"get":{"description":"Counters and average durations for one peer's oracle engine.","operationId":"getOracleStats","responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle statistics"},"503":{"description":"No peer answered"}},"summary":"Get oracle statistics","tags":["Oracles"]}},"/v1/network/oracles/subscriptions":{"get":{"description":"Active subscriptions, optionally filtered to one contract.","operationId":"listOracleSubscriptions","parameters":[{"description":"Contract index.","in":"query","name":"contract","required":false,"schema":{"type":"integer"}},{"description":"Subscriptions to materialize.","in":"query","name":"limit","required":false,"schema":{"default":25,"maximum":100,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle subscriptions"},"400":{"description":"Invalid contract"},"503":{"description":"No peer answered"}},"summary":"List oracle subscriptions","tags":["Oracles"]}},"/v1/network/oracles/subscriptions/{id}":{"get":{"description":"Subscription info, initial query, and contract subscribers.","operationId":"getOracleSubscription","parameters":[{"description":"Oracle subscription ID.","in":"path","name":"id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Oracle subscription"},"503":{"description":"No peer answered"}},"summary":"Get oracle subscription","tags":["Oracles"]}},"/v1/network/peers":{"get":{"description":"Score, latency, failures, and quarantine per configured peer.","operationId":"listNetworkPeers","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"type":"object"},"type":"array"},"meta":{"type":"object"}},"type":"object"}}},"description":"Peer health"}},"summary":"List peer health","tags":["Network"]}},"/v1/network/revenue":{"get":{"description":"Approximate per-computor scores and estimated rewards for the current epoch.","operationId":"listNetworkRevenue","parameters":[{"description":"Rows to return.","in":"query","name":"limit","required":false,"schema":{"default":676,"maximum":676,"minimum":1,"type":"integer"}},{"description":"Rows to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}},{"description":"reward, tx_score, oracle_score, doge_score, or index.","in":"query","name":"sort","required":false,"schema":{"enum":["reward","tx_score","oracle_score","doge_score","index"],"type":"string"}},{"description":"Filter to one computor identity.","in":"query","name":"identity","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Revenue rows"},"400":{"description":"Invalid identity or sort"},"503":{"description":"No peer answered"}},"summary":"List live revenue scores","tags":["Revenue"]}},"/v1/network/revenue/{identity}":{"get":{"description":"Live scores for one computor identity.","operationId":"getNetworkRevenueIdentity","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/RevenueComputor"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Computor revenue"},"404":{"description":"Not a computor this epoch"}},"summary":"Get one computor revenue","tags":["Revenue"]}},"/v1/network/system":{"get":{"description":"Peer system info with epoch start, entity counts, and thresholds.","operationId":"getNetworkSystem","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/NetworkSystem"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"System info"},"503":{"description":"No peer answered"}},"summary":"Get live system info","tags":["Network"]}},"/v1/prices":{"get":{"description":"Hourly QUBIC/USDT points, oldest first.","operationId":"listPrices","parameters":[{"description":"First core price hour, inclusive","in":"query","name":"from_hour","schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"limit","schema":{"default":168,"maximum":1000,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricePointPage"}}},"description":"Price points, ascending"},"500":{"description":"Storage failure"}},"summary":"List prices","tags":["Prices"]}},"/v1/prices/history":{"get":{"description":"Trailing window.","operationId":"getPriceHistory","parameters":[{"in":"query","name":"hours","schema":{"default":24,"maximum":1000,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricePointPage"}}},"description":"Ascending price window"}},"summary":"Get price history","tags":["Prices"]}},"/v1/prices/latest":{"get":{"description":"Newest stored point.","operationId":"getLatestPrice","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/PricePoint"}},"type":"object"}}},"description":"Latest price"},"404":{"description":"No price data yet"}},"summary":"Get latest price","tags":["Prices"]}},"/v1/prices/snapshot":{"get":{"description":"Metadata and latest point.","operationId":"getPriceSnapshot","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"oneOf":[{"$ref":"#/components/schemas/PriceSnapshot"},{"type":"null"}]},"meta":{"type":"object"}},"type":"object"}}},"description":"Price snapshot; data is null before the first poll"},"500":{"description":"Storage failure"}},"summary":"Get price snapshot","tags":["Prices"]}},"/v1/search":{"get":{"description":"Resolve ticks, hashes, identities, and assets.","operationId":"search","parameters":[{"in":"query","name":"q","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResults"}}},"description":"Typed matches"},"400":{"description":"Missing query"}},"summary":"Search","tags":["Search"]}},"/v1/status":{"get":{"description":"Head, ingest cursor, throughput, lag, and backfill coverage.","operationId":"getStatus","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Status"},"meta":{"type":"object"}},"type":"object"}}},"description":"Current status"}},"summary":"Get indexer status","tags":["Status"]}},"/v1/stream":{"get":{"description":"SSE feed for ticks, transactions, events, prices, and market.","operationId":"streamAll","parameters":[{"description":"Comma-separated subset of tick,transaction,event,price,market. The poll interval is set on the server with STREAM_POLL_MS.","in":"query","name":"types","schema":{"type":"string"}},{"description":"Only emit transactions and events that mention this identity. Tick, price, and market events are suppressed while this filter is set.","in":"query","name":"identity","schema":{"type":"string"}},{"description":"Only emit asset events for {issuer}/{name}.","in":"query","name":"asset","schema":{"type":"string"}}],"responses":{"200":{"content":{"text/event-stream":{"schema":{"type":"string"}}},"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream all events","tags":["Stream"]}},"/v1/stream/events":{"get":{"description":"Decoded events as indexed.","operationId":"streamEvents","responses":{"200":{"content":{"text/event-stream":{"schema":{"type":"string"}}},"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream events","tags":["Stream"]}},"/v1/stream/market":{"get":{"description":"Market snapshots as refreshed.","operationId":"streamMarket","responses":{"200":{"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream market","tags":["Stream"]}},"/v1/stream/prices":{"get":{"description":"Price points as stored.","operationId":"streamPrices","responses":{"200":{"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream prices","tags":["Stream"]}},"/v1/stream/ticks":{"get":{"description":"Tick headers as indexed.","operationId":"streamTicks","responses":{"200":{"content":{"text/event-stream":{"schema":{"type":"string"}}},"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream ticks","tags":["Stream"]}},"/v1/stream/transactions":{"get":{"description":"Transaction rows as indexed.","operationId":"streamTransactions","responses":{"200":{"content":{"text/event-stream":{"schema":{"type":"string"}}},"description":"text/event-stream"},"503":{"description":"Streaming is not enabled"}},"summary":"Stream transactions","tags":["Stream"]}},"/v1/ticks":{"get":{"description":"Newest first, filterable by epoch.","operationId":"listTicks","parameters":[{"in":"query","name":"epoch","schema":{"minimum":0,"type":"integer"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TickPage"}}},"description":"Paginated ticks, newest first"}},"summary":"List ticks","tags":["Ticks"]}},"/v1/ticks/{tick}":{"get":{"description":"One tick header.","operationId":"getTick","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Tick"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Tick header"},"404":{"description":"Tick not indexed"}},"summary":"Get tick","tags":["Ticks"]}},"/v1/ticks/{tick}/capacity":{"get":{"description":"Fill ratio, volume, top senders, and optional money-flow counts.","operationId":"getTickCapacity","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Tick capacity"},"404":{"description":"Tick not indexed"}},"summary":"Get tick capacity","tags":["Ticks"]}},"/v1/ticks/{tick}/events":{"get":{"description":"Log-id order.","operationId":"listTickEvents","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}},"description":"Paginated events"},"404":{"description":"Tick not indexed"}},"summary":"List tick events","tags":["Ticks"]}},"/v1/ticks/{tick}/evidence":{"get":{"description":"Digests and vote counts behind the stored tick.","operationId":"getTickQuorumEvidence","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/QuorumEvidence"}},"type":"object"}}},"description":"Quorum evidence"},"404":{"description":"No evidence indexed for the tick"}},"summary":"Get quorum evidence","tags":["Ticks"]}},"/v1/ticks/{tick}/raw":{"get":{"description":"Zstd QBB1 bundle or one section. Votes require `ARCHIVE_VOTES=true`; computors use the epoch sidecar.","operationId":"downloadTickBundle","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"section","schema":{"enum":["tick","tick_data","votes","transactions","log_ranges","logs","computors"],"type":"string"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"application/octet-stream"},"400":{"description":"Unknown section"},"404":{"description":"Tick not indexed or bundle not archived"},"503":{"description":"Archive not configured or unreadable"}},"summary":"Download raw bundle","tags":["Archive"]}},"/v1/ticks/{tick}/transactions":{"get":{"description":"Execution-slot order.","operationId":"listTickTransactions","parameters":[{"description":"Tick number.","in":"path","name":"tick","required":true,"schema":{"minimum":0,"type":"integer"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionPage"}}},"description":"Paginated transactions"},"404":{"description":"Tick not indexed"}},"summary":"List tick transactions","tags":["Ticks"]}},"/v1/transactions":{"get":{"description":"Newest first, filterable.","operationId":"listTransactions","parameters":[{"in":"query","name":"epoch","schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"tick","schema":{"minimum":0,"type":"integer"}},{"in":"query","name":"identity","schema":{"type":"string"}},{"description":"Page size.","in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"type":"integer"}},{"description":"Cursor from `meta.next_cursor`.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"deprecated":true,"description":"Legacy offset.","in":"query","name":"offset","required":false,"schema":{"default":0,"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionPage"}}},"description":"Paginated transactions"},"400":{"description":"Invalid identity or cursor"}},"summary":"List transactions","tags":["Transactions"]},"post":{"description":"Tracks internally and serves terminal webhook events. Set `direct: true` for one peer fan-out. Requires `ALLOW_BROADCAST=true`. A broadcast is not confirmation.","operationId":"broadcastTransaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastResult"}}},"description":"Dry run report; no peer connection was opened"},"202":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/BroadcastResult"},{"properties":{"data":{"$ref":"#/components/schemas/TrackedTransaction"},"meta":{"type":"object"}},"required":["data"],"type":"object"}]}}},"description":"Transaction accepted for tracking, or written to at least one peer socket with direct: true"},"400":{"description":"Transaction failed local validation"},"403":{"description":"Broadcast disabled"},"429":{"description":"Tracking capacity or the per-source cap is full; code tracking_full or source_tracking_full"},"503":{"description":"Tracking is disabled, or no peer accepted a direct broadcast"}},"summary":"Broadcast transaction","tags":["Broadcast"]}},"/v1/transactions/batch":{"post":{"description":"Up to 100 hashes.","operationId":"batchTransactions","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Transactions found"},"400":{"description":"Too many hashes or invalid input"}},"summary":"Batch transaction lookup","tags":["Transactions"]}},"/v1/transactions/inclusion-risk":{"get":{"description":"Heuristic from recent tick fill, target-tick distance, and balance.","operationId":"getInclusionRisk","parameters":[{"description":"Source identity.","in":"query","name":"source","required":false,"schema":{"type":"string"}},{"description":"Target tick. Defaults to current plus one.","in":"query","name":"target_tick","required":false,"schema":{"type":"integer"}},{"description":"Transfer amount.","in":"query","name":"amount","required":false,"schema":{"minimum":0,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Risk estimate"},"400":{"description":"Invalid identity or amount"},"503":{"description":"Current tick unavailable"}},"summary":"Estimate inclusion risk","tags":["Broadcast"]}},"/v1/transactions/validate":{"post":{"description":"Local decode, size, amount, and signature checks.","operationId":"validateTransaction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ValidateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransactionValidation"}}},"description":"Validation report; data.valid is false when a check fails"},"400":{"description":"Raw bytes are not hex or do not decode as a transaction"}},"summary":"Validate transaction","tags":["Broadcast"]}},"/v1/transactions/{hash}":{"get":{"description":"By hash.","operationId":"getTransaction","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Transaction"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Transaction"},"400":{"description":"Invalid hash"},"404":{"description":"Transaction not indexed"}},"summary":"Get transaction","tags":["Transactions"]}},"/v1/transactions/{hash}/effects":{"get":{"description":"Transaction, tick, events, typed effects, and summary.","operationId":"getTransactionEffects","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/TransactionEffects"}},"type":"object"}}},"description":"Transaction effects"},"400":{"description":"Invalid transaction hash"},"404":{"description":"Transaction not indexed"}},"summary":"Get transaction effects","tags":["Transactions"]}},"/v1/transactions/{hash}/lifecycle":{"get":{"description":"Indexed, tracked, and peer state with events, effects, and money-flow.","operationId":"getTransactionLifecycle","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"Transaction lifecycle"},"400":{"description":"Invalid hash"},"404":{"description":"Unknown transaction"}},"summary":"Get transaction lifecycle","tags":["Transactions"]}},"/v1/transactions/{hash}/status":{"get":{"deprecated":true,"description":"Legacy status view. Use transaction lifecycle for events, effects, tracking, and timeline.","operationId":"getTransactionStatus","parameters":[{"description":"Lowercase base-26 transaction hash.","in":"path","name":"hash","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Indexed and/or peer transaction status"},"400":{"description":"Invalid hash"},"404":{"description":"Unknown to both index and peer"},"503":{"description":"No peer and no indexed row"}},"summary":"Get transaction status","tags":["Transactions"]}},"/v1/wallets/{identity}":{"get":{"description":"Indexed identity, recent transactions, and peer asset lists.","operationId":"getWallet","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/WalletOverview"},"meta":{"type":"object"}},"type":"object"}}},"description":"Wallet overview"},"400":{"description":"Invalid identity"},"404":{"description":"Identity is neither indexed nor in the peer spectrum"},"503":{"description":"No peer available or peer lookup failed"}},"summary":"Get wallet","tags":["Wallets"]}},"/v1/wallets/{identity}/assets":{"get":{"description":"Issued, owned, and possessed.","operationId":"listWalletAssets","parameters":[{"description":"Uppercase base-26 identity.","in":"path","name":"identity","required":true,"schema":{"type":"string"}},{"in":"query","name":"kind","required":false,"schema":{"default":"all","enum":["issued","owned","possessed","all"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/WalletAssets"},"meta":{"type":"object"}},"type":"object"}}},"description":"Typed asset lists"},"400":{"description":"Invalid identity or asset kind"},"503":{"description":"No peer available or peer lookup failed"}},"summary":"List wallet assets","tags":["Wallets"]}},"/v1/webhooks":{"get":{"description":"Active registrations.","operationId":"listWebhooks","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/Webhook"},"type":"array"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Webhook registrations"}},"summary":"List webhooks","tags":["Webhooks"]},"post":{"description":"Signed single-attempt delivery for tracked transaction events. Secrets and full URLs are never returned.","operationId":"registerWebhook","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRegistration"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Webhook"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Webhook registered"},"400":{"description":"Invalid URL, secret, event, or filter, including a private target without WEBHOOK_ALLOW_PRIVATE"}},"summary":"Register webhook","tags":["Webhooks"]}},"/v1/webhooks/{id}":{"delete":{"description":"Stops further deliveries.","operationId":"deleteWebhook","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"$ref":"#/components/schemas/Webhook"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Webhook deactivated"},"404":{"description":"Webhook not found"}},"summary":"Deactivate webhook","tags":["Webhooks"]}},"/v1/webhooks/{id}/deliveries":{"get":{"description":"Delivery outcomes, newest first. Each event is attempted once.","operationId":"listWebhookDeliveries","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"default":50,"maximum":500,"minimum":1,"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"data":{"items":{"$ref":"#/components/schemas/WebhookDelivery"},"type":"array"},"meta":{"type":"object"}},"required":["data"],"type":"object"}}},"description":"Deliveries"},"404":{"description":"Webhook not found"}},"summary":"List deliveries","tags":["Webhooks"]}},"/v1/ws":{"get":{"description":"Same events over WebSocket.","operationId":"streamWebSocket","responses":{"200":{"description":"WebSocket upgrade"},"503":{"description":"Streaming is not enabled"}},"summary":"WebSocket stream","tags":["Stream"]}}},"servers":[{"url":"/"}],"tags":[{"description":"Health and ingest progress.","name":"Status"},{"description":"Epochs and computors.","name":"Epochs"},{"description":"Tick data.","name":"Ticks"},{"description":"Indexed lookup, effects, and lifecycle.","name":"Transactions"},{"description":"Decoded contract logs.","name":"Events"},{"description":"History, flow, counterparties.","name":"Identities"},{"description":"Balances and asset holdings.","name":"Wallets"},{"description":"Issuances, transfers, holders.","name":"Assets"},{"description":"QUBIC/USDT series.","name":"Prices"},{"description":"External market reference.","name":"Market"},{"description":"Network aggregates.","name":"Analytics"},{"description":"Submit signed transactions and validate them locally.","name":"Broadcast"},{"description":"Signed delivery for queued, broadcast, confirmed, expired, and failed events.","name":"Webhooks"},{"description":"Index counts, peer health, and system info.","name":"Network"},{"description":"Live computor revenue scores and estimates.","name":"Revenue"},{"description":"Live oracle queries, subscriptions, and statistics.","name":"Oracles"},{"description":"SSE and WebSocket feeds.","name":"Stream"},{"description":"Direct peer reads.","name":"Live"},{"description":"Raw tick bundles.","name":"Archive"},{"description":"Cross-entity lookup.","name":"Search"}],"x-tagGroups":[{"name":"Overview","tags":["Status","Search"]},{"name":"Chain Data","tags":["Epochs","Ticks","Transactions","Events","Archive"]},{"name":"Accounts & Assets","tags":["Identities","Wallets","Assets"]},{"name":"Broadcast & Delivery","tags":["Broadcast","Webhooks"]},{"name":"Network","tags":["Network","Revenue","Oracles"]},{"name":"Markets & Analytics","tags":["Prices","Market","Analytics"]},{"name":"Live & Stream","tags":["Live","Stream"]}]}