Props for the RewardRoot component that manages reward state.
The unique identifier string for the reward boost (format: "chainId:contractAddress:boostId")
Optional wallet address of the reward claimant
React children or render function that receives reward data
// With standard children<Reward.Root id="1:0x123:1" address="0xabc"> <Reward.Amount /></Reward.Root>// With render prop<RewardRoot id="1:0x123:1"> {(reward) => <div>{reward.data?.boost.incentives[0]?.rewardAmount}</div>}</RewardRoot> Copy
// With standard children<Reward.Root id="1:0x123:1" address="0xabc"> <Reward.Amount /></Reward.Root>// With render prop<RewardRoot id="1:0x123:1"> {(reward) => <div>{reward.data?.boost.incentives[0]?.rewardAmount}</div>}</RewardRoot>
Optional
Props for the RewardRoot component that manages reward state.
Param: id
The unique identifier string for the reward boost (format: "chainId:contractAddress:boostId")
Param: address
Optional wallet address of the reward claimant
Param: children
React children or render function that receives reward data
Example