You are viewing a single comment's thread from:

RE: Hive-js & Hive-tx migration to Hive - Breaking changes for browsers!

in HiveDevs5 years ago (edited)

https://developers.hive.io/apidefinitions/#database_api.find_accounts

database_api.find_accounts returns posting_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)
})
Sort:  

Beautiful, going to try that shortly. Appreciate the help.

Worked great, thank you again.