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
- objectobjectREQUIRED
The ENS resolution request object with the following fields:
- addressstringREQUIRED
The wallet address or ENS name
- coinTypesarray
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
- resultobject
The information about the specified address or ENS name:
- ensNamestring
Resolved ENS name
- walletAddressstring
Resolved Ethereum wallet address
- resolverstring
Address of the ENS resolver contract
- coinTypesobject
Associated wallet addresses for requested coin types
Request
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"ensName": "vitalik.eth",6"walletAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",7"resolver": "0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63",8"coinTypes": {9"ETH": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"10}11}12}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"ensName": "vitalik.eth",6"walletAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",7"resolver": "0x231b0Ee14048e9dCcD1d247744d114a4EB5E8E63",8"coinTypes": {9"ETH": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045"10}11}12}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free