Skip to main content
Version: 1.4.2

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:206

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:220

Destination network metadata


messageId

messageId: string

Defined in: api/types.ts:208

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


origin

origin: string

Defined in: api/types.ts:210

Transaction originator address (EOA that submitted the send transaction)


receiver

receiver: string

Defined in: api/types.ts:214

Message receiver address


sender

sender: string

Defined in: api/types.ts:212

Message sender address


sendTimestamp

sendTimestamp: string

Defined in: api/types.ts:224

ISO 8601 timestamp of the send transaction


sendTransactionHash

sendTransactionHash: string

Defined in: api/types.ts:222

Source chain transaction hash


sourceNetworkInfo

sourceNetworkInfo: NetworkInfo

Defined in: api/types.ts:218

Source network metadata


status

status: MessageStatus

Defined in: api/types.ts:216

Message lifecycle status