PR Merged: Add steem.api.findChangeRecoveryAccountRequests

in Witness Activities21 days ago

I have made a PR to improve the steemjs: https://github.com/steemit/steem-js/pull/509

image.png

So, with this PR, instead of calling via steem.api.send, you can use:

steem.api.findChangeRecoveryAccountRequests(['justyy222', 'ety001', 'justyy'], function(err, data) {
    console.log(err, data);
});

Example return:

{"requests":
  [
    {
      "id":2238,
      "account_to_recover":"justyy222",
      "recovery_account":"happyukgo",
      "effective_on":"2024-09-24T06:15:33"
    }
  ]
}

I've also add a test in the PR to ensure this works as expected.

Steem to the Moon🚀!