Replies: 2 comments 1 reply
-
To get all the NFTs at a contract address or in collection use functions like getNFTsByCollection |
Beta Was this translation helpful? Give feedback.
0 replies
-
you are passing an object to getNFT instead of passing the individual parameters. as @thenerdassassin said, you can use getNFTsByCollection and getNFTsByContract. we are in the process of updating our docs and will have a new release for them soon, thanks for your patience. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was following the documentation and using
getAsset
as follows:This function works fine, but according to VS Code it is deprecated, and suggests I should use
getNFT
. I am wondering why the getting started docs have not been updated. I tried to use thegetNFT
function, but I can't get it to work:Does anyone have any suggestions? Does
getNFT
have a way to pass in null for identifier and get all the NFTs?Beta Was this translation helpful? Give feedback.
All reactions