stake_tokens
Stake tokens in a staking contract on EVM networks. Provide the contract address, amount in wei, and private key to lock tokens and start earning rewards.
Instructions
Stake tokens in a staking contract
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"stakingContract": "<stakingContract>",
"amount": "<amount>",
"privateKey": "<privateKey>"
},
"name": "stake_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to stake (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 |