> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# suix_getTotalSupply

> Return total supply for a coin

### Parameters

<ParamField query="chainId" type="string" default="sui" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="suix_getTotalSupply" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0xe5c651321915b06c81838c2e370109b554a448a78d3a56220f798398dde66eab::acoin::ACOIN"]} placeholder="[&#x22;0xe5c651321915b06c81838c2e370109b554a448a78d3a56220f798398dde66eab::acoin::ACOIN&#x22;]">
  The paramters for method suix\_getTotalSupply: \[coinType].

  Positional parameters for <code>suix\_getTotalSupply</code>:

  <ul>
    <li><code>params\[]</code>: Coin type</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="string">
  value - The total supply.
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "suix_getTotalSupply",
      "params": [
        "0xe5c651321915b06c81838c2e370109b554a448a78d3a56220f798398dde66eab::acoin::ACOIN"
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "value": "12023692"
    }
  }
  ```
</ResponseExample>
