Get rebasing credits per token

Get rebasing credits per token on Origin

Base
Base

Reads onchain state

Reads how many rebasing credits back one whole token of Origin's rebasing token. rebasingCreditsPerToken is the divisor every rebasing balance is computed with, at 18 decimals; each rebase lowers it, so every rebasing balance rises together. Reach for it to measure the yield between two runs by comparing against a stored value.

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.

Takes nothing — it reads the caller's own position.

More on Origin · 8