Skip to content
docs

AcrossDepositArgs

Defined in: protocol-swap2-across/src/deposit.ts:25

The arguments of a deposit. Addresses are 20 bytes, lowercase; the zero address as exclusiveRelayer is “none”.

depositor: string

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


destinationChainId: bigint

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


exclusiveRelayer: string

Defined in: protocol-swap2-across/src/deposit.ts:33


exclusivityParameter: number

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

0 (no exclusivity), an offset up to one year, or a unix timestamp above that.


fillDeadline: number

Defined in: protocol-swap2-across/src/deposit.ts:37

Unix seconds, on the destination chain.


inputAmount: bigint

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


inputToken: string

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


message: `0x${string}`

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

Lowercase hex, 0x when empty.


outputAmount: bigint

Defined in: protocol-swap2-across/src/deposit.ts:31


outputToken: string

Defined in: protocol-swap2-across/src/deposit.ts:29


quoteTimestamp: number

Defined in: protocol-swap2-across/src/deposit.ts:35

Unix seconds.


recipient: string

Defined in: protocol-swap2-across/src/deposit.ts:27