AcrossRequest
Defined in: protocol-swap2-across/src/verify.ts:119
What the user asked for — the only thing a deposit is compared against. Addresses in any casing.
Properties
Section titled “Properties”amount
Section titled “amount”amount:
bigint
Defined in: protocol-swap2-across/src/verify.ts:129
Exact input, base units.
depositor
Section titled “depositor”depositor:
string
Defined in: protocol-swap2-across/src/verify.ts:131
The account that signs the deposit: its depositor (refunds, and the only key that can sign a speed-up).
destChain
Section titled “destChain”destChain:
string
Defined in: protocol-swap2-across/src/verify.ts:123
CAIP-2 of the chain the output is paid on.
destToken
Section titled “destToken”destToken:
string
Defined in: protocol-swap2-across/src/verify.ts:127
Output token contract; the zero address is the native coin.
maxFeeBps?
Section titled “maxFeeBps?”
optionalmaxFeeBps?:number
Defined in: protocol-swap2-across/src/verify.ts:137
Fee cap in bps of the input (default ACROSS_DEFAULT_MAX_FEE_BPS).
minAmountOut?
Section titled “minAmountOut?”
optionalminAmountOut?:bigint
Defined in: protocol-swap2-across/src/verify.ts:135
The caller’s own floor on the output, base units.
nowMs?
Section titled “nowMs?”
optionalnowMs?:number
Defined in: protocol-swap2-across/src/verify.ts:139
The clock (ms) deadlines are judged against; defaults to Date.now().
recipient
Section titled “recipient”recipient:
string
Defined in: protocol-swap2-across/src/verify.ts:133
Who receives the output.
sourceChain
Section titled “sourceChain”sourceChain:
string
Defined in: protocol-swap2-across/src/verify.ts:121
CAIP-2 of the chain the deposit is sent on.
sourceToken
Section titled “sourceToken”sourceToken:
string
Defined in: protocol-swap2-across/src/verify.ts:125
Input token contract; the zero address is the native coin.