Domain Events
Run in ENSAdmin
Opens the hosted playground with this query pre-filled.
query DomainEvents($name: InterpretedName!) {
domain(by: {name: $name}) {
events {
totalCount
edges {
node {
from
to
topics
data
timestamp
transactionHash
}
}
}
}
} {
"name": "sfmonicdebmig.eth"
} {
"data": {
"domain": null
}
} # POST JSON to your ENSNode Omnigraph endpoint (same path enssdk uses).
curl -sS -X POST "https://api.v2-sepolia.ensnode.io/api/omnigraph" \
-H "Content-Type: application/json" \
-d @- <<'EOF'
{
"query": "query DomainEvents($name: InterpretedName!) { domain(by: {name: $name}) { events { totalCount edges { node { from to topics data timestamp transactionHash } } } } }",
"variables": {
"name": "sfmonicdebmig.eth"
}
}
EOF
ENS Omnigraph GraphQL
query DomainEvents($name: InterpretedName!) { domain(by: {name: $name}) { events { totalCount edges { node { from to topics data timestamp transactionHash } } } }}Payload and transport examples
{ "name": "sfmonicdebmig.eth"}
Response is an illustrative snapshot; live data depends on your ENSNode instance. The curl tab shows a POST to
https://api.v2-sepolia.ensnode.io/api/omnigraph