Skip to main content

terra_sdk.core.ibc_transfer.msgs

ibc-transfer module message types.

MsgTransfer Objects


_2
@attr.s
_2
class MsgTransfer(Msg)

MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between ICS20 enabled chains.

Arguments:

  • source_port str - the port on which the packet will be sent
  • source_channel str - the channel by which the packet will be sent
  • token Coin - the tokens to be transferred
  • sender AccAddress - the sender address
  • receiver str - the recipient address on the destination chain
  • timeout_height Height - Timeout height relative to the current block height. The timeout is disabled when set to 0.
  • timeout_timestamp int - Timeout timestamp (in nanoseconds) relative to the current block timestamp. The timeout is disabled when set to 0.