API Version: v1.5.0 Not using latest version (v1.6.3)

CCIP v1.5.0 Events API Reference

When invoking the ccipSend function or when a message is executed via ccipReceive, various events are emitted by CCIP contracts. Below is a compiled list of events you can expect during CCIP operations.

ccipSend

These events are emitted when sending a cross-chain message using the ccipSend function.

OnRamp

Event Parameters Description
CCIPMessageSent - indexed uint64 destChainSelector
- indexed uint64 sequenceNumber
- Internal.EVM2AnyRampMessage message

Emitted when a CCIP message is successfully sent.

ccipReceive

These events are emitted when a cross-chain message is executed on the destination chain.

OffRamp

Event Parameters Description
ExecutionStateChanged - indexed uint64 sourceChainSelector
- indexed uint64 sequenceNumber
- indexed bytes32 messageId
- bytes32 messageHash
- Internal.MessageExecutionState state
- bytes returnData
- uint256 gasUsed

Emitted when a message execution state changes to SUCCESS or FAILURE.

Router

Event Parameters Description
MessageExecuted - bytes32 messageId
- uint64 sourceChainSelector
- address offRamp
- bytes32 calldataHash

Emitted when the Router successfully routes a message to the receiver.

Get the latest Chainlink content straight to your inbox.