Get a snapshot
Issue a GET
request to the snapshot
endpoint to get all snapshots or a specific snapshot
Get all snapshots
GET https://admin-api.phosphor.xyz/v1/snapshots
Example response
{
"cursor": "c3RfZjM4YWUyMTQtYTE3ZS00NWE2LWJkMGUtZTljMmQ5ZGFkMWNi",
"has_more": false,
"results": [
{
"collection_id": null,
"contract_address": "0x8584C83126cD9B0C855f3F865d49a7460C1FA592",
"criteria": {
"block_number": "14655817",
"max_tokens": null,
"min_tokens": null,
"timestamp": null,
"token_ids": null,
"token_range": [
{
"from_id": "9",
"to_id": "11"
}
]
},
"id": "c6212b64-6a3c-48d5-804f-027b10abab80",
"name": "test-snapshot-21",
"network_id": 59140,
"organization_id": "f4d13d67-d918-4e34-9a4d-166f243cc6c5",
"status": "COMPLETED",
"token_type": "ERC1155"
},
{
"collection_id": null,
"contract_address": "0x8584C83126cD9B0C855f3F865d49a7460C1FA592",
"criteria": {
"block_number": "14655817",
"max_tokens": null,
"min_tokens": "1",
"timestamp": null,
"token_ids": null,
"token_range": [
{
"from_id": "9",
"to_id": "11"
}
]
},
"id": "d888372c-84cb-4e33-8743-c1608fa9abba",
"name": "test-snapshot-27",
"network_id": 59140,
"organization_id": "f4d13d67-d918-4e34-9a4d-166f243cc6c5",
"status": "COMPLETED",
"token_type": "ERC1155"
},
{
"collection_id": null,
"contract_address": "0x23581767a106ae21c074b2276D25e5C3e136a68b",
"criteria": {
"block_number": "15796241",
"max_tokens": null,
"min_tokens": "1",
"timestamp": null,
"token_ids": null,
"token_range": [
{
"from_id": "7403",
"to_id": "7404"
}
]
},
"id": "e15c7574-de44-4600-b533-df6ed9875983",
"name": "test-snapshot-30",
"network_id": 59140,
"organization_id": "f4d13d67-d918-4e34-9a4d-166f243cc6c5",
"status": "COMPLETED",
"token_type": "ERC721"
}
],
"total_results": 3
}
Get a specific snapshot by ID
GET https://admin-api.phosphor.xyz/v1/snapshots/{snapshot_id}
Example response
{
"collection_id": null,
"contract_address": "0x23581767a106ae21c074b2276D25e5C3e136a68b",
"criteria": {
"block_number": "15796241",
"max_tokens": null,
"min_tokens": "1",
"timestamp": null,
"token_ids": null,
"token_range": [
{
"from_id": "1000",
"to_id": "7404"
}
]
},
"id": "69520a3f-12fd-4977-a04c-47ece3616e24",
"name": "snapshot-315",
"network_id": 59140,
"organization_id": "f4d13d67-d918-4e34-9a4d-166f243cc6c5",
"status": "COMPLETED",
"token_type": "ERC721"
}