Contracts & events
List parsed contracts
Query Parameters
min_ledger?integer
Inclusive minimum ledger. Defaults to max_ledger minus 63, or the ledger encoded in an operation/trade ID.
Range
1 <= valuemax_ledger?integer
Inclusive maximum ledger. Defaults to the greatest published parsed ledger, or the ledger encoded in an operation/trade ID.
Range
1 <= valuestart_time?string
Inclusive UTC ISO timestamp ending in Z. Narrows the selected ledger window; not an all-history date search.
Format
date-timeend_time?string
Exclusive UTC ISO timestamp ending in Z.
Format
date-timelimit?integer
Maximum returned rows, with one lookahead row for nextOffset.
Range
1 <= value <= 100Default
25offset?integer
Zero-based offset. Follow nextOffset with unchanged filters; narrow the window once offset exceeds 10000.
Range
0 <= value <= 10000Default
0Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/analytics/contracts"{ "entity": "contracts", "window": { "minLedger": 63491202, "maxLedger": 63491202 }, "coverage": { "completedRanges": [ { "firstLedger": "2", "lastLedger": "63489999" }, { "firstLedger": "63490304", "lastLedger": "63490367" } ], "contiguousFirstLedger": "2", "contiguousLastLedger": "63489999", "contiguousLedgerCount": "63489998", "supplementalLedgerCount": "64", "totalLedgerCount": "63490062", "nextLedger": "63490000", "minimumLedger": "2", "maximumLedger": "63490367", "gapCount": 1 }, "coverageStatus": "partial_or_unknown", "source": "stellar_hubble", "semantics": "Historical observations in the selected ledger window; not current-chain state.", "rows": [ { "id": "CDL74RF5BLYR2YBLCCI7F5FB6TPSCLKEJUBSD2RSVWZ4YHF3VMFAIGWA" } ], "limit": 10, "offset": 0, "nextOffset": null}