Staking Tools
8 tools for staking operations — STRK, WBTC, tBTC, SolvBTC, LBTC
Prerequisite: All staking tools require an active authenticated session. Call
get_auth_statusfirst to verify.
Recommended Flow
1. list_validators → Find validators on the network
2. list_pools → Find pools for a validator
3. get_staking_info → Check existing position (if any)
4. stake_tokens → Stake tokens into a pool
5. get_stake_status → View staking dashboardlist_validators
List all known Starknet staking validators.
Parameters: None
Returns validator names and staker addresses for the current network. This is a read-only tool.
list_pools
List delegation pools for a specific validator.
| Param | Type | Required | Description |
|---|---|---|---|
validator | string | Yes | Validator name (e.g., Karnot) or staker address. Supports partial matches. |
This is a read-only tool.
get_staking_info
Get staking position info for a specific pool: staked balance, unclaimed rewards, total balance, commission, and unpooling cooldown.
| Param | Type | Required | Description |
|---|---|---|---|
pool | string | Yes | Pool contract address (0x...) |
This is a read-only tool.
get_stake_status
Scan all known validators and pools to return a consolidated staking dashboard with total staked, total rewards, unpooling amounts, cooldown dates, and per-pool breakdown.
| Param | Type | Required | Description |
|---|---|---|---|
validator | string | No | Optional validator name or staker address to filter results |
This is a read-only tool.
stake_tokens
Stake tokens in a delegation pool. Automatically detects whether to enter the pool or add to an existing delegation.
| Param | Type | Required | Description |
|---|---|---|---|
amount | string | Yes | Amount to stake (e.g., 100, 0.01) |
pool | string | Yes | Pool contract address (0x...) |
token | string | No | Token symbol (default: STRK). Supported: STRK, WBTC, tBTC, SolvBTC, LBTC |
Important: This is a transactional tool. Confirm with the user before executing.
unstake_tokens
Unstaking is a two-step process with a cooldown period:
- Call with
action: "intent"to start the exit - Wait for the cooldown period to complete
- Call with
action: "exit"to complete withdrawal
| Param | Type | Required | Description |
|---|---|---|---|
action | enum | Yes | "intent" to start, "exit" to complete |
pool | string | Yes | Pool contract address (0x...) |
amount | string | Only for intent | Amount to unstake |
token | string | No | Token symbol (default: STRK) |
Important: This is a transactional tool. The
exitaction can only be called after the cooldown period has elapsed.
claim_rewards
Withdraw staking rewards from a pool to the user's wallet.
| Param | Type | Required | Description |
|---|---|---|---|
pool | string | Yes | Pool contract address (0x...) |
Tip: Use
get_staking_infofirst to check the unclaimed rewards amount.
compound_rewards
Atomically claim and re-stake rewards in a single transaction (compound interest). More gas-efficient than calling claim_rewards followed by stake_tokens separately.
| Param | Type | Required | Description |
|---|---|---|---|
pool | string | Yes | Pool contract address (0x...) |
Last updated on