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 apxUSD balance-of

Read the apxUSD ERC-20 balance of an address (raw, 6-decimal).

Synopsis

apyx apxUSD balance-of --owner <address>

Arguments

FlagTypeRequiredDescription
--owneraddressyesHolder address whose apxUSD balance to read.

Example

$ apyx apxUSD balance-of --owner 0x7E5F4552091A69125d5DfCb7b8C2659029395Bdf
1234560000n

SDK equivalent

apyx.apxUSD.balanceOf(owner)

Reference: apxUSD 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)