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.
For ICS-20 transfer (including MsgTransfer), the packet.data field is a
FungibleTokenPacketData object, and you can use
JSON.parse(atob(packet.data)) to extract it.
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.For ICS-20 transfer (including
MsgTransfer
), thepacket.data
field is a FungibleTokenPacketData object, and you can useJSON.parse(atob(packet.data))
to extract it.