Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L2 Metadata API #209

Closed
pikonha opened this issue Sep 23, 2024 · 0 comments · Fixed by #216
Closed

L2 Metadata API #209

pikonha opened this issue Sep 23, 2024 · 0 comments · Fixed by #216
Assignees
Labels
enhancement New feature or request

Comments

@pikonha
Copy link
Contributor

pikonha commented Sep 23, 2024

Feature Request

Implement the ENSIP-16 for Arbitrum domains.

Describe Preferred Solution

Create a domain graphql resolver for gathering data from Arbitrum the same way we do for the database ones.

type Domain {
  id: ID!
  context: Bytes
  owner: Bytes
  name: String
  node: Bytes
  label: String
  labelhash: Bytes
  resolvedAddress: Bytes
  parent: String
  parentNode: Bytes
  subdomains: [Domain!]
  subdomainCount: Int!
  resolver: Resolver!
  expiryDate: BigInt!
  registerDate: BigInt
}

type Text {
  key: String
  value: String
}

type Address {
  address: Bytes
  coin: BigInt
}

type Resolver {
  id: ID!
  node: Bytes
  context: Bytes
  address: Bytes
  addr: Bytes
  contentHash: Bytes
  texts: [Text!]
  addresses: [Address!]
}

type Query {
  domain(name: String!): Domain
}

Architecture Diagram

QA Replication steps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant