Get collateral health fee

Get collateral health fee on Avantis

Base
Base

Reads onchain state

Reads the fee rate the Avantis vault charges on withdrawals and redemptions. The vault's collateralHealthFee comes from its vault manager, which steps it with the exchange's buffer ratio, and is returned in parts of one hundred thousand, read here as a fraction of one. It applies only while the vault's fees are on; the previews already include it. Reach for it to wait out a high fee before exiting, gating the withdrawal on the rate falling below a line you set.

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 on Avantis ยท 37