Anyone else having issues with old data being pulled? Seems hive.api.getAccounts
is pulling old hive information, not the most recent update. I've tried multiple browsers and even a second computer to verify, example page is the console.log history on https://profile.blokz.io/?hive=sn0n
You are viewing a single comment's thread from:
https://hiveblocks.com/@sn0n I'm noticing has 2 different versions of json metadata, the text in red is incorrect, but I see a posting json metadata on top that is showing updated information.... Assistance is more then welcomed.
https://github.com/steemit/steem/issues/3274 has more information, apparently it's a artifact from pre-hf21... Could this be updated to use posting_json_metadata with a json_metadata fallback? Or something?
posting_json_metadata requires only posting key to update but json_metadata requires active key.
What about to view it? My project site I'd like to display posting, but not sure what to call
https://developers.hive.io/apidefinitions/#database_api.find_accounts
database_api.find_accounts
returnsposting_json_metadata
hive.api.callAsync('database_api.find_accounts', { accounts: ['mahdiyari'] }) .then((res) => console.log(res))
or
hive.api.call('database_api.find_accounts', { accounts: ['mahdiyari'] }, (err, res) => { console.log(err, res) })
Beautiful, going to try that shortly. Appreciate the help.
Worked great, thank you again.