Skip to content
On this page

Claim reward Polygon

The transaction namespace contains methods used for sending transactions. The unique method to the transaction namespace is:

reward(address): Reward user tokens (Claim reward).

Claim Reward Code Example

ts
// Import SDK
import { Polygon } from '@everstake/wallet-sdk';

const address = '2f92e...6761b'

// Reward user tokens - return transaction
const rewardResp = await Polygon.reward(address);
console.log(rewardResp); // Raw Transaction