curl --request GET \
--url 'https://beaconcha.in/api/v1/slot/{slot}/attestations?apikey='{
"status": "OK",
"data": [
{
"aggregationbits": "0xff",
"beaconblockroot": "0x94677296757527ccfd5849a6c07d179a9ed783a771c7bb305b9b9350fffd97d0",
"block_index": 1,
"block_root": "0xfa4349ae9843b52cd7e9ff42e43deaf3a9220c0ae3f3dd64da9c2c97544dfd4c",
"block_slot": 12751688,
"committeeindex": 1,
"signature": "0xaa",
"slot": 12751687,
"source_epoch": 398489,
"source_root": "0x1c2bfaa61c0f5f7a8f8e3a16f6d0f1d4b3f2a1c0b9a8d7c6e5f4d3c2b1a0f9e8",
"target_epoch": 398490,
"target_root": "0x88f88f748227a397a09a7b8cbe13dab1d0411950993e618fc7a6d76d1d7d0c76",
"validators": [
0,
1,
2,
3
]
}
]
}Retrieve all attestations included in the beacon block for a specific slot. You can provide a slot number or the keyword latest to fetch attestations from the most recently processed slot. The response lists each aggregated attestation with its source/target checkpoints, committee index, and the participating validators.
curl --request GET \
--url 'https://beaconcha.in/api/v1/slot/{slot}/attestations?apikey='{
"status": "OK",
"data": [
{
"aggregationbits": "0xff",
"beaconblockroot": "0x94677296757527ccfd5849a6c07d179a9ed783a771c7bb305b9b9350fffd97d0",
"block_index": 1,
"block_root": "0xfa4349ae9843b52cd7e9ff42e43deaf3a9220c0ae3f3dd64da9c2c97544dfd4c",
"block_slot": 12751688,
"committeeindex": 1,
"signature": "0xaa",
"slot": 12751687,
"source_epoch": 398489,
"source_root": "0x1c2bfaa61c0f5f7a8f8e3a16f6d0f1d4b3f2a1c0b9a8d7c6e5f4d3c2b1a0f9e8",
"target_epoch": 398490,
"target_root": "0x88f88f748227a397a09a7b8cbe13dab1d0411950993e618fc7a6d76d1d7d0c76",
"validators": [
0,
1,
2,
3
]
}
]
}The slot to fetch. Provide an integer slot number (>= 0) or the special tag latest for the most recently processed slot.
Slot number (>= 0)
x >= 012751688
The slot was found and its attestations are returned in the data array. If the slot has no attestations, the array is empty.
Was this page helpful?