withdrawStartMany
The withdrawStartMany method can be used to initiate the withdraw process which will burn the multiple token on polygon chain.
The withdrawStartMany method can be used to initiate the withdraw process which will burn the multiple token on polygon chain.
const erc721Token = posClient.erc721(<child token address>);
const result = await erc721Token.withdrawStartMany([<token id1>, <token id2>]);
const txHash = await result.getTransactionHash();
const txReceipt = await result.getReceipt();Edit on GitHub
Last updated on
withdrawExit
withdrawExit method can be used to exit the withdraw process by using the txHash from withdrawStart method.
withdrawStartWithMetaData
The withdrawStartWithMetaData method can be used to initiate the withdraw process which will burn the specified token on polygon chain. Under the hood it calls