unstake_tokens
Withdraw staked tokens from a staking contract by specifying the contract address, amount in wei, and private key. Works across BSC, Ethereum, Base, and other EVM networks.
Instructions
Unstake/withdraw tokens from a staking contract
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to unstake (in wei) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| privateKey | Yes | Private key in hex format (with or without 0x prefix). SECURITY: This is used only for address derivation and is not stored. The private key will not be logged or displayed in chat history. | |
| stakingContract | Yes | Staking contract address |