Tracking the Protocol
A reference for portfolio trackers and other supplementary tools to track information in the protocol, such as staking and locked tokens.
Tracking Staked Balance
The total tokens staked by a wallet can be called from a single read function of the protocol EVM contract on Ethereum Mainnet. It's contract address is as below and the source code can be found here.
0x0d9a1ca7bc756ae009672db626cde3c9bef583efNote that the staked tokens do not include tokens that have been unstaked and are under the cooldown period before they can be withdrawn.
The value can be fetched by calling the getStake function which returns a uint256 value. Note that $ANYONE has 18 decimals.
getStake(address _address); [
{
"inputs": [
{
"internalType": "address",
"name": "_address",
"type": "address"
}
],
"name": "getStake",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]See an example code snippet for fetching this values with ethers.js:
Last Updated: 29-Dec-2025
Last updated