Accounts

Get Ether Balance for a Single Address

Returns the Ether balance of a given address.

https://api.lineascan.build/api
   ?module=account
   &action=balance
   &address=0xe5d7c2a44ffddf6b295a15c148167daaaf5cf34f
   &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.lineascan.build/api
   ?module=account
   &action=balancemulti
   &address=0x292fc50e4eb66c3f6514b9e402dbc25961824d62,0x7c3892be12adf04deaec3909b2d849f341f61dbd,0x201a089de2bfd27066cba34bf9dd780665e39c72
   &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.lineascan.build/api
   ?module=account
   &action=txlist
   &address=0x7de2b2b6ad99d83f97ad3ea24bb36d2f5b800e00
   &startblock=0
   &endblock=latest
   &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.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &address=0x7de2b2b6ad99d83f97ad3ea24bb36d2f5b800e00
   &startblock=0
   &endblock=latest
   &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.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &txhash=0x65aaea45ac66ad8b382a1b7778825ae5b7c6b05bfa84fba93ed7cd52d11cd80c
   &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.lineascan.build/api
   ?module=account
   &action=txlistinternal
   &startblock=50346
   &endblock=50348
   &page=1
   &offset=10
   &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.lineascan.build/api
   ?module=account
   &action=tokentx
   &contractaddress=0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f
   &address=0x975a03ffccbdb080655952eae6b608931a84a7cb
   &page=1
   &offset=100
   &startblock=0
   &endblock=27025780
   &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.lineascan.build/api
   ?module=account
   &action=tokennfttx
   &contractaddress=0x33084a2A5e90622033cAAc1Fe1aa0ED2De41cf4b
   &address=0xb0b9cbd9b3b10fbec20aaf819dfc29c9936089e4
   &page=1
   &offset=100
   &startblock=0
   &endblock=27025780
   &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.lineascan.build/api
   ?module=account
   &action=token1155tx
   &contractaddress=0x0872ec4426103482a50f26Ffc32aCEfcec61b3c9
   &address=0x32e9a9d06999a600061d34cb9df05d94fa3f74a8
   &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

Returns the historical ETH balance of an address at a certain block height.

https://api.lineascan.build/api
   ?module=account
   &action=balancehistory
   &address=0x1336F0cbcD2B67A788ec1eF6a37f7E1c2Dcc47E1
   &blockno=5343368
   &apikey=YourApiKeyToken

Query Parameters

Last updated