Accounts

Get Ether Balance for a Single Address

Returns the Ether balance of a given address.

https://api-sepolia.lineascan.build/api
   ?module=account
   &action=balance
   &address=0xfe5b95b0f1d5e43d639d4986c4dd019be3be556e
   &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.lineascan.build/api
   ?module=account
   &action=balancemulti
   &address=0xfe5b95b0f1d5e43d639d4986c4dd019be3be556e,0x10dcb03fde342d16e12ff370f90fe49b2e1c8b59,0x90f0badea60131d90317990b70e5c4e2e4869dd1	
   &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-sepolia.lineascan.build/api
   ?module=account
   &action=txlist
   &address=0x10dcb03fde342d16e12ff370f90fe49b2e1c8b59
   &startblock=0
   &endblock=99999999
   &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.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &address=0x971e727e956690b9957be6d51Ec16E73AcAC83A7
   &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.

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

https://api-sepolia.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &txhash=0x7f8fd603880eaddc6b5412030aec3f6009401ed02f6c91e3dce2b1087ebb784a
   &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.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &startblock=20000
   &endblock=260307
   &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.lineascan.build/api
   ?module=account
   &action=tokentx
   &contractaddress=0x8824fdeacfed56217f52d17ceb818ae4c6e2d4fb
   &address=0x46b4fbe9419c7bbcc9c6e3b903828276100bdb3d
   &page=1
   &offset=100
   &startblock=0
   &endblock=99999999
   &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.lineascan.build/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x03f8b4b140249dc7b2503c928e7258cce1d91f1a
   &address=0x5a13206d7edbabe5c1bc59d3bd658485b8bb2adf
   &page=1
   &offset=100
   &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