Skip to main content

qn_resolveENS RPC Method

Returns the ENS name, wallet address, resolver, and associated wallet addresses for a given address or ENS name.

Updated on
Mar 28, 2024

qn_resolveENS RPC Method

Please note that this RPC method requires the ENS Resolver add-on enabled on your QuickNode endpoint. Additionally, a list of all of the registered coin types that you can look up is located here.

Parameters

address
string
REQUIRED
The wallet address or ENS name
coinTypes
array
Array of coin symbols for associated wallet addresses. If no coin symbols are provided, the default symbols returned will be "ETH", "BTC" and "MATIC"

Returns

result
object
The information about the specified address or ENS name:
ensName
string
Resolved ENS name
walletAddress
string
Resolved Ethereum wallet address
resolver
string
Address of the ENS resolver contract
coinTypes
object
Associated wallet addresses for requested coin types
Request
1
curl https://docs-demo.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc": "2.0","id": 1,"method": "qn_resolveENS","params": [{"address": "vitalik.eth","coinTypes": ["ETH"]}]}'
5
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free