Tenzro
Tutorial — Bridges

Send a CCIP message

Chainlink CCIP exposes cross-chain messaging with verified DON delivery. The Chainlink MCP wrapsRouter.getFee(), ccipSend(), and the OffRamp tracker for end-to-end visibility.
Level
Intermediate
Time
~20 min
Prerequisites
EVM wallet, MCP client
Stack
TypeScript · MCP
01

Open the Chainlink MCP

One client gives you CCIP, data feeds, VRF, automation, and PoR.

import { McpClient } from "tenzro-sdk";
const cl = new McpClient("https://chainlink-mcp.tenzro.network/mcp");
02

Quote the fee

CCIP fees are paid in LINK or native gas; the tool returns both options.

const fee = await cl.call("ccip_get_fee", {
  src_chain: "ethereum", dst_chain: "polygon", data: "0x...", token_amounts: []
});
03

Send the message

The tool encodes ccipSend() calldata you can submit through any wallet.

const msg = await cl.call("ccip_send_message", {
  src_chain: "ethereum", dst_chain: "polygon",
  receiver: "0xabc...", data: "0x...",
});
04

Track execution

The tracker reads OffRamp.getExecutionState() on the destination chain.

await cl.call("ccip_track_message", { messageId: msg.id });
Related
← All tutorials