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
I agree with @Torres-ssf, there is already the getMintedAsset that returns pretty much the assetId and is the same function I had to use when writing the createAssetId. They are also located in the same file
Is there some special feature of the new createAssetId.
Motivation
Creating an assetId manually is easy, but is also easy to mess up. For new devs this function would be helpful.
Summary
createAssetId
createAssetId
in Native Parameters -> Asset IDUsage example
const assetId = createAssetId(contractId, subId)
Possible implementations
The text was updated successfully, but these errors were encountered: