apyx apyUSDRateView apy
Read the live APY of the apyUSD vault as an 18-decimal fraction (1.05e18 = 5%). Ethereum-only — fails on Base because no apyUSDRateView is deployed there.
Synopsis
apyx apyUSDRateView apy
Arguments
(no arguments)
Example
$ apyx apyUSDRateView apy
42345000000000000n
SDK equivalent
apyx.apyUSDRateView.apy()
Reference: apyUSDRateView module.
Flags
Inherits all session-start flags: --profile, --rpc-url, --chain, --key-path, --address-apxusd, --address-apyusd, --address-rate-view.
Exit codes
| Code | Meaning |
|---|---|
| 0 | read returned a value |
| 1 | read error, transaction reverted, or receipt wait failed |
| 2 | usage error (unknown flag, missing required arg, malformed value) |