Developers Forum for XinFin XDC Network

Discussion on: [Closed]What do the parameters in XDC Validator Contract withdraw function refer to?

Collapse
theabdullahalam profile image
Abdullah Alam Author

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 be 0 given that it would be the only node, and _blockNumber would be the resignation transaction block number + 1296000. Is that correct?

Collapse
ivan_blocksscan profile image
Ivan_BlocksScan

Yes. That is correct.