1.0.3 • Published 3 years ago

@yukaii/ens-lookup v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

ENS Lookup

This is a library for looking up ENS domain for address or reverse lookup by crawling the Etherscan website.

Install

npm install @yukaii/ens-lookup

Usage

import { lookup } from "@yukaii/ens-lookup";

lookup("vitalik.eth").then(console.log);

// =>
// {
//   found: true,
//   address: '0x1234123123123123123123123123123123123123',
//   controller: '0x1234123123123123123123123123123123123123',
//   registrant: '0x1234123123123123123123123123123123123123',
//   expiration: '2042.05.03 at 21:05',
//   tokenId: '0x1234123123123123123123123123123123123123 Lookup names ',
//   transactions: [
//     {
//       ...

Check out the typing and tests for more details.

License

MIT

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago