Skip to main content
Version: 0.96.0

Function: getCCIPExplorerLinks()

getCCIPExplorerLinks<V>(request: CCIPRequest<V>): CCIPExplorerLinks

Defined in: explorer.ts:81

Generate all explorer URLs from a CCIPRequest.

Type Parameters

Type Parameter
V extends CCIPVersion

Parameters

ParameterTypeDescription
requestCCIPRequest<V>The CCIP request containing message and transaction data

Returns

CCIPExplorerLinks

Object with URLs for message, transaction, sender, and receiver

Example

TypeScript
const request = await source.sendMessage(router, destChainSelector, message, { wallet })
const links = getCCIPExplorerLinks(request)

console.log('Message:', links.message)
console.log('Transaction:', links.transaction)
console.log('Sender:', links.sender)
console.log('Receiver:', links.receiver)