AcrossV5Error
Defined in: protocol-swap2-across/src/api.ts:317
A V5 error answer, read from either envelope, with its classification.
Properties
Section titled “Properties”amountLimit?
Section titled “amountLimit?”
optionalamountLimit?:object
Defined in: protocol-swap2-across/src/api.ts:330
error.details.amountLimits: which bound the amount crossed and where it lies, base units of the input token.
amount?
Section titled “amount?”
optionalamount?:string
side:
"min"|"max"
optionalcode?:string
Defined in: protocol-swap2-across/src/api.ts:321
error.code, else the top-level code (unauthenticated, policy.amount_out_of_range, …).
optionalinfo?:Swap2RefusalInfo
Defined in: protocol-swap2-across/src/api.ts:332
The CS-13 classification; undefined when neither the code nor the status says what it is.
message?
Section titled “message?”
optionalmessage?:string
Defined in: protocol-swap2-across/src/api.ts:324
param?
Section titled “param?”
optionalparam?:string
Defined in: protocol-swap2-across/src/api.ts:326
The field the error names (error.param).
requestId?
Section titled “requestId?”
optionalrequestId?:string
Defined in: protocol-swap2-across/src/api.ts:328
Across’s id for the request, for support (error.requestId).
retrySameRequest
Section titled “retrySameRequest”retrySameRequest:
boolean
Defined in: protocol-swap2-across/src/api.ts:337
409 conflict.submission_state_unknown: the execution’s outcome is unknown — retry the SAME request with backoff,
never quote again (a new quote could fund the transfer twice). Quoting never meets it; kept for completeness.
status
Section titled “status”status:
number
Defined in: protocol-swap2-across/src/api.ts:319
HTTP status of the answer.
optionaltype?:string
Defined in: protocol-swap2-across/src/api.ts:323
error.type (nested envelope only).