Skip to main content
Version: v2

IntentQuoteResponse

inputAmountstringrequired

Echo of the requested input amount for confirmation.

Example: 1000000000
expectedOutputAmountstring

Expected amount of output tokens after all fees. In smallest unit of the output token. May be omitted if the provider does not return this estimate.

Example: 999000000
estimatedExecutionTimeinteger

Estimated time for intent execution in seconds. May be omitted if the provider does not return timing estimates.

Example: 180
transaction objectrequired
chainFamilystringrequired

Chain family for this transaction. Use this to determine how to interpret other fields. Current values: "EVM" (0x addresses, hex data) or "SVM" (base58 addresses, base64 data).

Example: EVM
transactionPurposestring

Purpose of this transaction.

  • INTENT: The actual intent transaction to submit on-chain.
  • LOOKUP_TABLE_CREATION: A prerequisite transaction that creates a Solana lookup table. Submit this first, then poll the quotes endpoint again to get the intent transaction. Only applicable for SVM chains.

Possible values: [INTENT, LOOKUP_TABLE_CREATION]

Example: INTENT
tostringrequired

Target address to invoke. Format depends on chainFamily.

Example: 0x15a7cA97D1ed168fB34a4055CEFa2E2f9Bdb6C75
datastringrequired

Transaction data to submit as-is. Format depends on chainFamily (hex for EVM, base64 for SVM).

Example: 0xabcdef1234567890
valuestringrequired

Native token value to send with the transaction, typically "0" for intents.

Example: 0
chainIdstringrequired

Chain identifier from the intent provider. For EVM chains: numeric chain ID (e.g., "1" for Ethereum). For SVM chains: provider's domain identifier. Use chainFamily to determine how to interpret this value.

Example: 1
deadlineinteger<int64>required

Unix timestamp for quote validity. Submit the transaction before this time; after this, the quote is stale and should be re-fetched. Note: Some routes encode a separate, longer on-chain intent deadline inside the transaction data (for solver fulfillment). This deadline field represents the shorter quote validity window, not the on-chain deadline.

Example: 1704067200
refundablebooleanrequired

Whether the intent supports refunds.

Example: false
JSON
IntentQuoteResponse
{
"inputAmount": "1000000",
"expectedOutputAmount": "999000",
"estimatedExecutionTime": 1800,
"transaction": {
"chainFamily": "EVM",
"transactionPurpose": "INTENT",
"to": "0x15a7cA97D1ed168fB34a4055CEFa2E2f9Bdb6C75",
"data": "0xabcdef1234567890",
"value": "0",
"chainId": "1"
},
"deadline": 1734192060,
"refundable": false
}