Skip to content

Domain Events

Run in ENSAdmin
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.graphql
query DomainEvents($name: InterpretedName!) {
domain(by: {name: $name}) {
events {
totalCount
edges {
node {
from
to
topics
data
timestamp
transactionHash
}
}
}
}
}

Payload and transport examples

variables.json
{
"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

Back to Examples