VTransferIBCEvent: {
    acknowledgement: Bytes;
    blockHeight: number;
    blockTime: number;
    event: "acknowledgementPacket" | "writeAcknowledgement";
    packet: IBCPacket;
    relayer: string;
    target: string;
    type: "VTRANSFER_IBC_EVENT";
}

This event is emitted when a FungibleTokenPacket is sent or received by a target (e.g. a LocalChainAccount) that has a registered TargetApp. It is passed through the receiveUpcall handler.

Type declaration

  • acknowledgement: Bytes
  • blockHeight: number
  • blockTime: number
  • event: "acknowledgementPacket" | "writeAcknowledgement"

    Indicates the type of IBC packet event:

    • 'acknowledgementPacket': passive tap that communicates the result of an acknowledged packet
    • 'writeAcknowledgement': active tap where the receiver can return a write acknowledgement
  • packet: IBCPacket

    Use JSON.parse(atob(packet.data)) to get a FungibleTokenPacketData object.

  • relayer: string
  • target: string

    e.g. the chain address of the LocalChainAccount

  • type: "VTRANSFER_IBC_EVENT"