Transfer Refund
Once the user's previous transfer status is TRANSFER_TO_BE_REFUNDED, FE(front-end) needs to handle as follows to bring back user's assets to his/her wallet:
Polling GetTransferStatus until transfer status is TRANSFER_TO_BE_CONFIRMED
Submit on-chain withdraw request to cBridge contract with information provided by cBridge gateway in GetTransferStatus response
Once the refund transaction succeeds, the refund flow is complete.
Last updated