API Version: v1.6.3

CCIP v1.6.3 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.

Token Pool (Send)

Event Parameters Description
LockedOrBurned - indexed uint64 remoteChainSelector
- address token
- address sender
- uint256 amount

Emitted when tokens are locked or burned during a cross-chain transfer.

OutboundRateLimitConsumed - indexed uint64 remoteChainSelector
- address token
- uint256 amount

Emitted when outbound rate limit capacity is consumed for a token transfer.

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.

Token Pool (Receive)

Event Parameters Description
ReleasedOrMinted - indexed uint64 remoteChainSelector
- address token
- address sender
- address recipient
- uint256 amount

Emitted when tokens are released or minted to the receiver on the destination chain.

InboundRateLimitConsumed - indexed uint64 remoteChainSelector
- address token
- uint256 amount

Emitted when inbound rate limit capacity is consumed for a token transfer.

Get the latest Chainlink content straight to your inbox.