NFT details return value #34
markopoloparadox
started this conversation in
General
Replies: 1 comment
-
I think issues would be best here. We can certainly modify this, though the default choice in this case would be to keep it as it is. Based on our use cases returning an |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@ETeissonniere @ybensacq
Currently when the NFTs
details
method is called it always returns a valid value even when an invalid nft id is passed. Does it make sense to change its return type toOption<>
orResult<>
so that the response from an invalid id can be distinguished from a valid id?Btw, if this kind of questions are supposed to be communicated through the Issues mechanism or through private messaging please tell me so that I don't make a mistake next time.
Beta Was this translation helpful? Give feedback.
All reactions