Get exchange rate

Get exchange rate on Coinbase

Base
Base

Reads onchain state

Reads how much ETH one whole cbETH is worth right now. The bridged token holds no rate of its own, so the read takes the answer its exchange-rate feed last published from cbETH on Ethereum, at 18 decimals, rising as the staked ETH behind it earns rewards. Reach for it to value a cbETH balance in ETH, to compare against a DEX quote before swapping, or to measure yield between runs by comparing against a stored rate.

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.

On other protocols · 6