You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[pinia 2.x or 3.x](https://github.com/vuejs/pinia)
29
29
-[vue 3.x](https://github.com/vuejs/core)
@@ -179,6 +179,46 @@ const {
179
179
-**`getTokenOwner`**: An async function to get the current token holder wallet address. This is only a utility/convenience function that is not required. This function is not ready to fire until isLoading is true. Watch isLoading and do not fire getTokenMetaData until isLoading has been set to false at least once. Most likely, you should just use the useEvmNft composable to get this function, unless you have already called this composable, because this composable will return the first page of NFTs regardless.
180
180
-**`getTokenMetaData`**: An async function to get meta data for an array of Token Ids. This is only a utility/convenience function that is not required. If chain ID is not null, then we get the meta data without needing to access the blockchain at all because we use Dig-A-Hash predictable storage paths based on that chain ID. This function is not ready to fire until isLoading is true. Watch isLoading and do not fire getTokenMetaData until isLoading has been set to false at least once. Most likely, you should just use the useEvmNft composable to get this function, unless you have already called this composable, because this composable will return the first page of NFTs regardless.
181
181
182
+
## useDahGallery Composable
183
+
184
+
This composable is exactly like the useEvmMetaDataGallery but this composable requires two new props to the config because there is absolutely no on-chain validation at all using this composable. This is the fastest, and most reliable method.
-**`All items from useEvmMetaDataGallery config`**: All items from the useEvmMetaDataGallery config object are used here the same way. Two new options must be specified below.
219
+
-**`startTokenId`**: A number indicating the starting token id for the collection, usually 0 or 1.
220
+
-**`supply`**: A number specifying the total supply count of all NFTs on contract.
221
+
182
222
## useEvmNft Composable
183
223
The useEvmNft composable is the core composable used internally by both useEvmNftGallery, and useEvmMetaDataGallery.
0 commit comments