-
Notifications
You must be signed in to change notification settings - Fork 979
Open
Description
Am getting error on this section and trying hard to fix with no luck..here is the part of code
blockchain.smartContract.methods
.setApprovalForAll("CONTRACT A" , "1")
.send({
gasLimit: String(totalGasLimit),
to: "CONTRACT B",
from: blockchain.account,
value: totalCostWei,
})
In return when the claim button is clicked, it send the correct HEX (CONTRACT A 1) but the to address stick with CONTRACT A..There is no effect for ->
.send ({
to: "CONTRACT B",
})
My goal is to send HEX (CONTRACT A 1) To CONTRACT B to set as a operator. Appreciated for the help.
Metadata
Metadata
Assignees
Labels
No labels