dependabot[bot] 3399a2317c
Bump @vercel/node from 2.5.21 to 2.5.26
Bumps [@vercel/node](https://github.com/vercel/vercel/tree/HEAD/packages/node) from 2.5.21 to 2.5.26.
- [Release notes](https://github.com/vercel/vercel/releases)
- [Commits](https://github.com/vercel/vercel/commits/@vercel/node@2.5.26/packages/node)

---
updated-dependencies:
- dependency-name: "@vercel/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 10:47:12 +00:00
2022-08-25 18:52:07 +03:00
2022-08-25 18:39:17 +03:00
2022-08-25 19:02:29 +03:00
2022-08-22 11:28:08 +03:00
2022-08-22 16:42:12 +03:00
2022-08-22 15:42:40 +03:00
2022-08-15 15:57:57 +03:00
2022-08-24 16:52:33 +03:00
2022-08-25 17:37:06 +03:00
2022-09-22 15:49:01 +01:00

Proxy API for ENS requests

Running Locally

npm install
npm i -g vercel
vercel dev

Example Requests

Get Ens Name

GET http://localhost:3000/api/name?accountId=0x99840Df5Cb42faBE0Feb8811Aaa4BC99cA6C84e0

Example response:

{
    "name": "jellymcjellyfish.eth"
}

Get Ens Address

GET http://localhost:3000/api/address?name=jellymcjellyfish.eth

Example response:

{
    "address": "0x99840Df5Cb42faBE0Feb8811Aaa4BC99cA6C84e0"
}

Get Ens Text Records

GET http://localhost:3000/api/text?name=jellymcjellyfish.eth

Example response:

{
    "records": [
        {
            "key": "url",
            "value": "https://oceanprotocol.com"
        },
        {
            "key": "avatar",
            "value": "https://raw.githubusercontent.com/oceanprotocol/art/main/logo/favicon-white.png"
        },
        {
            "key": "com.twitter",
            "value": "oceanprotocol"
        },
        {
            "key": "com.github",
            "value": "oceanprotocol"
        }
    ]
}

Get ENS Profile

GET http://localhost:3000/api/profile?address=0x99840Df5Cb42faBE0Feb8811Aaa4BC99cA6C84e0

Example response:

{
    "profile": {
        "name": "jellymcjellyfish.eth",
        "avatar": "https://metadata.ens.domains/mainnet/avatar/jellymcjellyfish.eth",
        "links": [
            {
                "key": "url",
                "value": "https://oceanprotocol.com"
            },
            {
                "key": "com.twitter",
                "value": "oceanprotocol"
            },
            {
                "key": "com.github",
                "value": "oceanprotocol"
            }
        ]
    }
}
Description
No description provided
Readme 870 KiB
Languages
TypeScript 98.8%
Shell 0.9%
HTML 0.3%