Skip to main content

/eth/v1/beacon/blocks/{block_id}/attestations RPC Method

Retrieves attestation included in requested block.

Updated on
Dec 17, 2024

/eth/v1/beacon/blocks/{block_id}/attestations RPC Method

Parameters

block_id
string
REQUIRED
The state identifier. It can be a slot number, blockRoot (encoded in hexadecimal format) or tags (Supported tags include - head (canonical head in node's view), genesis, finalized or justified)

Returns

execution_optimistic
boolean
It's true if the response references an unverified execution payload. The optimistic information may be invalidated at a later time. If the field is not present, assume the false value
finalized
boolean
A boolean field indicating whether the current state has been finalized
data
array
The attestation object from the CL spec containing the following values:
aggregation_bits
string
The attester aggregation bits
data
array
The AttestationData object from the CL spec
slot
string
The corresponding slot
index
string
The index
beacon_block_root
string
The LMD GHOST vote
source
array
The Checkpoint
epoch
string
The corresponding epoch
root
string
The corresponding root
target
array
The Checkpoint
epoch
string
The corresponding epoch
root
string
The corresponding root
signature
string
A hexadecimal string representing the aggregated BLS (Boneh-Lynn-Shacham) signature of the attesting validators
Request
1
curl -X GET \
2
"https://docs-demo.vana-mainnet.quiknode.pro/eth/v1/beacon/blocks/head/attestations" \
3
-H "accept: application/json"
4
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free