Skip to main content
Version: 1.15.0

Type Alias: MessageSearchResult

MessageSearchResult = { destNetworkInfo: NetworkInfo; messageId: string; origin: string; receiver: string; sender: string; sendTimestamp: string; sendTransactionHash: string; sourceNetworkInfo: NetworkInfo; status: MessageStatus; }

Defined in: api/types.ts:216

A single message search result from the CCIP API.

Remarks​

This is a lightweight summary — it does not include extraArgs, tokenAmounts, fees, or other detailed fields available via CCIPAPIClient.getMessageById.

See​

Example​

TypeScript
const page = await api.searchMessages({ sender: '0x...' })
for (const msg of page.data) {
console.log(`${msg.messageId}: ${msg.status} (${msg.sourceNetworkInfo.name} → ${msg.destNetworkInfo.name})`)
}

Properties​

destNetworkInfo​

destNetworkInfo: NetworkInfo

Defined in: api/types.ts:230

Destination network metadata


messageId​

messageId: string

Defined in: api/types.ts:218

Unique CCIP message ID (0x-prefixed, 32-byte hex string)


origin​

origin: string

Defined in: api/types.ts:220

Transaction originator address (EOA that submitted the send transaction)


receiver​

receiver: string

Defined in: api/types.ts:224

Message receiver address


sender​

sender: string

Defined in: api/types.ts:222

Message sender address


sendTimestamp​

sendTimestamp: string

Defined in: api/types.ts:234

ISO 8601 timestamp of the send transaction


sendTransactionHash​

sendTransactionHash: string

Defined in: api/types.ts:232

Source chain transaction hash


sourceNetworkInfo​

sourceNetworkInfo: NetworkInfo

Defined in: api/types.ts:228

Source network metadata


status​

status: MessageStatus

Defined in: api/types.ts:226

Message lifecycle status