withdrawExit
The withdrawExit method can be used to exit the withdraw process by using the txHash from withdrawStart method.
The withdrawExit method can be used to exit the withdraw process by using the txHash from withdrawStart method.
const erc1155RootToken = posClient.erc1155(<root token address>, true);
const result = await erc1155RootToken.withdrawExit(<burn tx hash>);
const txHash = await result.getTransactionHash();
const txReceipt = await result.getReceipt();Edit on GitHub
Last updated on
withdrawExitMany
The withdrawExitMany method can be used to exit the withdraw process by using the txHash from withdrawStartMany method.
withdrawStartMany
The withdrawStartMany method can be used to initiate the withdraw process which will burn the specified amounts of multiple token respectively on polygon chain.