Get transactions (not internal) through polygonscan api

Hi,

is there call or … to get transaction (not internal) from polygonscan by address ? Internal trans is available through get_internal_txs_by_address, but what about normal, external transactions (not contract or …).

You can check PolygonScan’s API documentation for what is available.

Otherwise you can look at Moralis’s API e.g. getTransactions.

thanks for pointing me back to RTFM polygonscan, and yes there is:

https://api.polygonscan.com/api?module=account&action=txlist

is there call or … to get transaction (not internal) from polygonscan

I’m not sure what it is you’re asking exactly. Anything available with their API should be in their documentation.

i didn’t find info for normal transaction in documentation, only in logs dir of python api lib:

polygonscan-python\logs\standard:

ā€œmethodā€: ā€œget_normal_txs_by_address_paginatedā€,
ā€œmoduleā€: ā€œaccountsā€,
ā€œkwargsā€: {
ā€œaddressā€: ā€œ0xddbd2b932c763ba5b1b7ae3b362eac3e8d40121aā€,
ā€œstartblockā€: 0,
ā€œendblockā€: 99999999,
ā€œpageā€: 1,
ā€œoffsetā€: 10,
ā€œsortā€: ā€œascā€
},
…