Hyperlane Warp Route token transfers encode transfer data in the message body using a simple format:
The complete message body is 64 bytes (128 hexadecimal characters), with the recipient in the first 32 bytes and the amount in the last 32 bytes.
Note: Amounts should be specified in the token's smallest unit (e.g., wei for ETH, where 1 ETH = 1018 wei).
Encoding
Recipient:
0x1234567890123456789012345678901234567890Amount (1 ETH in wei):
1000000000000000000Encoded Message Body:
0x00000000000000000000000012345678901234567890123456789012345678900000000000000000000000000000000000000000000000000de0b6b3a7640000