Resolve
Ask AI
Resolve returns the current username and the address behind any input, a username or a `g1` address.
found is false when nobody holds it, which is also the answer for a deleted user: `r/sys/users` keeps the tombstone and resolves it to nothing.
Example
1gnokey query vm/qeval -data 'gno.land/r/moul/toolbox/usernames.Resolve("moul")'
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1magld5ptgzaktqcexxq0pgq5lmdf0kz6re8hlv/toolbox/usernames.Resolve()"
Result