For a typical scenario of a single node, what values would be needed to be passed to this method to withdraw funds programmatically? I would guess _index will be 0 given that it would be the only node, and _blockNumber would be the resignation transaction block number + 1296000. Is that correct?
Hello @theabdullahalam
_blockNumber: There are 1296000 blocks cooling off period after you successfully RESIGN MasterNode/StandBy from XDC Validator.
_index: Each Owner can host multiple MasterNode from single account hence index params added to define withdrawal from multiple resign of MasterNode.
Here are few transactions where withdrawal function executed for multiple MasterNode.
xdc.blocksscan.io/txs/0x03a7b89184...
xdc.blocksscan.io/txs/0x57f05858b0...
Thank you so much for the response.
For a typical scenario of a single node, what values would be needed to be passed to this method to withdraw funds programmatically? I would guess
_index
will be0
given that it would be the only node, and_blockNumber
would be theresignation transaction block number + 1296000
. Is that correct?Yes. That is correct.