Skip to main content
Version: 1.10.3

Interface: MessageV1TokenTransfer

Defined in: evm/messageCodec.ts:13

A single CCIP v2 token transfer, mirroring MessageV1Codec.TokenTransferV1.

Properties

amount

amount: bigint

Defined in: evm/messageCodec.ts:15

Number of tokens transferred.


destTokenAddress

destTokenAddress: string

Defined in: evm/messageCodec.ts:21

Destination token address, raw bytes (20 bytes for EVM destinations).


extraData?

optional extraData?: string

Defined in: evm/messageCodec.ts:25

Optional pool data forwarded to the destination pool.


sourcePoolAddress?

optional sourcePoolAddress?: string

Defined in: evm/messageCodec.ts:17

Source pool address, abi.encode(address) (32 bytes) for EVM sources. Optional; empty if omitted.


sourceTokenAddress?

optional sourceTokenAddress?: string

Defined in: evm/messageCodec.ts:19

Source token address, abi.encode(address) (32 bytes) for EVM sources. Optional; empty if omitted.


tokenReceiver?

optional tokenReceiver?: string

Defined in: evm/messageCodec.ts:23

Token receiver on the destination chain, raw bytes (20 bytes for EVM). Optional; empty if omitted.