Hi,
Thanks for supporting. I have another question
https://takahaha.fun/api/v1/receive-message
I have this webhook to get the message. However, I donât see any message to me.
Sample code in PHP
const verifySignature = (req, secret) => {
const providedSignature = req.headers["x-signature"]
if(!providedSignature) throw new Error("Signature not provided")
const generatedSignature= web3.utils.sha3(JSON.stringify(req.body)+secret)
if(generatedSignature !== providedSignature) throw new Error("Invalid Signature")
}
{âabiâ:[],âblockâ:{ânumberâ:null,âhashâ:null,âtimestampâ:null},âtxsâ:[],âtxsInternalâ:[],âlogsâ:[],âchainIdâ:null,âconfirmedâ:true,âretriesâ:0,âtagâ:null,âstreamIdâ:null,âerc20Approvalsâ:[],âerc20Transfersâ:[],ânftTokenApprovalsâ:[],ânftApprovalsâ:{âERC721â:[],âERC1155â:[]},ânftTransfersâ:[],ânativeBalancesâ:[]}api_key
Your signature:
0x9621e5727b079b8c52c4f045b5780f73848557faa3e383fef45b24d813019169
Could you please help me to take a look?