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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

tag

the string pre-defined block parameter, either earliest, pending or latest

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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the strings representing the addresses to check for balance, separated by , commas

tag

the string pre-defined block parameter, either earliest, pending or latest

Get a list of 'Normal' Transactions By Address

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

​ ​ 📝 Note : This API endpoint returns a maximum of 10000 records only.

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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

💡 Tip: Specify a smaller startblock and endblock range for faster search results.

Get a list of 'Internal' Transactions by Address

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

📝 Note : This API endpoint returns a maximum of 10000 records only.

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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the addresses to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

💡 Tip: Specify a smaller startblock and endblock range for faster search results

Get 'Internal Transactions' by Transaction Hash

Returns the list of internal transactions performed within a transaction.

📝 Note : This API endpoint returns a maximum of 10000 records only.

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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

txhash

the string representing the transaction hash to check for internal transactions

Get 'Internal Transactions' by Block Range

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

📝 Note : This API endpoint returns a maximum of 10000 records only.

Try this endpoint in your browser 🔗

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

Query Parameters

ParameterDescription

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

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.

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

startblock

the integer block number to start searching for transactionsthe integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

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.

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

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.

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

contractaddress

the string representing the token contract address to check for balance

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

startblock

the integer block number to start searching for transactions

endblock

the integer block number to stop searching for transactions

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

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

Try this endpoint in your browser 🔗

Query Parameters

ParameterDescription

address

the string representing the address to check for balance

blocktype

the string pre-defined block type, blocksfor canonical blocks

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

Last updated