Replies: 1 comment 2 replies
-
If you're looking for the asset's address, you're looking for the Metadata object address. You can use object::object_address(&Object<Metadata>) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I wanted to know if there's a way to get address of
Object<FungibleAsset>
. One possible approach could have been usingobject_address<T>()
which requiresT: key
but hereFungibleAsset
doesn't implement key, I was wondering if there are any other ways to get the object's address.Beta Was this translation helpful? Give feedback.
All reactions