Skip to main content

Get snapshot holders

Issue a GET request to the snapshot endpoint to retrieve token holders for a snapshot.

GET https://admin-api.phosphor.xyz/v1/snapshots/{snapshot_id}/holders?output_type=PER_ADDRESS

output_type is an optional field that has an enum value of PER_TOKEN or PER_ADDRESS. The default is PER_ADDRESS.

PER_TOKEN
{
"cursor": "c3RfYWJmNGMxODItOGVjZC00M2M2LWFkNDQtZjk3ZDMxMWFjZWNl",
"has_more": false,
"results": [
{
"address": "0xD068e715B67475766cBdA68Aa514589b92ff2D1c",
"quantity": 1,
"token_id": 7404
},
{
"address": "0xdd412468738CA63eA0F969948aBA3E35e344009F",
"quantity": 1,
"token_id": 7403
}
],
"total_results": 2
}
PER_ADDRESS
{
"cursor": "c3RfMHhkZDQxMjQ2ODczOENBNjNlQTBGOTY5OTQ4YUJBM0UzNWUzNDQwMDlG",
"has_more": false,
"results": [
{
"address": "0xD068e715B67475766cBdA68Aa514589b92ff2D1c",
"quantity": 1
},
{
"address": "0xdd412468738CA63eA0F969948aBA3E35e344009F",
"quantity": 1
}
],
"total_results": 2
}