suix_getTotalSupply RPC Method
Parameters
coinType
string
REQUIRED
The type name for the coin
Returns
result
object
The result object which contains the following field:
value
string
The total supply of the coin
Request
1curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \2--header 'Content-Type: application/json' \3--data '{4"jsonrpc": "2.0",5"id": 1,6"method": "suix_getTotalSupply",7"params": [8"0x2::sui::SUI"9]10}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free