Skip to main content
Version: v2

IntentQuoteRequest

sourceChainSelectorstringrequired

CCIP chain selector for the source blockchain. This is a uint64 value represented as a string.

For the complete list of chain selectors, see: CCIP Directory

Example: 5009297550715157269
destChainSelectorstringrequired

CCIP chain selector for the destination blockchain. This is a uint64 value represented as a string. Can be the same as sourceChainSelector for same-chain swaps (e.g., Solana token swaps).

For the complete list of chain selectors, see: CCIP Directory

Example: 4949039107694359620
inputTokenstringrequired

Token address on the origin chain. For EVM chains use 0x-prefixed hex addresses, for Solana use base58-encoded SPL token mint addresses.

Example: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
outputTokenstringrequired

Desired token address on the destination chain. For EVM chains use 0x-prefixed hex addresses, for Solana use base58-encoded SPL token mint addresses.

Example: 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
inputAmountstringrequired

Amount of input tokens in smallest unit (e.g., wei for ETH, lamports for SOL). Must be a positive integer string to preserve precision.

Possible values: Value must match regular expression ^[1-9][0-9]*$

Example: 1000000000
senderstringrequired

Address initiating the intent. For EVM this is the msg.sender (not tx.origin), for Solana this is the user's wallet address.

Example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
receiverstringrequired

Address receiving tokens on the destination chain. For EVM use 0x-prefixed hex addresses, for Solana use base58-encoded wallet addresses.

Example: 0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7
calldatastring

Optional execution data as hex-encoded bytes for arbitrary contract calls. Supported on some routes only - may be rejected on routes that only support token transfers. When unsupported, omit this field or set to 0x. Not supported for Solana/SVM intents.

Possible values: Value must match regular expression ^0x[a-fA-F0-9]*$

Example: 0x
extraOptions object

Chain-specific options for intent creation. Currently only SVMIntentOptionsV1 is supported (for Solana). Ignored for EVM chains.

oneOf

Optional Solana-specific parameters for intent creation. All fields are optional. If omitted, sensible defaults will be used (e.g., the user's associated token account).

userTokenAccountPublicKeystring

Sender's token account. Defaults to sender's ATA.

Example: 9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM
programVaultAccountPublicKeystring

Intent program vault account, tokens transferred to here for custody. Defaults to program's ATA.

Example: 8WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWN
JSON
IntentQuoteRequest
{
"sourceChainSelector": "5009297550715157269",
"destChainSelector": "4949039107694359620",
"inputToken": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"outputToken": "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
"inputAmount": "1000000",
"sender": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7",
"receiver": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb7",
"calldata": "0x"
}