Export a snapshot to CSV
Issue a GET request to the snapshot endpoint to export a snapshot to CSV format.
GET https://admin-api.phosphor.xyz/v1/snapshots/{snapshot_id}/holders/csv?output_type=PER_TOKEN
output_type is an optional field that has an enum value of PER_TOKEN or PER_ADDRESS. The default is the PER_TOKEN CSV format.
PER_TOKEN- ERC721 response
- ERC1155 response
address,quantity,token_id
0xD068e715B67475766cBdA68Aa514589b92ff2D1c,1,7404
0xdd412468738CA63eA0F969948aBA3E35e344009F,1,7403
address,quantity,token_id
0x60311403A64E47Cb65e17c56da22694364740789,4,9
0x60311403A64E47Cb65e17c56da22694364740789,5,10
0x60311403A64E47Cb65e17c56da22694364740789,5,11
PER_ADDRESS- ERC721 response
- ERC1155 response
address,quantity
0xdd412468738CA63eA0F969948aBA3E35e344009F,1
0xD068e715B67475766cBdA68Aa514589b92ff2D1c,1
address,quantity
0x60311403A64E47Cb65e17c56da22694364740789,14