{"openapi":"3.1.0","info":{"title":"Twilight Core Explorer API","description":"Read-only public API for the Twilight Core explorer (Phase 9a foundation).","version":"0.1.0"},"components":{"schemas":{}},"paths":{"/health/live":{"get":{"summary":"Liveness probe","tags":["health"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["status"],"properties":{"status":{"type":"string","enum":["live"]}}}}}}}}}}},"/health/ready":{"get":{"summary":"Readiness probe","tags":["health"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["status","checks"],"properties":{"status":{"type":"string","enum":["ready"]},"checks":{"type":"object","required":["database","migrations"],"properties":{"database":{"type":"string","enum":["ok"]},"migrations":{"type":"string","enum":["ok"]}}}}}}}}}},"503":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/status":{"get":{"summary":"Indexer and projection status","tags":["status"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["chainId","build","indexer","projections","projectionFailures"],"properties":{"chainId":{"anyOf":[{"type":"string"},{"type":"null"}]},"build":{"type":"object","required":["version","gitSha","builtAt","environment"],"properties":{"version":{"type":"string"},"gitSha":{"anyOf":[{"type":"string"},{"type":"null"}]},"builtAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"environment":{"anyOf":[{"type":"string","enum":["production"]},{"type":"string","enum":["development"]},{"type":"string","enum":["test"]}]}}},"indexer":{"anyOf":[{"type":"object","required":["lastIndexedHeight","latestChainHeight","lagBlocks","status","lastIndexedHash","updatedAt","freshnessSeconds","error"],"properties":{"lastIndexedHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"latestChainHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"lagBlocks":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"status":{"type":"string"},"lastIndexedHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"updatedAt":{"type":"string"},"freshnessSeconds":{"anyOf":[{"type":"integer"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"projections":{"type":"array","items":{"type":"object","required":["projectionName","lastProjectedHeight","status","updatedAt","error"],"properties":{"projectionName":{"type":"string"},"lastProjectedHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"projectionFailures":{"type":"object","required":["unresolvedCount","byProjection"],"properties":{"unresolvedCount":{"type":"integer"},"byProjection":{"type":"array","items":{"type":"object","required":["projectionName","count"],"properties":{"projectionName":{"type":"string"},"count":{"type":"integer"}}}}}}}}}}}}}}}},"/api/v1/blocks":{"get":{"summary":"List blocks (newest first)","tags":["blocks"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["height","hash","time","txCount","chainId","proposer"],"properties":{"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"time":{"anyOf":[{"type":"string"},{"type":"null"}]},"txCount":{"type":"integer"},"chainId":{"anyOf":[{"type":"string"},{"type":"null"}]},"proposer":{"type":"object","required":["rawAddress","address","slotId","operatorAddress","attributionStatus"],"properties":{"rawAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"slotId":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"attributionStatus":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"BlockProposer"}},"title":"BlockListItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"PageInfo"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/blocks/aggregate":{"get":{"summary":"Aggregate stats over the last N blocks","tags":["blocks"],"parameters":[{"schema":{"minimum":1,"maximum":5000,"default":1000,"type":"integer"},"in":"query","name":"window","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["window","blocksInWindow","fromHeight","toHeight","spanSeconds","avgBlockTimeSeconds","avgTxsPerBlock","blocksPerDay","uniqueProposers","totalTxs"],"properties":{"window":{"description":"Effective block-count window requested.","type":"integer"},"blocksInWindow":{"description":"Actual blocks counted (< window on a young chain).","type":"integer"},"fromHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"toHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"spanSeconds":{"anyOf":[{"type":"number"},{"type":"null"}]},"avgBlockTimeSeconds":{"anyOf":[{"description":"Null when < 2 timed blocks.","type":"number"},{"type":"null"}]},"avgTxsPerBlock":{"anyOf":[{"type":"number"},{"type":"null"}]},"blocksPerDay":{"anyOf":[{"description":"Projected from avg cadence (86400 / avgBlockTime).","type":"number"},{"type":"null"}]},"uniqueProposers":{"description":"Distinct attributed CoreSlots (+2-correct) in the window.","type":"integer"},"totalTxs":{"type":"integer"}},"title":"BlocksAggregate"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/blocks/{height}":{"get":{"summary":"Get a block by height","tags":["blocks"],"parameters":[{"schema":{"type":"string","enum":["raw"]},"in":"query","name":"include","required":false},{"schema":{"type":"string"},"in":"path","name":"height","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["height","hash","time","txCount","chainId","proposer","appHash","validatorsHash","nextValidatorsHash","lastBlockHash","createdAt"],"properties":{"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"hash":{"anyOf":[{"type":"string"},{"type":"null"}]},"time":{"anyOf":[{"type":"string"},{"type":"null"}]},"txCount":{"type":"integer"},"chainId":{"anyOf":[{"type":"string"},{"type":"null"}]},"proposer":{"type":"object","required":["rawAddress","address","slotId","operatorAddress","attributionStatus"],"properties":{"rawAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"slotId":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"attributionStatus":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"appHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"validatorsHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"nextValidatorsHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastBlockHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"},"raw":{}},"title":"BlockDetail"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/txs":{"get":{"summary":"List transactions (newest first)","tags":["transactions"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"height","required":false},{"schema":{"type":"string"},"in":"query","name":"status","required":false},{"schema":{"anyOf":[{"type":"string","enum":["coreslot"]},{"type":"string","enum":["rewards"]},{"type":"string","enum":["mining"]},{"type":"string","enum":["bank"]}]},"in":"query","name":"typeGroup","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["hash","height","index","status","code","gasUsed","gasWanted","memo","messageTypes","signerAddresses"],"properties":{"hash":{"type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"index":{"type":"integer"},"status":{"type":"string"},"code":{"anyOf":[{"type":"integer"},{"type":"null"}]},"gasUsed":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"gasWanted":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"memo":{"anyOf":[{"type":"string"},{"type":"null"}]},"messageTypes":{"type":"array","items":{"type":"string"}},"signerAddresses":{"type":"array","items":{"type":"string"}}},"title":"TxListItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/txs/aggregate":{"get":{"summary":"Aggregate stats over the last N transactions","tags":["transactions"],"parameters":[{"schema":{"minimum":1,"maximum":5000,"default":1000,"type":"integer"},"in":"query","name":"window","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["window","txsInWindow","fromHeight","toHeight","successCount","failedCount","otherCount","successRate","avgMessagesPerTx","totalMessages"],"properties":{"window":{"type":"integer"},"txsInWindow":{"type":"integer"},"fromHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"toHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"successCount":{"type":"integer"},"failedCount":{"type":"integer"},"otherCount":{"type":"integer"},"successRate":{"anyOf":[{"description":"Percent of the window that succeeded; null if empty.","type":"number"},{"type":"null"}]},"avgMessagesPerTx":{"anyOf":[{"type":"number"},{"type":"null"}]},"totalMessages":{"type":"integer"}},"title":"TxsAggregate"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/txs/{hash}":{"get":{"summary":"Get a transaction by hash","tags":["transactions"],"parameters":[{"schema":{"type":"string","enum":["raw"]},"in":"query","name":"include","required":false},{"schema":{"type":"string"},"in":"path","name":"hash","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["hash","height","index","status","code","gasUsed","gasWanted","memo","messageTypes","signerAddresses","time","fee","messages","events"],"properties":{"hash":{"type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"index":{"type":"integer"},"status":{"type":"string"},"code":{"anyOf":[{"type":"integer"},{"type":"null"}]},"gasUsed":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"gasWanted":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"memo":{"anyOf":[{"type":"string"},{"type":"null"}]},"messageTypes":{"type":"array","items":{"type":"string"}},"signerAddresses":{"type":"array","items":{"type":"string"}},"time":{"anyOf":[{"type":"string"},{"type":"null"}]},"fee":{"anyOf":[{},{"type":"null"}]},"messages":{"type":"array","items":{"type":"object","required":["msgIndex","typeUrl","module","typeName","decodedJson","decodeError"],"properties":{"msgIndex":{"type":"integer"},"typeUrl":{"type":"string"},"module":{"anyOf":[{"type":"string"},{"type":"null"}]},"typeName":{"anyOf":[{"type":"string"},{"type":"null"}]},"decodedJson":{"anyOf":[{},{"type":"null"}]},"decodeError":{"anyOf":[{"type":"string"},{"type":"null"}]},"raw":{}},"title":"Message"}},"events":{"type":"array","items":{"type":"object","required":["phase","type","msgIndex","eventIndex","attributes"],"properties":{"phase":{"type":"string"},"type":{"type":"string"},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"eventIndex":{"type":"integer"},"attributes":{}},"title":"Event"}},"raw":{"type":"object","required":["tx","result"],"properties":{"tx":{},"result":{}}}},"title":"TxDetail"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/accounts":{"get":{"summary":"List accounts (address order)","tags":["accounts"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"query","name":"accountKind","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["address","accountKind","firstSeenHeight","lastSeenHeight","txCount"],"properties":{"address":{"type":"string"},"accountKind":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstSeenHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"lastSeenHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"txCount":{"type":"integer"}},"title":"AccountListItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/accounts/aggregate":{"get":{"summary":"Global account registry counts","tags":["accounts"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["totalAccounts","moduleAccounts","labelledAccounts","avgTxCount"],"properties":{"totalAccounts":{"description":"All observed accounts (addresses seen).","type":"integer"},"moduleAccounts":{"type":"integer"},"labelledAccounts":{"description":"Accounts carrying a non-null kind.","type":"integer"},"avgTxCount":{"anyOf":[{"description":"Mean observed tx count; null when no accounts.","type":"number"},{"type":"null"}]}},"title":"AccountsAggregate"}}}}}}}}},"/api/v1/accounts/{address}":{"get":{"summary":"Get an account by address","tags":["accounts"],"parameters":[{"schema":{"type":"string","enum":["raw"]},"in":"query","name":"include","required":false},{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["address","accountKind","firstSeenHeight","lastSeenHeight","txCount"],"properties":{"address":{"type":"string"},"accountKind":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstSeenHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"lastSeenHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"txCount":{"type":"integer"},"raw":{}},"title":"AccountDetail"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/search":{"get":{"summary":"Resolve a query to typed references","tags":["search"],"parameters":[{"schema":{"minLength":1,"type":"string"},"in":"query","name":"q","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"anyOf":[{"type":"object","required":["type","height","hash"],"properties":{"type":{"type":"string","enum":["block"]},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"hash":{"anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"object","required":["type","hash","height"],"properties":{"type":{"type":"string","enum":["transaction"]},"hash":{"type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"}}},{"type":"object","required":["type","address"],"properties":{"type":{"type":"string","enum":["account"]},"address":{"type":"string"}}},{"type":"object","required":["type","slotId"],"properties":{"type":{"type":"string","enum":["coreslot"]},"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"role":{"anyOf":[{"type":"string","enum":["operator"]},{"type":"string","enum":["payout"]},{"type":"string","enum":["consensus"]}]}}}],"title":"SearchResult"}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/decode-failures":{"get":{"summary":"List decode failures (newest first)","tags":["diagnostics"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"default":false,"type":"boolean"},"in":"query","name":"resolved","required":false},{"schema":{"type":"string"},"in":"query","name":"failureKind","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"height","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","height","txHash","msgIndex","eventIndex","typeUrl","eventType","failureKind","decodeError","resolved","resolvedAt","createdAt"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"eventIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"typeUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"eventType":{"anyOf":[{"type":"string"},{"type":"null"}]},"failureKind":{"type":"string"},"decodeError":{"type":"string"},"resolved":{"type":"boolean"},"resolvedAt":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"string"}},"title":"DecodeFailureItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/projections":{"get":{"summary":"Per-projection cursor + unresolved-failure diagnostics","tags":["diagnostics"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["projectionName","lastProjectedHeight","status","updatedAt","error","unresolvedFailures"],"properties":{"projectionName":{"type":"string"},"lastProjectedHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}]},"unresolvedFailures":{"type":"object","required":["count","byKind"],"properties":{"count":{"type":"integer"},"byKind":{"type":"array","items":{"type":"object","required":["failureKind","count"],"properties":{"failureKind":{"type":"string"},"count":{"type":"integer"}}}}}}},"title":"ProjectionDiagnostic"}}}}}}}}}},"/api/v1/coreslots":{"get":{"summary":"List CoreSlots","tags":["coreslots"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"query","name":"status","required":false},{"schema":{"type":"string"},"in":"query","name":"operatorAddress","required":false},{"schema":{"type":"string"},"in":"query","name":"consensusAddress","required":false},{"schema":{"type":"string"},"in":"query","name":"payoutAddress","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["slotId","status","operatorAddress","payoutAddress","consensusAddress","consensusPower","rewardWeight","createdHeight","updatedHeight","removedHeight"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"payoutAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusPower":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"rewardWeight":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"updatedHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"removedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]}},"title":"CoreSlotListItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}":{"get":{"summary":"Get a CoreSlot by id","tags":["coreslots"],"parameters":[{"schema":{"type":"string","enum":["raw"]},"in":"query","name":"include","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["slotId","status","operatorAddress","payoutAddress","consensusAddress","consensusPower","rewardWeight","createdHeight","updatedHeight","removedHeight","consensusPubkey","metadata","health"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"null"}]},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"payoutAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusPower":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"rewardWeight":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"updatedHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"removedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"consensusPubkey":{"anyOf":[{},{"type":"null"}]},"metadata":{"anyOf":[{},{"type":"null"}]},"health":{"anyOf":[{"type":"object","required":["healthStatus","healthReason","isActiveAtLatest","uptimeBps","currentMissedStreak","summaryStatus"],"properties":{"healthStatus":{"type":"string"},"healthReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"isActiveAtLatest":{"type":"boolean"},"uptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currentMissedStreak":{"type":"integer"},"summaryStatus":{"anyOf":[{"type":"string"},{"type":"null"}]}}},{"type":"null"}]},"raw":{}},"title":"CoreSlotDetail"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/events":{"get":{"summary":"CoreSlot event history (lifecycle, metadata, payout)","tags":["coreslots"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"anyOf":[{"type":"string","enum":["lifecycle"]},{"type":"string","enum":["metadata"]},{"type":"string","enum":["payout"]}]},"in":"query","name":"kind","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["kind","height","eventId","txHash","msgIndex","detail"],"properties":{"kind":{"anyOf":[{"type":"string","enum":["lifecycle"]},{"type":"string","enum":["metadata"]},{"type":"string","enum":["payout"]}]},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"eventId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"detail":{}},"title":"CoreSlotEvent"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/windows":{"get":{"summary":"Consensus windows for a CoreSlot","tags":["coreslots"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","consensusAddress","operatorAddress","consensusPower","validatorUpdateHeight","effectiveFromHeight","effectiveToHeight","status","openedByKind","closedByKind"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"consensusAddress":{"type":"string"},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusPower":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"validatorUpdateHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"effectiveFromHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"effectiveToHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"status":{"type":"string"},"openedByKind":{"type":"string"},"closedByKind":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"ConsensusWindow"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/key-rotations":{"get":{"summary":"Consensus key-rotation history for a CoreSlot","tags":["coreslots"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","status","operatorAddress","oldConsensusAddress","newConsensusAddress","requestedHeight","effectiveHeight","appliedHeight","cancelledHeight","reason","requestTxHash","appliedTxHash","cancelledTxHash"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"status":{"type":"string"},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"oldConsensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"newConsensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"effectiveHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"appliedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"cancelledHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"reason":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"appliedTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"cancelledTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"KeyRotation"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/proposed-blocks":{"get":{"summary":"Blocks proposed by a CoreSlot","tags":["coreslots"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["height","time","proposerAddress","attributionStatus"],"properties":{"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"time":{"anyOf":[{"type":"string"},{"type":"null"}]},"proposerAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"attributionStatus":{"type":"string"}},"title":"ProposedBlock"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/liveness":{"get":{"summary":"CoreSlot liveness summaries (by window kind)","tags":["coreslots"],"parameters":[{"schema":{"type":"string"},"in":"query","name":"windowKind","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["windowKind","windowSize","operatorAddress","consensusAddress","firstCommittedHeight","lastCommittedHeight","spanHeightCount","evidenceHeightCount","expectedCount","signedCount","missedCount","absentMissedCount","nilMissedCount","uptimeBps","currentSignedStreak","currentMissedStreak","latestMissedHeight","invalidHeightCount","summaryStatus"],"properties":{"windowKind":{"type":"string"},"windowSize":{"anyOf":[{"type":"integer"},{"type":"null"}]},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"firstCommittedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"lastCommittedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"spanHeightCount":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"evidenceHeightCount":{"type":"integer"},"expectedCount":{"type":"integer"},"signedCount":{"type":"integer"},"missedCount":{"type":"integer"},"absentMissedCount":{"type":"integer"},"nilMissedCount":{"type":"integer"},"uptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currentSignedStreak":{"type":"integer"},"currentMissedStreak":{"type":"integer"},"latestMissedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"invalidHeightCount":{"type":"integer"},"summaryStatus":{"type":"string"}},"title":"LivenessSummary"}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/health":{"get":{"summary":"CoreSlot current health snapshot","tags":["coreslots"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["slotId","healthStatus","healthReason","isActiveAtLatest","primaryWindowKind","expectedCount","signedCount","missedCount","absentMissedCount","nilMissedCount","uptimeBps","lifetimeUptimeBps","recent500UptimeBps","recent1000UptimeBps","currentSignedStreak","currentMissedStreak","latestMissedHeight","firstCommittedHeight","lastCommittedHeight","summaryStatus","invalidHeightCount","policyVersion"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"healthStatus":{"type":"string"},"healthReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"isActiveAtLatest":{"type":"boolean"},"primaryWindowKind":{"type":"string"},"expectedCount":{"type":"integer"},"signedCount":{"type":"integer"},"missedCount":{"type":"integer"},"absentMissedCount":{"type":"integer"},"nilMissedCount":{"type":"integer"},"uptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"lifetimeUptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"recent500UptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"recent1000UptimeBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"currentSignedStreak":{"type":"integer"},"currentMissedStreak":{"type":"integer"},"latestMissedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"firstCommittedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"lastCommittedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"summaryStatus":{"anyOf":[{"type":"string"},{"type":"null"}]},"invalidHeightCount":{"type":"integer"},"policyVersion":{"type":"string"}},"title":"CoreSlotHealth"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/network/proposers":{"get":{"summary":"Proposer leaderboard (attributed blocks per CoreSlot)","tags":["network"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["slotId","operatorAddress","blocksProposed"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"blocksProposed":{"type":"integer"}},"title":"ProposerLeaderboardItem"}}}}}}}}}},"/api/v1/network/validator-set":{"get":{"summary":"Active CoreSlot set at a height","tags":["network"],"parameters":[{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"height","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["slotId","consensusAddress","operatorAddress","consensusPower","effectiveFromHeight","effectiveToHeight"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"consensusAddress":{"type":"string"},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusPower":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"effectiveFromHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"effectiveToHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]}},"title":"ValidatorSetMember"}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/network/liveness-risk":{"get":{"summary":"Current network halt-risk snapshot","tags":["network"],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["haltRiskLevel","haltRiskReason","latestCommittedHeight","activeSlotCount","healthySlotCount","degradedSlotCount","downSlotCount","incompleteSlotCount","unknownSlotCount","availableSlotCount","unavailableSlotCount","availablePowerBps","unavailablePowerBps","policyVersion"],"properties":{"haltRiskLevel":{"type":"string"},"haltRiskReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"latestCommittedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"activeSlotCount":{"type":"integer"},"healthySlotCount":{"type":"integer"},"degradedSlotCount":{"type":"integer"},"downSlotCount":{"type":"integer"},"incompleteSlotCount":{"type":"integer"},"unknownSlotCount":{"type":"integer"},"availableSlotCount":{"type":"integer"},"unavailableSlotCount":{"type":"integer"},"availablePowerBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"unavailablePowerBps":{"anyOf":[{"type":"integer"},{"type":"null"}]},"policyVersion":{"type":"string"}},"title":"NetworkRisk"}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/network/signing-heatmap":{"get":{"summary":"Per-CoreSlot signing heatmap over the last N committed blocks","tags":["network"],"parameters":[{"schema":{"minimum":1,"maximum":200,"default":48,"type":"integer"},"in":"query","name":"window","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["window","blocksInWindow","fromHeight","toHeight","heights","slots"],"properties":{"window":{"type":"integer"},"blocksInWindow":{"type":"integer"},"fromHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"toHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"heights":{"type":"array","items":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"}},"slots":{"type":"array","items":{"type":"object","required":["slotId","operatorAddress","consensusAddress","signed","missed","cells"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"operatorAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"consensusAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"signed":{"type":"integer"},"missed":{"type":"integer"},"cells":{"type":"array","items":{"anyOf":[{"anyOf":[{"type":"string","enum":["signed"]},{"type":"string","enum":["missed"]}]},{"type":"null"}]}}}}}},"title":"SigningHeatmap"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/epochs":{"get":{"summary":"List reward epochs (aggregate projection, not claim truth)","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["epochNumber","height","blockTime","totalReward","denom","activeSlotCount","cumulativeEmitted","distributionMethod","rewardSemantics"],"properties":{"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"blockTime":{"anyOf":[{"type":"string"},{"type":"null"}]},"totalReward":{"anyOf":[{"type":"string"},{"type":"null"}]},"denom":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeSlotCount":{"anyOf":[{"type":"integer"},{"type":"null"}]},"cumulativeEmitted":{"anyOf":[{"type":"string"},{"type":"null"}]},"distributionMethod":{"anyOf":[{"type":"string"},{"type":"null"}]},"rewardSemantics":{"type":"string","enum":["aggregate_projection"]}},"title":"RewardEpochListItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/epochs/{epoch}":{"get":{"summary":"Get a reward epoch by number","tags":["rewards"],"parameters":[{"schema":{"type":"string","enum":["raw"]},"in":"query","name":"include","required":false},{"schema":{"type":"string"},"in":"path","name":"epoch","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["epochNumber","height","blockTime","totalReward","denom","activeSlotCount","cumulativeEmitted","distributionMethod","rewardSemantics"],"properties":{"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"blockTime":{"anyOf":[{"type":"string"},{"type":"null"}]},"totalReward":{"anyOf":[{"type":"string"},{"type":"null"}]},"denom":{"anyOf":[{"type":"string"},{"type":"null"}]},"activeSlotCount":{"anyOf":[{"type":"integer"},{"type":"null"}]},"cumulativeEmitted":{"anyOf":[{"type":"string"},{"type":"null"}]},"distributionMethod":{"anyOf":[{"type":"string"},{"type":"null"}]},"rewardSemantics":{"type":"string","enum":["aggregate_projection"]},"raw":{}},"title":"RewardEpochDetail"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/coreslots/{slotId}/rewards":{"get":{"summary":"Per-epoch entitlement history for a CoreSlot (observed projection)","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"path","name":"slotId","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["epochNumber","entitlementAmount","releasedAmount","denom","payoutAddress","totalBlocksActive","slotStatusAtEpochClose","rewardConfigVersion","sampledAtHeight","claimSemantics"],"properties":{"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"entitlementAmount":{"type":"string"},"releasedAmount":{"type":"string"},"denom":{"type":"string"},"payoutAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"totalBlocksActive":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"slotStatusAtEpochClose":{"anyOf":[{"type":"string"},{"type":"null"}]},"rewardConfigVersion":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"sampledAtHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"claimSemantics":{"type":"string","enum":["projection_observed_not_live_claimable"]}},"title":"SlotRewardItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/entitlements":{"get":{"summary":"Per-slot, per-epoch reward entitlements (observed projection)","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"epoch","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"slotId","required":false},{"schema":{"type":"string"},"in":"query","name":"payoutAddress","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","slotId","epochNumber","entitlementAmount","releasedAmount","denom","payoutAddress","totalBlocksActive","slotStatusAtEpochClose","activationSequenceAtEpochClose","rewardConfigVersion","createdHeight","sampledAtHeight","claimSemantics"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"entitlementAmount":{"type":"string"},"releasedAmount":{"type":"string"},"denom":{"type":"string"},"payoutAddress":{"anyOf":[{"type":"string"},{"type":"null"}]},"totalBlocksActive":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"slotStatusAtEpochClose":{"anyOf":[{"type":"string"},{"type":"null"}]},"activationSequenceAtEpochClose":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"rewardConfigVersion":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"createdHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"sampledAtHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"claimSemantics":{"type":"string","enum":["projection_observed_not_live_claimable"]}},"title":"EntitlementItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/balances":{"get":{"summary":"Rewards/module balance samples (supply excluded by default)","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"query","name":"sampleKind","required":false},{"schema":{"type":"string"},"in":"query","name":"denom","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"height","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","sampleKind","source","height","address","moduleName","denom","amount"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"sampleKind":{"type":"string"},"source":{"type":"string","enum":["sampled"]},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"address":{"anyOf":[{"type":"string"},{"type":"null"}]},"moduleName":{"anyOf":[{"type":"string"},{"type":"null"}]},"denom":{"type":"string"},"amount":{"type":"string"}},"title":"RewardsBalanceItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/params":{"get":{"summary":"Rewards parameter-change history","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"query","name":"changeType","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","height","txHash","msgIndex","authority","changeType","params"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]},"authority":{"anyOf":[{"type":"string"},{"type":"null"}]},"changeType":{"type":"string"},"params":{"anyOf":[{},{"type":"null"}]}},"title":"RewardsParamsChangeItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/rewards/treasury-payments":{"get":{"summary":"Rewards treasury-payment history","tags":["rewards"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","height","recipient","denom","amount","purpose"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"recipient":{"anyOf":[{"type":"string"},{"type":"null"}]},"denom":{"anyOf":[{"type":"string"},{"type":"null"}]},"amount":{"anyOf":[{"type":"string"},{"type":"null"}]},"purpose":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"TreasuryPaymentItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/mining/payouts":{"get":{"summary":"Settlement payouts to participants (one row per recipient line)","tags":["mining"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"type":"string"},"in":"query","name":"recipient","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"slotId","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"epoch","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["id","slotId","epochNumber","chunkIndex","payoutIndex","recipient","amount","denom","height","txHash","msgIndex"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"chunkIndex":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"payoutIndex":{"type":"integer"},"recipient":{"type":"string"},"amount":{"type":"string"},"denom":{"type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"type":"string"},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]}},"title":"SettlementPayoutItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/mining/settlements":{"get":{"summary":"Settlements with observed activity (chunks submitted and/or finalized)","tags":["mining"],"parameters":[{"schema":{"minimum":1,"maximum":100,"default":50,"type":"integer"},"in":"query","name":"limit","required":false},{"schema":{"type":"string"},"in":"query","name":"cursor","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"slotId","required":false},{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"epoch","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data","page"],"properties":{"data":{"type":"array","items":{"type":"object","required":["slotId","epochNumber","settled","finalizationReason","releasedRemainder","finalizedHeight","finalizeTxHash","chunkCount","payoutCount","totalPaid","denom","lastHeight"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"settled":{"type":"boolean"},"finalizationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"releasedRemainder":{"anyOf":[{"type":"string"},{"type":"null"}]},"finalizedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"finalizeTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"chunkCount":{"type":"integer"},"payoutCount":{"type":"integer"},"totalPaid":{"type":"string"},"denom":{"type":"string"},"lastHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"}},"title":"SettlementItem"}},"page":{"type":"object","required":["limit","nextCursor"],"properties":{"limit":{"minimum":1,"type":"integer"},"nextCursor":{"anyOf":[{"type":"string"},{"type":"null"}]}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/mining/settlements/{slotId}/{epoch}":{"get":{"summary":"One settlement with its chunks and every recipient payout","tags":["mining"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"slotId","required":true},{"schema":{"type":"string"},"in":"path","name":"epoch","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["slotId","epochNumber","settled","finalizationReason","releasedRemainder","finalizedHeight","finalizeTxHash","chunkCount","payoutCount","totalPaid","denom","lastHeight","chunks","payouts"],"properties":{"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"settled":{"type":"boolean"},"finalizationReason":{"anyOf":[{"type":"string"},{"type":"null"}]},"releasedRemainder":{"anyOf":[{"type":"string"},{"type":"null"}]},"finalizedHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"finalizeTxHash":{"anyOf":[{"type":"string"},{"type":"null"}]},"chunkCount":{"type":"integer"},"payoutCount":{"type":"integer"},"totalPaid":{"type":"string"},"denom":{"type":"string"},"lastHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"chunks":{"type":"array","items":{"type":"object","required":["chunkIndex","recipientCount","chunkTotal","height","txHash"],"properties":{"chunkIndex":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"recipientCount":{"anyOf":[{"type":"integer"},{"type":"null"}]},"chunkTotal":{"anyOf":[{"type":"string"},{"type":"null"}]},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"type":"string"}}}},"payouts":{"type":"array","items":{"type":"object","required":["id","slotId","epochNumber","chunkIndex","payoutIndex","recipient","amount","denom","height","txHash","msgIndex"],"properties":{"id":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"slotId":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"epochNumber":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"chunkIndex":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"payoutIndex":{"type":"integer"},"recipient":{"type":"string"},"amount":{"type":"string"},"denom":{"type":"string"},"height":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"txHash":{"type":"string"},"msgIndex":{"anyOf":[{"type":"integer"},{"type":"null"}]}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/accounts/{address}/payout-summary":{"get":{"summary":"Total settlement rewards received by an address","tags":["mining"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["recipient","payoutCount","totalAmount","denom"],"properties":{"recipient":{"type":"string"},"payoutCount":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"totalAmount":{"type":"string"},"denom":{"anyOf":[{"type":"string"},{"type":"null"}]}},"title":"SettlementPayoutSummary"}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/supply":{"get":{"summary":"Total sampled supply (latest or at a specific height)","tags":["supply"],"parameters":[{"schema":{"pattern":"^\\d+$","type":"string"},"in":"query","name":"height","required":false},{"schema":{"type":"string"},"in":"query","name":"denom","required":false}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["sampledAtHeight","source","supply"],"properties":{"sampledAtHeight":{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},"source":{"type":"string","enum":["sampled"]},"supply":{"type":"array","items":{"type":"object","required":["denom","amount"],"properties":{"denom":{"type":"string"},"amount":{"type":"string"}}}}}}}}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}}}}}}}}}}},"/api/v1/accounts/{address}/balances":{"get":{"summary":"Current sampled balances for an account","tags":["accounts"],"parameters":[{"schema":{"type":"string"},"in":"path","name":"address","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"object","required":["address","sampled","sampledAtHeight","source","balances"],"properties":{"address":{"type":"string"},"sampled":{"type":"boolean"},"sampledAtHeight":{"anyOf":[{"pattern":"^\\d+$","description":"Decimal height/id as string","type":"string"},{"type":"null"}]},"source":{"type":"string","enum":["sampled"]},"balances":{"type":"array","items":{"type":"object","required":["denom","amount"],"properties":{"denom":{"type":"string"},"amount":{"type":"string"}}}}}}}}}}}}}}},"tags":[{"name":"health","description":"Liveness and readiness probes"},{"name":"status","description":"Indexer and projection status"},{"name":"blocks","description":"Canonical blocks"}]}