Get reward config

Get reward config on Compound

Ethereum
Ethereum
Base
Base

Reads onchain state

Ready to run on Base

Reads a Compound market's reward configuration: the reward token and its scaling. The Comet rewards contract returns the token incentives pay out in, the rescale factor between the market's accrual and that token, and whether to upscale. Reach for it when a strategy handles rewards generically, so the token address can be coiled into a claim-then-swap sequence without hardcoding COMP.

Plug lets you combine onchain actions like this one into a single transaction, without writing a smart contract. Use in App opens a new plug with this action already in it.

More plugs on Base

Earn yield on Base · 12 plugs

More on Compound · 20