withdraw_lp_tokens
Withdraw LP tokens staked in a MasterChef-style farming contract. Provide the farm address, pool ID, amount, and private key to sign the transaction on any EVM network.
Instructions
Withdraw LP tokens from a MasterChef-style farming contract
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of LP tokens to withdraw | |
| poolId | Yes | Pool ID to withdraw from | |
| 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 |