Tokens
Get ERC20-Token TotalSupply by ContractAddress
https://api.lorescan.com/[chain]/
?module=stats
&action=tokensupply
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
Get ERC20-Token Account Balance for TokenContractAddress
https://api.lorescan.com/[chain]/
?module=account
&action=tokenbalance
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761
&tag=latest
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
address | the string representing the address to check for balance |
tag | the string pre-defined block parameter, either earliest, pending or latest |
Get Historical ERC20-Token TotalSupply by ContractAddress & BlockNo
https://api.lorescan.com/[chain]/
?module=stats
&action=tokensupplyhistory
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&blockno=8000000
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
blockno | the integer block number to check total supply for eg. 126 |
97906 |
Get Historical ERC20-Token Account Balance for TokenContractAddress by BlockNo
https://api.lorescan.com/[chain]/
?module=account
&action=tokenbalancehistory
&contractaddress=0x57d90b64a1a57749b0f932f1a3395792e12e7055
&address=0xe04f27eb70e025b78871a2ad7eabe85e61212761
&blockno=8000000
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
address | the string representing the address to check for balance |
blockno | the integer block number to check total supply for eg. 12697906 |
Get Token Holder List by Contract Address
https://api.lorescan.com/[chain]/
?module=token
&action=tokenholderlist
&contractaddress=0xaaaebe6fe48e54f431b0c390cfaf0b017d09d42d
&page=1
&offset=10
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
page | the integer page number, if pagination is enabled |
offset | the number of transactions displayed per page |
Get Token Info by ContractAddress
https://api.lorescan.com/[chain]/
?module=token
&action=tokeninfo
&contractaddress=0x0e3a2a1f2146d86a604adc220b4967a898d7fe07
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
contractaddress | the contract address of the ERC-20 token |
Get Address ERC20 Token Holding
https://api.lorescan.com/[chain]/
?module=account
&action=addresstokenbalance
&address=0x983e3660c0bE01991785F80f266A84B911ab59b0
&page=1
&offset=100
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | the string representing the address to check for balance |
page | the integer page number, if pagination is enabled |
offset | the number of transactions displayed per page |
Get Address ERC721 Token Holding
https://api.lorescan.com/[chain]/
?module=account
&action=addresstokennftbalance
&address=0x0000000000000000000000000000000000000000
&page=1
&offset=100
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | the string representing the address to check for balance |
page | the integer page number, if pagination is enabled |
offset | the number of transactions displayed per page |
Get Address ERC721 Token Inventory By Contract Address
https://api.lorescan.com/[chain]/
?module=account
&action=addresstokennftinventory
&address=0x6B59918Cfa9a4A360482b98E32bd0EBC61AEe89e
&contractaddress=0x41fc45DCaaeAc616590f32E09E08294762aF0DB8
&page=1
&offset=100
&apikey=lore-public
Try this endpoint in your browser 🔗
Query Parameters
Parameter | Description |
---|---|
address | the string representing the address to check for inventory |
contractaddress | the string representing the ERC-721 token contract address to check for inventory |
page | the integer page number, if pagination is enabled |
offset | the number of transactions displayed per page |