Link.completeWithdrawal (Legacy version)

As of version 2.0.25 of the @imtbl/imx-link-sdk, the response for the Link function completeWithdrawal has been updated to return the following information:

    transactionId: string // The ID of this transaction

The response can be obtained by saving the results of the Promise returned by completeWithdrawal:

const response = await link.completeWithdrawal({
    type: ETHTokenType.ETH

 // returns { transactionId: '0x...' }

Did this page help you?