Stargatefinance Transfer Quote Amounts and Minimum Output
Stargatefinance transfer quotes distinguish the source amount, expected destination output and the minimum output protected against slippage. The LayerZero Value Transfer API expresses token quantities in their smallest units, so readable balances require the relevant token’s decimal precision. USD valuations and fee percentages describe separate quantities. A quote states transfer terms; completion tracking establishes whether the transfer finished.
The same response can contain amounts for different tokens, chains and fee currencies. Reading each value with its field name and token identity prevents a raw integer, a dollar estimate or a protected minimum from becoming a misleading balance.
A protected minimum sets an output boundary under slippage protection; it does not turn a transfer quote into confirmation of delivery.
Token-unit conversion and decimal precision
A readable token quantity equals its raw amount divided by ten raised to the token’s decimal precision:
readableAmount = rawAmount / 10^decimals
. The denominator converts smallest units into whole tokens. It does not represent a fee, exchange rate or slippage allowance. The request’s
amount
uses smallest units, such as wei for ETH or lamports for SOL.
Source amounts use source-token precision. Destination amounts use destination-token precision. A matching ticker does not establish that two raw integers use the same scale.
Token metadata supplies the
decimals
value alongside the token’s chain and address. Those identifiers connect the quantity to a particular asset. An integration should retain that association when formatting amounts, including when the source and destination contracts differ. Decimal conversion changes the display scale; it does not calculate how much value the route transfers.
The quoted values and their interpretation limits
The amount fields describe different sides of the proposed transfer, while valuation fields express amounts in USD. Their names carry meaning that a bare number loses. Expected output, protected minimum output and a dollar valuation each answer a different question about the same quote.
| Quote value | Meaning and common misreading |
|---|---|
srcAmount
|
Exact source amount for the quote; not necessarily the amount that the bridge receives after wrapper fees. |
dstAmount
|
Expected destination token amount; not confirmation of an existing wallet balance. |
dstAmountMin
|
Minimum destination amount under slippage protection; not the expected output. |
srcAmountUsd
|
USD valuation of the source amount; not a quantity of source tokens. |
dstAmountUsd
|
USD valuation of the destination amount; not a separate cash payment. |
feeUsd
|
API-reported fee figure in USD; not an amount to subtract directly from a token integer. |
feePercent
|
Fee as a percentage of the transfer amount; not an output-slippage percentage. |
The API returns these fields as strings, including token quantities, USD valuations and percentages. Their data type does not make their units equivalent. Decimal conversion applies to token quantities. Applying token decimals to a USD valuation or percentage would change its numerical meaning.
Does dstAmount confirm that tokens have arrived?
The
dstAmount
field expresses expected destination output and does not confirm that the recipient already holds that amount.
A quote identifier names the proposed transfer and becomes its transfer identifier after execution. The API can return multiple quotes for one request. Each identifier belongs to the route and amounts in its own quote, so output from one quote should not be attributed to another.
Transfer tracking distinguishes those later states.
PENDING
means initiation without processing, while
PROCESSING
means the cross-chain message remains in transit.
SUCCEEDED
reports successful completion. Stargate and OFT routes require the source transaction hash for status tracking, because the API follows those transfers from their source transactions.
Instant Guaranteed Finality concerns Stargate’s liquidity settlement and destination transaction guarantee. The credit mechanism still relies on LayerZero to deliver tokens on the destination chain. Consequently, successful source settlement and destination possession describe different moments. Neither the expected output field nor the protected minimum supplies a delivery timestamp.
Minimum output and destination token identity
The Value Transfer API defines
dstAmountMin
as the minimum destination amount under slippage protection.
That quantity expresses the quote’s protected output boundary. The expected amount describes the anticipated output, while the minimum describes the protected lower bound. If the minimum is below the expected amount, treating it as the prediction understates expected output, while treating the expectation as the floor overstates protection. Both quantities use the same destination-token units, so their raw integers can be compared directly.
Asset identity also limits comparisons with the source quantity. A route that includes a swap can produce a different destination token. Native pool assets and Hydra’s pool-backed token representations also have distinct contract identities. A difference between source and destination integers therefore cannot, by itself, identify a fee or a loss. Pool liquidity and Hydra affect the available asset form; the destination token specified by the quote determines the holding that its output amounts describe.
Fee currency and USD totals
Each detailed fee entry identifies its payment chain and the token address associated with its amount. The
fees
array therefore provides information that the aggregate
feeUsd
field cannot convey alone. Fee entries distinguish types such as messaging charges and destination native drops. USD valuation leaves fee payment currencies unchanged. The API reference labels feeUsd a total, but its sample does not reconcile that figure with the listed messaging charge. The aggregate alone therefore does not establish that every charge is included.
An ETH-denominated messaging charge and a USDC transfer quantity describe different assets. Subtracting their raw integers would produce an amount with no meaningful token unit.
The API expresses
feePercent
relative to the transfer amount. That percentage describes the quoted charge, while the detailed entries separately identify charges and payment currencies. A route’s dollar fee, percentage fee and token-denominated charges are related views of costs. They do not all become deductions from the same token balance merely because one response contains them.
Source quantity before wrapper deductions
The Value Transfer API’s EVM wrapper deducts applicable transfer fees before sending the remaining token amount into the bridge. In its ERC20 flow, TransferDelegate pulls the full source token amount, including those fees. LZMulticall sends the fee portion to Treasury and bridges the remainder. The gross source quantity and the quantity entering the bridge can therefore differ. This ordering explains why the recipient’s quoted output reflects wrapper deductions even before any additional route-specific exchange affects the destination asset.
Those token deductions remain distinct from native-currency payments in the transaction. The fee breakdown and encoded transaction value describe the relevant charges more precisely than a source-minus-destination calculation. Even when both sides use the same underlying asset, their displayed difference does not automatically itemize every charge. A complete interpretation keeps the transferred token, the bridge input and any separate fee currency identifiable.
Route mechanisms behind the amounts
The Value Transfer API can quote routes involving Stargate pools, Omnichain Fungible Tokens (OFTs), Circle’s Cross-Chain Transfer Protocol (CCTP) and Aori. These mechanisms have different roles. Stargate coordinates pool liquidity, CCTP transfers native USDC through burn and mint operations and Aori supports intent-based swaps. The route segments explain which mechanism produces the quoted output. A quote through the broader API does not establish that every segment uses a Stargate liquidity pool.
Stargate’s delivery policy specifies Taxi for all transactions from October 1, 2026. The API reference also lists the Bus identifier for batched transfers. That entry does not establish a currently available Bus option. Quoted charges belong to the returned route; a historical batching description cannot establish the fee for a current Taxi transfer.
What does feeTolerance measure in a transfer quote?
The API defines
feeTolerance
as the maximum acceptable fee variance, while
dstAmountMin
separately states the minimum output under slippage protection.
The fee-tolerance configuration uses the
PERCENT
type. Its amount accepts percentages from 0 to 100, with a documented default of 1. These values describe the tolerance setting. They do not state the route’s actual fee percentage or define a universal formula for its output minimum. The response’s minimum-output field supplies that quantity; substituting a fee-tolerance percentage for it changes the meaning of the comparison.
Destination native drops and output quantities
The optional
dstNativeDropAmount
configures a native gas drop on the destination chain. Its default value is 0. This option concerns native currency for destination gas, while the selected destination token identifies the asset that the transfer’s output fields describe. Native currency and a transferred ERC20 token remain different balances.
The detailed fee array can identify a
DST_NATIVE_DROP
charge when relevant. A native-drop configuration, a charge for providing that drop and the expected transferred-token quantity each describe a different aspect of the quote. Combining them requires their respective currencies and units. The presence of a destination-related charge alone does not make it additional units of the transferred token.
Changed inputs and quote validity
Changing the requested amount or the destination token changes the transfer that the API evaluates. Its routing considers cost, speed and liquidity, so quotes for different inputs do not describe interchangeable offers. Amount size also interacts with Stargate’s pathway credits. Insufficient credit can cause a transfer call to revert, even when the token exists on both chains. A quoted output quantity does not establish unlimited capacity for larger transfers.
Some quotes include
expiresAt
. An expired timestamp calls for a new quote; the absence of that field does not establish permanent validity.
For a comparison between available quotes, destination token identity and readable units come first. Use the quote for the selected route and interface to decide whether its expected output, protected minimum and fees fit the intended destination holding. Amounts retained from a different request describe different transfer terms.
Stargatefinance questions worth asking
-
What does a null transfer-duration estimate mean for a quote?
- A null duration estimate means that the API does not have an estimated transfer duration for that quote. When present, duration.estimated uses milliseconds. It describes timing, while dstAmount describes expected token output. A duration estimate does not confirm delivery or guarantee an arrival time.
-
Why might a quote response contain an error and no quoted amounts?
- A failed quote request can return an error object alongside an empty quotes array. The error can include a message and specific input issues, such as an invalid source token. An integration must check that error before reading quote amounts. An empty quotes array does not supply an expected output or a protected minimum.
-
Can a token ticker replace the source and destination token addresses in a quote request?
- A quote request requires source and destination token addresses alongside their chain identifiers. A ticker alone does not satisfy those input requirements. The request also specifies sender and recipient wallet addresses and an amount in smallest units. Those fields identify the transfer precisely enough to interpret its source quantity and destination output.
-
How does a partner fee change a Value Transfer API quote?
- A partner fee adds a percentage-based commission configured for the integration’s API key. The API’s EVM wrapper deducts applicable fees from the source amount before bridging the remainder. This makes the integration’s fee configuration relevant to the destination quote. The API does not define one universal partner percentage for every integration.
-
Is the CCTP receive fee calculated as a transfer percentage?
- The Value Transfer API describes its CCTP receive fee as a fixed charge for destination-chain receive costs on CCTP routes. It differs from the percentage-based base and partner fees. Its amount belongs in the applicable quote’s fee breakdown; the fixed fee type does not establish one permanent dollar price for every route.
-
Where are zero-value fee lines in an API fee breakdown?
- The Value Transfer API omits zero-amount wrapper fees from its fee breakdown. A missing zero-value line therefore does not make the response incomplete. That omission also does not establish that every other charge is zero. The remaining fee entries and the quote’s aggregate fee fields describe the charges that the response actually includes.
-
Does EXACT_SRC_AMOUNT keep the dollar value of a transfer constant?
- EXACT_SRC_AMOUNT identifies the request as specifying an exact source-token quantity, not a fixed USD value. The API lists it as the default amount type. USD valuation fields describe that quantity in dollars within the quote. Token amounts and dollar valuations use different units, so an exact token input does not promise a constant dollar value.