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:
  1. 1.
    Submit withdraw liquidity request to cBridge gateway for transfer refund
  2. 2.
    Submit on-chain withdraw request to cBridge contract with information provided by cBridge gateway in withdraw liquidity response
  3. 3.
    Get transfer status repeatedly to check whether the transfer refund is complete.
Copy link