pugson / ens-records-api

Simple API hosted as a Vercel serverless function to get the records of an ENS name

Home Page:https://ens-records-api.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ENS Records API

The API can be hosted in two ways: serverless on Vercel or an Express.js server.

The Express.js version has more features but is slightly slower. Here's a quick overview of the differences:

Vercel:

  • Individually fetches predetermined text records

Express:

  • Fetches all text records (makes a call to TheGraph first, which is why it's a bit slower)
    • If you wanted to change this, just set skipGraph to true here
  • Adds a /batch endpoint to reverse resolve a list of addresses

About

Simple API hosted as a Vercel serverless function to get the records of an ENS name

https://ens-records-api.vercel.app


Languages

Language:TypeScript 81.7%Language:JavaScript 14.4%Language:HTML 4.0%