Example ETH2 query validator
Returns attestations on eth2, where date since 2021-10-10, validator index is 209861 and attestation epoch is 70363, sorted by date date: date date, count, epoch, slot and attestation signature.
What it returns
- date date
- count
- epoch
- slot
- attestation signature
Filters
- date since 2021-10-10
- validator index is 209861
- attestation epoch is 70363
The query
query ($network: Ethereum2Network!, $dateFormat: String!, $index: Int!, $from: ISO8601DateTime, $till: ISO8601DateTime) {
ethereum2(network: $network) {
attestations(
options: {asc: "date.date"}
date: {since: $from, till: $till}
validatorIndex: {is: $index}
attestationEpoch: {is: 70363}
) {
date: date {
date(format: $dateFormat)
}
count
attestation{
epoch
slot
source{
epoch
}
target {
epoch
}
signature
slot
}
}
}
}
Variables
{
"limit": 10,
"offset": 0,
"network": "eth2",
"index": 209861,
"from": "2021-10-10",
"till": null,
"dateFormat": "%Y-%m-%d"
}
Similar queries
- eth attestations · Eth2 · attestations
- Attestation Committee_Info · Eth2 · attestations
- count of epoch total attestation · Eth2 · attestations
- Validator attestation by date · Eth2 · attestations
- Sample ETH2 query · Eth2 · proposerSlashings