Rewards
The RewardsSDK manages the reward distribution system. Rewards accumulate for stakers and can be claimed through the wallet plugin system.
Initialization
Section titled “Initialization”import { RewardsSDK } from '@akta/sdk/rewards'
const rewards = new RewardsSDK({ algorand })Key Operations
Section titled “Key Operations”// Read global stateconst state = await rewards.getGlobalState()Reward claims are executed through the ARC-58 wallet’s RewardsPlugin. See Wallet Plugins for plugin usage.