Accounts

Get ETH Balance for a Single Address

Returns the ETH balance of a given address.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=balance
   &address=0xE4eDb277e41dc89aB076a1F049f4a3EfA700bCE8
   &apikey=YourApiKeyToken

Query Parameters

Get ETH Balance for Multiple Addresses in a Single Call

Returns the balance of the accounts from a list of addresses.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=balancemulti
   &address=0x5A534988535cf27a70e74dFfe299D06486f185B7,0x54bA15efe1b6D886bA4Cd5C5837240675BD0D43a,0x39842a0Fe638cc956b76A49E918c30d818708BA0
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Normal' Transactions By Address

Returns the list of transactions performed by an address, with optional pagination.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=txlist
   &address=0xE4eDb277e41dc89aB076a1F049f4a3EfA700bCE8
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'Internal' Transactions by Address

Returns the list of internal transactions performed by an address, with optional pagination.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &address=0x90cc6C10C7211844c66640b4d01486cb45E0F3E8
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &txhash=0x408f3c8e4e1f0824ac19fb64ecb96c5f88c21dd321d828923c7d2f9463287e5d
   &apikey=YourApiKeyToken

Query Parameters

Get 'Internal Transactions' by Block Range

Returns the list of internal transactions performed within a block range, with optional pagination.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=txlistinternal
   &startblock=306743
   &endblock=306744
   &page=1
   &offset=10
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

Get a list of 'ERC-20 Token Transfer Events' by Address

Returns the list of ERC-20 tokens transferred by an address, with optional filtering by token contract.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=tokentx
   &contractaddress=0x90cc6C10C7211844c66640b4d01486cb45E0F3E8
   &address=0x808081269906e0e01285ed9c3525c67e09811860
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=5
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-20 transfers from an address, specify the address parameter

  • ERC-20 transfers from a contract address, specify the contract address parameter

  • ERC-20 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get a list of 'ERC-721 Token Transfer Events' by Address

Returns the list of ERC-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x91553861aA69B17F2d0302811B4CeC0626602174
   &address=0xfece8860904bcf6d27084dd0b62f098224aea250
   &startblock=0
   &endblock=99999999
   &page=1
   &offset=100
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-721 transfers from an address, specify the address parameter

  • ERC-721 transfers from a contract address, specify the contract address parameter

  • ERC-721 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get a list of 'ERC1155 - Token Transfer Events' by Address

Returns the list of ERC-1155 ( Multi Token Standard ) tokens transferred by an address, with optional filtering by token contract.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=token1155tx
   &contractaddress=0xb0E834FB82f890bF6f458C9aAa4e6d9e8411BB20
   &address=0x1c87869225399b62206cfced6fe883d0ac725c11
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &sort=asc
   &apikey=YourApiKeyToken

Usage:

  • ERC-1155 transfers from an address, specify the address parameter

  • ERC-1155 transfers from a contract address, specify the contract address parameter

  • ERC-1155 transfers from an address filtered by a token contract, specify both address and contract address parameters.

Query Parameters

Get list of Blocks Validated by Address

Returns the list of blocks validated by an address.

https://api-zkevm.polygonscan.com/api
   ?module=account
   &action=getminedblocks
   &address=0xb79fad4ca981472442f53d16365fdf0305ffd8e9
   &blocktype=blocks
   &page=1
   &offset=10
   &apikey=YourApiKeyToken

Query Parameters

Last updated