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:204
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
- CCIPAPIClient.getMessageById — to fetch full message details
- CCIPAPIClient.searchMessages
Example
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:218
Destination network metadata
messageId
messageId:
string
Defined in: api/types.ts:206
Unique CCIP message ID (0x-prefixed, 32-byte hex string)
origin
origin:
string
Defined in: api/types.ts:208
Transaction originator address (EOA that submitted the send transaction)
receiver
receiver:
string
Defined in: api/types.ts:212
Message receiver address
sender
sender:
string
Defined in: api/types.ts:210
Message sender address
sendTimestamp
sendTimestamp:
string
Defined in: api/types.ts:222
ISO 8601 timestamp of the send transaction
sendTransactionHash
sendTransactionHash:
string
Defined in: api/types.ts:220
Source chain transaction hash
sourceNetworkInfo
sourceNetworkInfo:
NetworkInfo
Defined in: api/types.ts:216
Source network metadata
status
status:
MessageStatus
Defined in: api/types.ts:214
Message lifecycle status