IntentTransaction
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:
EVMtransactionPurposestring
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:
INTENTtostringrequired
Target address to invoke. Format depends on chainFamily.
Example:
0x15a7cA97D1ed168fB34a4055CEFa2E2f9Bdb6C75datastringrequired
Transaction data to submit as-is. Format depends on chainFamily (hex for EVM, base64 for SVM).
Example:
0xabcdef1234567890valuestringrequired
Native token value to send with the transaction, typically "0" for intents.
Example:
0chainIdstringrequired
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:
1JSON
IntentTransaction
{
"chainFamily": "EVM",
"transactionPurpose": "INTENT",
"to": "0x15a7cA97D1ed168fB34a4055CEFa2E2f9Bdb6C75",
"data": "0xabcdef1234567890",
"value": "0",
"chainId": "1"
}