PR Merged: Add steem.api.findChangeRecoveryAccountRequests

in Witness Activities4 months 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🚀!

Coin Marketplace

STEEM 0.21
TRX 0.25
JST 0.038
BTC 97111.20
ETH 3382.29
USDT 1.00
SBD 3.20