MsgTransfer
A fungible token cross chain transfer is achieved by using the MsgTransfer
:
SourcePort
is invalid (see 24-host naming requirements.SourceChannel
is invalid (see 24-host naming requirements).Token
is invalid (denom is invalid or amount is negative)Token.Amount
is not positive.Token.Denom
is not a valid IBC denomination as per ADR 001 - Coin Source Tracing.
Sender
is empty.Receiver
is empty or contains more than 2048 bytes.Memo
contains more than 32768 bytes.TimeoutHeight
andTimeoutTimestamp
are both zero.
SourcePort
and SourceChannel
.
The denomination provided for transfer should correspond to the same denomination represented on this chain. The prefixes will be added as necessary upon by the receiving chain.
If the Amount
is set to the maximum value for a 256-bit unsigned integer (i.e. 2^256 - 1), then the whole balance of the corresponding denomination will be transferred. The helper function UnboundedSpendLimit
in the types
package of the transfer
module provides the sentinel value that can be used.