esponse: {
status: 500,
statusText: âInternal Server Errorâ,
headers: AxiosHeaders {
date: âThu, 27 Apr 2023 16:24:40 GMTâ,
âcontent-typeâ: âapplication/json; charset=utf-8â,
âcontent-lengthâ: â2â,
connection: âcloseâ,
âx-powered-byâ: âExpressâ,
âaccess-control-allow-originâ: â*â,
âx-request-weightâ: â10â,
etag: âW/â2-vyGp6PvFo4RvsFtPoIWeCReyIC8ââ,
vary: âAccept-Encodingâ,
âcf-cache-statusâ: âDYNAMICâ,
server: âcloudflareâ,
âcf-rayâ: â7be86ac54a010fdf-LAXâ
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: âXSRF-TOKENâ,
xsrfHeaderName: âX-XSRF-TOKENâ,
maxContentLength: -1,
For some wallets its able to bring the data and for some it doesnât.
Itâs seems you guys dont have the data for some wallets.
Have to find another service asap.
check on wallet sneakyninjapants.eth for example.
this works for me:
--url 'https://deep-index.moralis.io/api/v2/0xBdD95ABE8a7694CCD77143376b0fBea183E6a740?chain=eth' \
--header 'accept: application/json' \
--header 'X-API-Key: API_KEY_HERE'
are you using some specific parameters?
you can also test here directly in docs interface
I am trying to get all his transactions and using a cursor. try with a cursor.
ok, how many pages did you try?
I am trying to get all of them.
it brakes on page 21 it seems.
from block 0x0
to latest block
you could retry a request that fails few times, probably it fails in 15 seconds with a timeout and it returns a 500 error
Also when i retry it it doesnt work.
Can you check in your end to help find a solution? I wanted to upgrade to Enterprise but now have to change my whole code and find another provider if it keeps braking. need an api that works 100% of the times.
also this walletâŚ
0x2ea4815F47D685eD317e8bd243b89bCb26b369Fa
thats my code:
const getVerboseTransactions = asyncHandler(async (cursor, toAddress) => {
let response;
let error = null;
do {
error = null;
try {
response = await Moralis.EvmApi.transaction.getWalletTransactionsVerbose({
chain: â0x1â,
address: toAddress,
cursor: cursor,
fromBlock: lastBlock,
});
} catch (e) {
error = âerrorâ;
console.log(e);
}
} while (error === âerrorâ);
return response;
});
what are the exact parameters that you use for the initial query? disable_total is set to true or false?
sent the code one message above, anything else you need?
now it breaks on page 3.
it looks like it is not a timeout issue, weâll have to investigate, I also got until page 20 only
kk thanks. hoping for good news
How much time you approx it will take you to solve it? I have business to run hereâŚ