Skip to content

Rewards

The RewardsSDK manages the reward distribution system. Rewards accumulate for stakers and can be claimed through the wallet plugin system.

import { RewardsSDK } from '@akta/sdk/rewards'
const rewards = new RewardsSDK({ algorand })
// Read global state
const state = await rewards.getGlobalState()

Reward claims are executed through the ARC-58 wallet’s RewardsPlugin. See Wallet Plugins for plugin usage.