stake_for_lst
Generate a transaction to stake NEAR for liquid staking tokens (stNEAR or LiNEAR), returning signing-ready details for Meta Pool or Linear Protocol.
Instructions
Generate a transaction to stake NEAR for liquid staking tokens (stNEAR or LiNEAR). Returns transaction details for signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of NEAR to stake (in human-readable format, e.g., "10" for 10 NEAR) | |
| network | No | NEAR network (default: mainnet) | |
| protocol | Yes | Which liquid staking protocol to use |