Actions
stake
Deposit tokens into a staking contract.
useStake()
Locks tokens in a staking contract to earn rewards. Requires prior approval of the staking contract.
Parameters
- encryptKey (string): User’s decryption PIN
- wallet (WalletData): Wallet credentials
- contractAddress (string): Staking contract address
- amount (string | number): Tokens to stake
- recipient (string): Benefit recipient (usually user’s address)
- decimals (number): Token decimals (default: 18)