-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getAssetById return metadataHash nil #30
Comments
Ciao @LucaInfante (nice to meet you - I know your brother :D), I'd love to doublecheck with @Jesulonimi21 on this. At the moment, according to docs, we should expect this payload: https://developer.algorand.org/docs/rest-apis/algod/v2/#assetparams where I see two problems here -> https://github.com/Jesulonimi21/Swift-Algorand-Sdk/blob/main/Sources/swift-algorand-sdk/model/AssetParamsData.swift
We should add a custom decoding/encoding part like we did for other entities. @LucaInfante is there any chance you could provide us an example JSON (with no sensitive data) we could use in unit tests so that we are sure we are not introducing regressions? I've tried this
from @Jesulonimi21 example but there's no metadataHash involved Thanks! |
… quicker conversions between Base64 strings and [Int8] arrays
@LucaInfante can you try linked PR (#34) and see if it works? |
When I try to retrieve an asset with getAssetById I obtain always metadataHash to nil.
If I try with PureStake the metadataHash is populated. Can you help me?
The text was updated successfully, but these errors were encountered: