suix_getTotalSupply
Return total supply for a coin
Parameters
coin_type·string· requiredtype name for the coin (e.g., 0x168da5bf1f48dafc111b0a488fa454aca95e0b5e::usdc::USDC)
Result
Supply·Supplyvalue·BigInt<u64>· required
Example
Request
bash
curl https://mainnet-api.inodra.com/v1/jsonrpc \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "suix_getTotalSupply",
"params": [
"0xe5c651321915b06c81838c2e370109b554a448a78d3a56220f798398dde66eab::acoin::ACOIN"
]
}'Response
json
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"value": "12023692"
}
}