Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FungibleTokenPacketData

FungibleTokenPacketData defines a struct for the packet payload See FungibleTokenPacketData spec: https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures

Hierarchy

Index

Constructors

  • new FungibleTokenPacketData(denom: string, amount: string, sender: string, receiver: string): FungibleTokenPacketData
  • Parameters

    • denom: string

      the token denomination to be transferred

    • amount: string

      the token amount to be transferred

    • sender: string

      the sender address

    • receiver: string

      the recipient address on the destination chain

    Returns FungibleTokenPacketData

Properties

amount: string
denom: string
receiver: string
sender: string

Methods

  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(): FungibleTokenPacketData