For the complete documentation index, see llms.txt. This page is also available as Markdown.

platform.getTotalStake

Get the total amount of tokens staked on the requested Subnet.

This method will use 90 Compute Units.


Reference: Here

Parameters

None

Returns

  • stake - int - The the total amount of nAVAX staked on the Primary Network.

// Result
{
  "jsonrpc": "2.0",
  "result": {
    "stake": "279825917679866811",
    "weight": "279825917679866811"
  },
  "id": 1
}

Last updated

Was this helpful?