Skip to main content
Use executeClaimRewards to claim your earned staking rewards. You can optionally choose to restake them immediately.

Usage

Parameters

boolean
required
If true, rewards are automatically restaked. If false, they are sent to the user’s wallet.
AccountInterface
required
The Starknet account.
string
required
The staking pool address.
object
Optional paymaster configuration for gasless staking.