⛓️
Ether Name Services
  • 👋Welcome to Ether Projects
  • Overview
    • 💡What are Ether name services?
  • 🚹NAME SERVICES
    • ✨.ether (Mainnet)
    • 🟠.era (zkSync Era)
    • ⚫.lin (Linea)
    • 🟣.manta (Manta)
    • ⛓️.pol (Polygon zkEVM)
    • 🔵.bns (Base)
    • 📜.scroll (Scroll Mainnet)
    • ⚪.zr (Zora)
    • 🟡.nova (Nova)
    • 🟢.md (Mode)
    • 🔥.blast (Blast)
  • 🪙TOKENS
    • 🟠$ERA
    • 🔵$BNS
    • ⚫$LNS
    • 🟣$SNS
    • ❓Others
  • ⚒️Developers
    • 📪Overview
    • 👨‍💻Smart Contract
    • 👩‍💻JSON - RPC
    • 📄Verified Smart Contracts
    • 📔ABI's
Powered by GitBook
On this page
  • Resolve Address
  • Primary Address
  1. Developers

JSON - RPC

You can add name services to your project using JSON-RPC. You can use it for address resolution and to display the primary address.

PreviousSmart ContractNextVerified Smart Contracts

Last updated 1 year ago

Resolve Address

https://rpc.ether.domains/domain//getRecord/{DOMAIN_NAME}.{DOMAIN_EXTENSION}

Examples:

Primary Address

https://rpc.ether.domains/domain/{DOMAIN_CHAIN}/getReverseRecord/{ADDRESS}

Examples:

https://rpc.ether.domains/domain/base/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> base.bns

https://rpc.ether.domains/domain/ether/getReverseRecord/0x74dAE0F3C527f4546fa8CE7b9cFFA6A10A9f5e00
>>> kryptos.ether

https://rpc.ether.domains/domain/era/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> era.era

https://rpc.ether.domains/domain/polygon/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> polygon.pol

https://rpc.ether.domains/domain/linea/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> linea.lin

https://rpc.ether.domains/domain/scroll/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> scroll.scroll

https://rpc.ether.domains/domain/zora/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> zora.zr

https://rpc.ether.domains/domain/manta/getReverseRecord/0xa0eDC5F03449BF8977AB0ECf5924a5126E513d4B
>>> manta.manta
⚒️
👩‍💻
https://rpc.ether.domains/domain/base/getRecord/base.bns
https://rpc.ether.domains/domain/ether/getRecord/gamer.ether
https://rpc.ether.domains/domain/era/getRecord/abc.era
https://rpc.ether.domains/domain/linea/getRecord/amazon.lin
https://rpc.ether.domains/domain/polygon/getRecord/tesla.pol
https://rpc.ether.domains/domain/scroll/getRecord/scroll.scroll
https://rpc.ether.domains/domain/zora/getRecord/zora.zr
https://rpc.ether.domains/domain/manta/getRecord/abcd.manta