Overview
The Quote types define the structure for requesting and receiving swap quotes, including account information, token details, and chain-specific operations.QuoteRequest
Defines the structure for requesting a quote for a swap or transfer.Properties
object
required
Source information for the swap
object
required
Destination information for the swap
Example
Quote
Represents a complete quote response with all chain operations needed to execute the swap.Properties
string
required
Unique identifier for the quote
string
required
ISO timestamp when the quote expires
string
required
Cryptographic signature ensuring quote integrity
ChainOperation[]
required
Array of operations to execute on origin chains. See ChainOperation below.
ChainOperation
Optional operation to execute on the destination chain. See ChainOperation below.
Account
Account information structure used in quotes.Properties
string
required
The session address for the account
string
required
The admin address that controls the account
string
required
The main account address
TokenInfo
Information about a token involved in a quote.Properties
string
required
The aggregated asset identifier (e.g.,
ob:eth, ob:usdc)string
required
Token amount in string format (BigInt as string)
string | string[]
required
CAIP-19 format asset type(s). Can be a single asset type or array of asset types when aggregated across multiple chains.Example:
"eip155:1/erc20:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" (USDC on Ethereum)never
required
Fiat value placeholder (not used in quote context)
ChainOperation
Defines a user operation to be executed on a specific chain.Properties
object
required
ERC-4337 User Operation parameters
object
required
EIP-712 typed data structure for signing
string
required
CAIP-19 format asset type identifier for this operation
string
required
Amount being transferred in this operation (as string)
QuoteStatus
Tracking information for an executed quote.Properties
string
required
The ID of the quote being tracked
'PENDING' | 'COMPLETED' | 'FAILED' | 'IN_PROGRESS' | 'REFUNDED'
required
Current status of the quote execution
PENDING: Quote created but execution not startedIN_PROGRESS: Execution has startedCOMPLETED: All operations completed successfullyFAILED: Execution failedREFUNDED: Failed execution has been refunded
string
required
The user address who initiated the quote
string
required
The recipient account identifier
array
required
Array of transaction details from origin chains
array
required
Array of transaction details from destination chain