Skip to main content

Link.completeWithdrawal

Link reference tool

Check out our Link reference tool to understand how Link methods work without having to write any code.

Here's how you can complete the withdrawal of ETH:

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

const response = await link.completeWithdrawal({
type: ETHTokenType.ETH,
});

console.log(response);
// returns { transactionId: '0x...' }

Errors

See error responses here.

IMX Whitepaper IMX Tokenomics Block Explorer Careers Contact Us