Hello, I have been having problems using the method Moralis.Web3API.native.getTransaction
for about 1 month now.
When calling the function (eventually) Iโm getting an internal Moralis error like this:
Cannot read property 'page_size' of undefined
These are the parameters I am using:
{
"chainId": 137,
"dstAddress": "0x020dd38e5c3553c167bd0dfa29180b58c0ccffe9",
"rpcUrl": "https://polygon-rpc.com",
"srcAddress": "0x81ab6Fd4A68d0aDDFAD65F9F97Bc1427dCd40C8E",
"transaction_hash": "0xdbdae7fc45746bf28e89a064c29c3f30043f32671c8af2d7120dc1c9b46c0551"
}
This is the error stack trace:
TypeError: Cannot read property 'page_size' of undefined
at Function.getNextOptions (/workspace/node_modules/moralis/lib/node/MoralisWeb3Api.js:122:17)
at Function.fetchFromServer (/workspace/node_modules/moralis/lib/node/MoralisWeb3Api.js:249:32)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async MoralisService.verify (/workspace/dist/src/provider/service/moralis.service.js:35:29)