GetTotalCoinSupply
There are two variations of the API - GetTotalCoinSupply
and GetTotalCoinSupplyAsInt
.
GetTotalCoinSupply
Returns the total supply (ZIL) of coins in the network. This is represented as a String
.
GetTotalCoinSupplyAsInt
Returns the total supply (ZIL) of coins in the network. This is represented as a Rounded Number
.
Example Request-1
=== "cURL"
=== "Node.js"
=== "Java"
=== "Python"
=== "Go"
Example Response-1
Example Request-2
=== "cURL"
Example Response-2
!!! note
Arguments
Parameter
Type
Required
Description
id
string
Required
"1"
jsonrpc
string
Required
"2.0"
method
string
Required
"GetTotalCoinSupply or GetTotalCoinSupplyAsInt"
params
string
Required
Empty string ""