List of transactions and transaction count always empty and 0 in Polygon Mumbai

Hi all, I am trying out the Web3 API to get the transaction history and transaction count in Polygon/Matic Mumbai: the curl command it generates is:

curl -X 'GET' \
  '' \
  -H 'accept: application/json' \
  -H 'X-API-Key: <my_api_key>'

The response for any token contract address is always an empty array.
I have just created an app with a server on polygon testnet (mumbai), but I didn’t configure anything more. And then just tried out the Web3 API in-browser.

What should I do to make it work with Mumbai, please? (With Ethereum mainnet I do get an array with transactions if I use a contract address from a token on Ethereum.)

Thanks in advance!

Hi braduf,


or this should also work:

The interactive page lists the value “matic” but the back end uses “polygon”. This bug will be fixed. In the meantime you can use the above.


1 Like