approveAll

The approveAll method can be used to approve all tokens.

const erc721RootToken = posClient.erc721(<root token address>, true);

const approveResult = await erc721RootToken.approveAll();

const txHash = await approveResult.getTransactionHash();

const txReceipt = await approveResult.getReceipt();

Last update: January 17, 2024
Authors: avenbreaks