Data types (v1)
All values are literal strings, compared case-sensitively.
TradeType
Section titled “TradeType”| Value | Meaning |
|---|---|
EXACT_INPUT |
amount is what the user sends. The output varies. |
EXACT_OUTPUT |
amount is what the user receives. The input varies. |
Route ids
Section titled “Route ids”routeId |
Route |
|---|---|
Hyperstream |
The native route. |
Across |
Across. |
DeBridge |
deBridge. |
FillerType
Section titled “FillerType”The route’s type, also the order’s type.
| Value | Routes |
|---|---|
native-filler |
Hyperstream |
liquidity-router |
Historical orders only. No active route uses it. |
external-intent-router |
Across, DeBridge |
aggregator-router |
Defined in the schema. No route uses it today. |
oda-transfer |
Orders only: a deposit-address order. No route returns it. |
FillerProvider
Section titled “FillerProvider”The provider in an order’s providerStatus.
| Value | Provider |
|---|---|
hyperstream |
The native route. |
across |
Across. |
debridge |
deBridge. |
OrderStatus
Section titled “OrderStatus”| Value | Meaning | Final |
|---|---|---|
created |
The order exists; the route has not reported deposit progress yet. | No |
deposited |
The route reports deposit progress. Source-chain confirmation depends on the route. | No |
published |
The order is visible to fillers. | No |
filled |
The user received the output on the destination chain. | Yes |
refund_pending |
Native route only. The intent was cancelled or expired; waiting for the cross-chain refund message to be delivered. | No |
refunded |
The route reports refund completion on the source chain. Transaction details may be absent. | Yes |
failed |
The order cannot complete. | Yes |
transactions.refund is optional even when status is refunded. A native refund with completed delivery but no destination transaction hash omits that object; the hub cancellation hash is not a substitute. Canonical refunded remains terminal without automatic transaction enrichment.
deposited reports deposit progress; verify source-chain confirmation separately. See Order statuses before using it as evidence of source-chain finality.
ExactOutMethod
Section titled “ExactOutMethod”How a route handles EXACT_OUTPUT.
| Value | Meaning |
|---|---|
native |
The route quotes exact output directly. |
RouteTag
Section titled “RouteTag”| Value | Meaning |
|---|---|
1-click |
No approval needed. The deposit is one transaction. |
needs-approval |
A token approval comes before the deposit. |
DepositMethod
Section titled “DepositMethod”| Value | Meaning |
|---|---|
CONTRACT_CALL |
The wallet runs actions that call a deposit contract. Every active route offers it. |
TRANSFER |
A plain transfer to a deposit address, from any wallet. The native route offers it on some EVM source chains. |
PERMIT2 |
Defined in the schema, but no route offers it. Asking for it returns 400 NotSupportedDepositMethodException. |
ChainType
Section titled “ChainType”| Value | Chains |
|---|---|
eip155 |
EVM chains. |
Shared objects
Section titled “Shared objects”{ "message": "Quote(quoteId: 3f6c2a1e-8b4d-4e7a-9c15-2d0b7e9a4f61, routeId: Hyperstream) not found", "name": "QuoteNotFoundException", "details": { "quoteId": "3f6c2a1e-8b4d-4e7a-9c15-2d0b7e9a4f61", "routeId": "Hyperstream", "code": 0 }}| Field | Type | Description |
|---|---|---|
message |
string | Human-readable. |
name |
string | The exception. Branch on it. |
details |
object or array | Optional. Hidden on some exceptions. |
On validation errors, details is a list of issues:
{ "message": "Validation failed", "name": "ValidationException", "details": [{ "field": "q", "message": "Invalid input: expected string, received undefined", "code": "invalid_type" }]}Rate limits (429, { errorCode, message }) and the by-id 404 (plain text) use other shapes. See Handling exceptions for every name and status.
TokenMeta
Section titled “TokenMeta”The fromTokenMeta and toTokenMeta of an order.
| Field | Type | Description |
|---|---|---|
symbol |
string | Token symbol. |
decimals |
integer | Token decimals on that chain. |
logoURI |
string or null | Icon URL. |
TransactionInfo
Section titled “TransactionInfo”An entry of an order’s transactions: deposit, fill or refund.
| Field | Type | Description |
|---|---|---|
timestamp |
string | ISO 8601. |
txHash |
string | The transaction hash. |
chainId |
integer | The chain it is on. |
amount |
string | Optional. The amount moved, in base units. |
ProviderStatus
Section titled “ProviderStatus”| Field | Type | Description |
|---|---|---|
provider |
string | A FillerProvider value. |
nativeStatus |
string | The provider’s raw status. Opaque: show it in support tools, but do not build logic on it. |
substatus |
string | Optional. More provider detail. |
metadata |
object | Optional. Provider-specific data. |
Address formats
Section titled “Address formats”Addresses are 0x and 40 hex characters, for example 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48. Use lowercase or a valid EIP-55 checksum: other mixed case fails validation. referrer and filler must be EVM addresses.
Use token addresses as GET /v1/tokens lists them. It writes an EVM chain’s native token as 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee. The API also recognizes the zero address as the native token.
Transaction hash formats
Section titled “Transaction hash formats”Transaction hashes are 0x and 64 hex characters.
Amounts
Section titled “Amounts”Every amount is a string of integer base units: the token’s smallest unit, with no decimal point. Never send a JSON number.
| Token | Decimals | Amount | In the API |
|---|---|---|---|
| USDC | 6 | 100 | "100000000" |
| ETH | 18 | 1.5 | "1500000000000000000" |
| WBTC | 8 | 0.5 | "50000000" |
The quote’s amount also accepts 0x hex: "0x5f5e100" equals "100000000". Read decimals per chain from the token list, because the same token can have different decimals on different chains.