Get Total Supply

Total Supply details can be gathered using this method. The weightage for this API is 5

API Specification

Get Total Supply

POST https://api.krypcore.com/api/v0/ft-manager/getTotalSupply

Total Supply details can be gathered under the given instance.

Headers

NameTypeDescription

Authorization*

String

User Auth Key obtained from Dash

DappId*

String

DappId

Request Body

NameTypeDescription

contractAddress*

String

The contract address of the ERC20 token for which you want to retrieve the total supply

chainId*

String

The Chain ID to specify the blockchain network

{
    Data: 130000,
    Message: "Total Supply fetched successfully",
    Status: "SUCCESS"
}

Take a look at how you might call this method using our official libraries, or via curl:

curl --location 'https://api.krypcore.com/api/v0/ft-manager/getTotalSupply' \
--header 'Authorization: xxxxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data '{
  "chainId": "80001",
  "contractAddress": "0x8E3129B655817ac4edC996425643Cbe58b905cE0"
}'

Last updated