stake_lp_tokens
Stake LP tokens in a MasterChef-style farming contract by specifying the farm contract, pool ID, amount, and private key to earn farming rewards.
Instructions
Stake LP tokens in a MasterChef-style farming 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": {
"farmContract": "<farmContract>",
"poolId": "<poolId>",
"amount": "<amount>",
"privateKey": "<privateKey>"
},
"name": "stake_lp_tokens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of LP tokens to stake | |
| poolId | Yes | Pool ID to stake in | |
| 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 for signing transaction | |
| farmContract | Yes | Farm contract address (MasterChef style) |