Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

CodeMeaning
0read returned a value
1read error, transaction reverted, or receipt wait failed
2usage error (unknown flag, missing required arg, malformed value)