Skip to content

canxium/supply-information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup Instructions

  1. Export ENV or Add to .env
export APP_ADDR=0.0.0.0:8080
RPC_API_URL=https://rpc.canxium.org
  1. Build & start API go build cmd/api/main ./main

  2. Get supply curl --location --request GET '127.0.0.1:8080/info/cau'

  3. Get total supply curl --location --request GET '127.0.0.1:8080/info/cau?q=totalSupply'

  4. Get circulating supply curl --location --request GET '127.0.0.1:8080/info/cau?q=circulatingSupply'

About

Total and circulating supply apis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages