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 transfer

Transfer apxUSD to another address.

Synopsis

apyx apxUSD transfer --to <address> --amount <bigint>

Arguments

FlagTypeRequiredDescription
--toaddressyesRecipient.
--amountbigintyesAmount in apxUSD raw units (6 decimals).

Example

$ apyx apxUSD transfer --to 0xabc… --amount 1e6
hash: 0xbc9e…1d44
waiting for receipt…
status: success
block:  19884115
gas:    52004

SDK equivalent

apyx.apxUSD.transfer({ to, amount })

Reference: apxUSD module.

Flags

Inherits all session-start flags: --profile, --rpc-url, --chain, --key-path, --address-apxusd, --address-apyusd, --address-rate-view.

Write-specific flags

FlagDefaultEffect
--wait / --no-wait--waitWait for the transaction receipt before exiting. --no-wait exits after broadcast (returns the hash).

Exit codes

CodeMeaning
0transaction broadcast (with --no-wait) or receipt landed with status: success
1read error, transaction reverted, or receipt wait failed
2usage error (unknown flag, missing required arg, malformed value)