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
Because we perform a lookup based on script hash from the results returned from neoscan on the "history" page compared to the contents of neo-tokens repo, if a team changes its hash its logo will no longer be rendered in the transaction history panel for all of the previous transactions performed under that old script hash.
constendpoint=api.neoscan.getAPIEndpoint(net)const{ data }=awaitaxios.get(`${endpoint}/v1/get_address_abstracts/${address}/${page}`,)constparsedEntries=awaitparseAbstractData(data.entries,address,net)
and the output of the call looks as follow:
As you can see, the output contains only asset hashes. In order to implement your suggestion we will need to enrich the neoscan output with the asset's symbol. Do you agree? Or is there a work around to get the asset's symbol from the asset's hash?
@dauTT that would definitely make things substantially easier for us but I think another possible solution could be to store a list of deprecated hashes and their corresponding symbols in a json file that gets imported locally
Because we perform a lookup based on script hash from the results returned from neoscan on the "history" page compared to the contents of
neo-tokens
repo, if a team changes its hash its logo will no longer be rendered in the transaction history panel for all of the previous transactions performed under that old script hash.GOAL: modify the logic here https://github.com/CityOfZion/neon-wallet/blob/dev/app/util/findAndReturnTokenInfo.js such that logos are returned based on symbol rather than hash
The text was updated successfully, but these errors were encountered: