Transfer
@Serializable
@SerialName(value = "transfer" )
Represents a simple asset transfer transaction.
A Transfer moves assets from one address to another. It supports:
Native coin transfers (ETH, BTC, etc.)
Token transfers (ERC-20, etc.)
Optional memo/data field for additional transaction data
An
isMaxhint for "send max" UX flows.
The amount field is always the concrete value that will be used by the SDK when calculating fees, building pre-image hashes and compiling signed transactions. When isMax is true, callers are responsible for precomputing the correct max-transfer amount (for example balance - fee.maxFeeWei for native coins) and passing that value here. The SDK does not derive or adjust amount based on isMax.