If I make the call below to âwatchContractEventâ I am seeing a table created, but I also get an error result back. Any idea what this error is?
const options = {
tableName: "SNOBTokenTransferManual",
chainID: "0xa86a",
address: "0xC38f41A296A4493Ff429F1238e030924A1542e50",
topic: "Transfer(address, address, uint256)",
abi: {
anonymous: false,
inputs: [
{ indexed: true, internalType: "address", name: "from", type: "address"},
{ indexed: true, internalType: "address", name: "to", type: "address"},
{ indexed: false, internalType: "uint256", name: "value", type: "uint256" },
],
type: "event",
},
sync_historical: true,
};
const r = await Parse.Cloud.run("watchContractEvent", options, { useMasterKey: true });
console.log(r)
Output:
"Log":{2 items
"success":boolfalse
"error":string"request.message is not a function"
}