You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Doc example code needs a small change. The code example for domain lookup returns the owner address and not the address that the .tez domain points to.
Expected behavior
Example code should do what's described in that section
It is also possible to look up a domain name to find the address it references.
Additional context
You can see pretty clearly it returns the owner for the Tezos Domain. However the owner address is not necessarily the address that the Tezos Domain points to. I believe it should instead return domain.address instead of domain.owner.
The text was updated successfully, but these errors were encountered:
Can someone please confirm that domain.address is the wallet address the tezos domain points towards whereas domain.owner is the wallet address that owns the domain? And that these could be different wallet addresses?
Hi @Bug-Reaper, yes, the domain.address will point to the address that the name, ie. alice.tez will point to where, as the domain.address is the address that owns that domain name
I believe the usual is the two being the same tz1/2/3/4 address. However, that is not a hard rule; they can be different.
Description
Doc example code needs a small change. The code example for domain lookup returns the owner address and not the address that the
.tez
domain points to.Steps To Reproduce
Expected behavior
Example code should do what's described in that section
Additional context
You can see pretty clearly it returns the owner for the Tezos Domain. However the owner address is not necessarily the address that the Tezos Domain points to. I believe it should instead return
domain.address
instead ofdomain.owner
.The text was updated successfully, but these errors were encountered: