Skip to content
docs

NormalizedAcrossQuote

Defined in: protocol-swap2-across/src/build.ts:24

What a quote source must say about one Across transfer, normalized from whatever it answers. Integers that can exceed 2^53 are canonical decimal strings (no sign, no leading zeros); times are unix seconds. Tokens are named as in the request — the ERC-20 contract, or the zero address for the native coin — never as the deposit names them.

destinationChainId: number

Defined in: protocol-swap2-across/src/build.ts:28

EVM chain id the output is paid on.


exclusiveRelayer: string

Defined in: protocol-swap2-across/src/build.ts:47

The relayer that alone may fill until the exclusivity ends; the zero address for none.


exclusivityParameter: number

Defined in: protocol-swap2-across/src/build.ts:49

0 (no exclusivity), an offset in seconds up to one year from the deposit’s block, or a unix timestamp above that.


expectedFillTimeSec: number

Defined in: protocol-swap2-across/src/build.ts:51

Expected time from deposit to fill, seconds (display only).


optional expectedOutputAmount?: string

Defined in: protocol-swap2-across/src/build.ts:41

The quote source’s own estimate of what arrives, when it gives one (display only; above outputAmount it is refused).


optional expiresAtMs?: number

Defined in: protocol-swap2-across/src/build.ts:53

When the quote source stops standing by the numbers (unix ms), when it says.


optional fees?: AcrossFeeBreakdown

Defined in: protocol-swap2-across/src/build.ts:55

The quote source’s breakdown of input − output (display only; must add up to it when given).


fillDeadline: number

Defined in: protocol-swap2-across/src/build.ts:45

The deposit’s fillDeadline (unix seconds, destination chain). Unfilled by then, the deposit is refunded.


inputAmount: string

Defined in: protocol-swap2-across/src/build.ts:34

Exact input, base units (decimal string).


inputToken: string

Defined in: protocol-swap2-across/src/build.ts:30

Input token: ERC-20 contract, or the zero address for the native coin.


optional orderId?: string

Defined in: protocol-swap2-across/src/build.ts:57

The quote source’s own id for the transfer (Across API V5 orderId), kept for its status endpoint.


outputAmount: string

Defined in: protocol-swap2-across/src/build.ts:39

What the deposit asks relayers to pay the recipient, base units (decimal string). A relayer pays exactly this, so it is both the expected and the guaranteed output of the transfer.


outputToken: string

Defined in: protocol-swap2-across/src/build.ts:32

Output token: ERC-20 contract, or the zero address for the native coin.


quoteTimestamp: number

Defined in: protocol-swap2-across/src/build.ts:43

The deposit’s quoteTimestamp (unix seconds). The SpokePool accepts it for 3600 s.


sourceChainId: number

Defined in: protocol-swap2-across/src/build.ts:26

EVM chain id the deposit is sent on.