Quote a transfer

Debounce amount input and key reads by source chain, asset, destination, amount, recipient and account. Ignore stale results when those inputs change.

  1. Parse the amount using the token's decimals; do not use floating-point arithmetic.
  2. Resolve the local OFTAdapter or OFT from the selected asset ID.
  3. Call quoteOFT for the fee-adjusted amount and quoteSend for native payment.
  4. Show the native currency of the source chain, not a hardcoded ETH label.
  5. Refresh and simulate immediately before sending.

Until the quote succeeds, show a loading state or a dash, not the input amount as a promised output. Disable submission for failed reads, insufficient balances, invalid recipient, missing route or unready compliance state.

Read contract quotes for owner action quotes and fees for splits and rounding.