IBC-Transfer

API

class terra_sdk.client.lcd.api.ibc_transfer.IbcTransferAPI(c)[source]
parameters()[source]

Fetches the IbcTransfer module’s parameters.

Returns

IbcTransfer module parameters

Return type

dict

Messages

ibc-transfer module message types.

class terra_sdk.core.ibc_transfer.msgs.MsgTransfer(source_port, source_channel, token, sender, receiver, timeout_height, timeout_timestamp)[source]

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

Parameters
  • 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.

type: str = 'cosmos-sdk/MsgTransfer'
type_url: str = '/ibc.applications.transfer.v1.MsgTransfer'