Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt

Use this file to discover all available pages before exploring further.

withdrawExit method can be used to exit the withdraw process by using the txHash from withdrawStart method.
const erc721RootToken = posClient.erc721(<root token address>, true);

const result = await erc721RootToken.withdrawExit(<burn tx hash>);

const txHash = await result.getTransactionHash();

const txReceipt = await result.getReceipt();

This method does multiple RPC calls to generate the proof and process exit. So it is recommended to use withdrawExitFaster method.