制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Next-generation ENS metadata service built on Cloudflare Workers for ENS v1 and v2 on Ethereum (mainnet + sepolia testnet).
contract/tokenId reverse lookup is indexer-only)curl https://ens-metadata.ens-cf.workers.dev/mainnet/registry/ethereum.eth # metadata (JSON)
curl https://ens-metadata.ens-cf.workers.dev/mainnet/registry/ethereum.eth/image # NFT card (SVG)
curl https://ens-metadata.ens-cf.workers.dev/mainnet/avatar/ethereum.eth # avatar image
Rendered live by the deployment.
{network} is mainnet or sepolia. Opened in a browser tab, an image endpoint shows a page with the image and the endpoint's documentation; <img>, fetch() and API clients get the image itself.
| Method | Path | Returns |
|---|---|---|
GET | / | Service info (service, version, status, timestamp) |
GET | /{network}/{registryType}/{identifier} | NFT metadata (JSON) |
GET | /{network}/{registryType}/{identifier}/image | NFT card (SVG) |
GET | /{network}/{registryType}/{identifier}/rasterize | NFT card (PNG) |
GET | /{network}/avatar/{name} | Avatar image (the avatar text record) |
GET | /{network}/avatar/{name}/meta | Avatar record metadata (JSON, v1 parity) |
GET | /{network}/header/{name} | Header image (the header text record) |
GET | /migration-status/{name}?network= | Migration status |
GET | /registry-hierarchy/{name}?network= | Registry hierarchy |
POST | /batch-metadata | Metadata for many names at once |
POST | /webhook | Indexer webhook (HMAC-authenticated) |
GET | /health | Health check |
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗