AcrossV5QuoteRequest
Defined in: protocol-swap2-across/src/api.ts:45
POST /v1/quotes body, exactly the fields this module sends (the API refuses any field it does not know).
Properties
Section titled “Properties”amountType
Section titled “amountType”amountType:
"exact_input"
Defined in: protocol-swap2-across/src/api.ts:48
authorizationPolicy
Section titled “authorizationPolicy”authorizationPolicy:
object
Defined in: protocol-swap2-across/src/api.ts:52
An approval of exactly the funded amount — never infinite.
allowedTypes
Section titled “allowedTypes”allowedTypes: readonly [
"approval"]
approvalAmount
Section titled “approvalAmount”approvalAmount:
"exact"
capabilities
Section titled “capabilities”capabilities:
object
Defined in: protocol-swap2-across/src/api.ts:50
What the client can do: approve a token and send a transaction on an EVM chain. No typed data, no submissions.
operations
Section titled “operations”operations: readonly
object[]
destination
Section titled “destination”destination:
object
Defined in: protocol-swap2-across/src/api.ts:47
recipient
Section titled “recipient”recipient:
string
token:
AcrossV5Token
maxFee
Section titled “maxFee”maxFee:
object
Defined in: protocol-swap2-across/src/api.ts:54
ACROSS_V5_PRICING_MAX_FEE_BPS.
bps:
number
origin
Section titled “origin”origin:
object
Defined in: protocol-swap2-across/src/api.ts:46
amount
Section titled “amount”amount:
string
depositor
Section titled “depositor”depositor:
string
token:
AcrossV5Token