Why getTransaction api is not working??
const transactionObj = await Moralis.Cloud.run(âgetTransactionâ, {
chain: chainId,
transactionHash: transactionHash
});
console.log(transactionObj : ${transactionObj});
this code was running
but now it is not calling the parse server
what is the context?
when it was working? what did it change?
is this a self hosted server?
what happens when it doesnât work?
It was working as expected but suddenly it was giving no response.
I donât know what happened and now its again working.
what happened when it was not working?
getTransaction api was called from frontend and then it will response 200 status but when we check response tab it is showing blank response like response : {}
Request URL: http://localhost:1337/server/functions/getTransaction
Request Method: POST
Status Code: 200 OK
Remote Address: [::1]:1337
Referrer Policy: strict-origin-when-cross-origin
payload
{
âchainâ: â0x5â,
âtransactionHashâ: â0x28d912b6ba19c4c21fc40add5526460d8dd837ee51a78f2ea5172bdc390b1a06f6â,
â_ApplicationIdâ: â2â,
â_ClientVersionâ: âjs1.11.0â,
â_InstallationIdâ: â2aa46cf5-c7d9-4f1a-dd9024-a52115e4c792â,
â_SessionTokenâ: âr:265551663efe9c8f3kd876116ff0a46390â
}
response {}
it looks like this transaction hash doesnât exist on goerli
search this hash value:
0x28d912b6ba19c4c21fc40add5526460d8837ee51a78f2ea5172bdc390b1a06f6
this one works, but this is not the one that was used in that request above