Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TokenInfo

Simple api to get balance Ethereum ERC20 tokens and Info about Ethereum ERC20 tokens

Config

To set Config provider and running port,

{
  "httpProvider":"https://kovan.infura.io",
  "port":3000
}

Get Token Info

This API response will show you the ERC20 token info.

http://localhost:3000/token/CONTRACT_ADDRESS
  • Response (JSON)
{
  "name": "Test Swipe Token",
  "symbol": "TSWIPE",
  "totalSupply": 10000000,
  "decimals": "18"
}

Get Balance Info

This API response will show Address Balance of ERC20 token.

http://localhost:3000/balance/CONTRACT_ADDRESS/USER_ADDRESS
  • Response (JSON)
{
  "symbol": "TSWIPE",
  "balance": 100
}

About

Simple api to get balance Ethereum ERC20 tokens and Info about Ethereum ERC20 tokens

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages