PR Merged: Add steem.api.findChangeRecoveryAccountRequests

in Witness Activities3 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.20
JST 0.034
BTC 98043.90
ETH 3346.07
USDT 1.00
SBD 3.02