Get Latest Ordinal
- URL:
/global-snapshots/latest/ordinal
- Method:
GET
- Description: Retrieves the ordinal value of the latest global snapshot.
- Example Response:
{ "value": 10 }
Get Latest/Specific Snapshot
- URL:
/global-snapshots/latest
|/global-snapshots/[ORDINAL]
- Method:
GET
- Description: Retrieves global snapshot along with its metadata and proofs.
- Example Response:
{ "value": { "ordinal": 10, "height": 0, "subHeight": 10, "lastSnapshotHash": "dfdacc2f9fd2185ef1a16a3b833121be9bb20d9ebf4d97639bad57dec0911878", "blocks": [], "blockHashes": [], "stateChannelSnapshots": {}, "rewards": [ { "destination": "DAG3gkRSzq1zrJRBDEofsDdEHnssd8mcUuQjG4x8", "amount": 1 } ], "epochProgress": 10, "nextFacilitators": [ "e0c1ee6ec43510f0e16d2969a7a7c074a5c8cdb477c074fe9c32a9aad8cbc8ff1dff60bb81923e0db437d2686a9b65b86c403e6a21fa32b6acc4e61be4d70925" ], "tips": { "deprecated": [], "remainedActive": [ { "block": { "height": 0, "hash": "0000000000000000000000000000000000000000000000000000000000000000" }, "usageCount": 0, "introducedAt": 0 }, { "block": { "height": 0, "hash": "0000000000000000000000000000000000000000000000000000000000000001" }, "usageCount": 0, "introducedAt": 0 } ] }, "stateProof": { "lastStateChannelSnapshotHashesProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "lastTxRefsProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "balancesProof": "de8c188a2b5c1717d24aba7ca673813494c727928161771c5ed6bd23ba14a4a9", "deployAppTransactionsInfoProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "registerAppProviderTransactionsInfoProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, "influenceMapHash": null, "proposalBlocks": null, "version": "0.0.1" }, "proofs": [ { "id": "00b8a56a20fc2e2a0196b8b8f4593ea4f736555506950103eb6fbbe435c0eeb71b32abfe21ae63bb3de8b9afdfa604bfd5837ef61e261611b8a0e5efd92ef1ea", "signature": "304402200318a15dbb1d07d15a870b34d91345bdbee26c670c92890a78eecbcd9b2c6c51022076dcd4bf979a2b7de705e6f6c9f8d530052931d7b097a06d9686af769a5fd500" } ] }
Get Latest Combined Snapshot
- URL:
/global-snapshots/latest/combined
- Method:
GET
- Description: Retrieves the latest global snapshot along with additional combined data.
- Example Response:
[ { "value": { "ordinal": 10, "height": 0, "subHeight": 10, "lastSnapshotHash": "dfdacc2f9fd2185ef1a16a3b833121be9bb20d9ebf4d97639bad57dec0911878", "blocks": [], "blockHashes": [], "stateChannelSnapshots": {}, "rewards": [ { "destination": "DAG3gkRSzq1zrJRBDEofsDdEHnssd8mcUuQjG4x8", "amount": 1 } ], "epochProgress": 10, "nextFacilitators": [ "e0c1ee6ec43510f0e16d2969a7a7c074a5c8cdb477c074fe9c32a9aad8cbc8ff1dff60bb81923e0db437d2686a9b65b86c403e6a21fa32b6acc4e61be4d70925" ], "tips": { "deprecated": [], "remainedActive": [] }, "stateProof": { "lastStateChannelSnapshotHashesProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "lastTxRefsProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "balancesProof": "de8c188a2b5c1717d24aba7ca673813494c727928161771c5ed6bd23ba14a4a9", "deployAppTransactionsInfoProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", "registerAppProviderTransactionsInfoProof": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a" }, "influenceMapHash": null, "proposalBlocks": null, "version": "0.0.1" }, "proofs": [ { "id": "00b8a56a20fc2e2a0196b8b8f4593ea4f736555506950103eb6fbbe435c0eeb71b32abfe21ae63bb3de8b9afdfa604bfd5837ef61e261611b8a0e5efd92ef1ea", "signature": "304402200318a15dbb1d07d15a870b34d91345bdbee26c670c92890a78eecbcd9b2c6c51022076dcd4bf979a2b7de705e6f6c9f8d530052931d7b097a06d9686af769a5fd500" } ] }, { "lastStateChannelSnapshotHashes": {}, "lastTxRefs": {}, "balances": { "DAG0R1CMwfLPNp4qkA2TTqkcKWp3mC7U4ZMD5n1B": 1000000000, "DAG3gkRSzq1zrJRBDEofsDdEHnssd8mcUuQjG4x8": 10 }, "deployAppTransactionsInfo": {}, "registerAppProviderTransactionsInfo": {}, "influenceMapHashOpt": null } ]