AddressOf
Ask AI
AddressOf returns the address behind a username or an address, or "" when nobody holds it.
It is the call another realm would want, and the one it cannot have: this realm is `private = true`, so nothing can import it. Over `vm/qeval` it is the whole point.
Example
1gnokey query vm/qeval -data 'gno.land/r/moul/toolbox/usernames.AddressOf("moul")'
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/toolbox/usernames.AddressOf()"
Result