Accounts

Get Ether Balance for a Single Address

Returns the Ether balance of a given address.

https://api-sepolia-era.zksync.network/api
   ?module=account
   &action=balance
   &address=0x834Dbf5A03e29c25bc55459cCe9c021EeBE676Ad
   &tag=latest
   &apikey=YourApiKeyToken

Query Parameters

Get Ether Balance for Multiple Addresses in a Single Call

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

https://api-sepolia-era.zksync.network/api
   ?module=account
   &action=balancemulti
   &address=0x4eAF936c172b5e5511959167e8Ab4f7031113Ca3,0x834Dbf5A03e29c25bc55459cCe9c021EeBE676Ad,0xc2F695613de0885dA3bdd18E8c317B9fAf7d4eba
   &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-sepolia-era.zksync.network/api
   ?module=account
   &action=txlist
   &address=0x834Dbf5A03e29c25bc55459cCe9c021EeBE676Ad
   &startblock=0
   &endblock=lateset
   &page=1
   &offset=2
   &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-sepolia-era.zksync.network/api
   ?module=account
   &action=txlistinternal
   &address=0x4eaf936c172b5e5511959167e8ab4f7031113ca3
   &startblock=0
   &endblock=latest
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

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-sepolia-era.zksync.network/api
   ?module=account
   &action=txlistinternal
   &txhash=0xb62d691159ab89062bec184745dc1bb754dd1f3e83dc9236f89016459506bdd3
   &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-sepolia-era.zksync.network/api
   ?module=account
   &action=txlistinternal
   &startblock=0
   &endblock=765371
   &page=1
   &offset=2
   &sort=asc
   &apikey=YourApiKeyToken

Query Parameters

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

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

https://api-sepolia-era.zksync.network/api
   ?module=account
   &action=tokentx
   &contractaddress=0x000000000000000000000000000000000000800A
   &address=0x56DDd604011c5F8629bd7C2472E3504Bd32c269b
   &page=1
   &offset=2
   &startblock=0
   &endblock=latest
   &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 'ERC721 - 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-sepolia-era.zksync.network/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x05E9eaa6d32cad15E2922e54e750B59a6009F94a
   &address=0x0e15cA210b4bad8093d44D9b99B2308a267396c0
   &page=1
   &offset=2
   &startblock=0
   &endblock=99999999
   &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

Last updated