diff --git a/src/standards/ERC1155Standard.ts b/src/standards/ERC1155Standard.ts index 4cf2ddc..21f597e 100644 --- a/src/standards/ERC1155Standard.ts +++ b/src/standards/ERC1155Standard.ts @@ -246,7 +246,7 @@ export class ERC1155Standard { const contract = new this.web3.eth.Contract(abiERC1155, address); if (!gas) { gas = await contract.methods - .safeBatchTransferFrom(from, to, tokenIds, amounts, "") + .safeBatchTransferFrom(from, to, tokenIds, amounts, []) .estimateGas({ gas: 1000000 }); } gas = (gas * 1.1) | 1; @@ -254,7 +254,7 @@ export class ERC1155Standard { return jc.wallet.generateGasShow(gas); } return contract.methods - .safeBatchTransferFrom(from, to, tokenIds, amounts, "") + .safeBatchTransferFrom(from, to, tokenIds, amounts, []) .send({ from, gas,