TransferItem

TransferItem

new TransferItem()

Version:
  • 1.0

The TransferItem model module.

Members

feePayer :String

Fee delegation account address (20-byte)

Type:
  • String

feeRatio :Number

Fee delegation ratio

Type:
  • Number

fee :String

Gas fee

Type:
  • String

from :String

Sender EOA (20-byte)

Type:
  • String

to :String

Receiver EOA (20-byte)

Type:
  • String

transactionHash :String

Transaction hash

Type:
  • String

transactionIndex :Number

Transaction index

Type:
  • Number

transferType :String

Type of transaction detail

Type:
  • String

typeInt :Number

Transaction type

Type:
  • Number

value :String

The amount of tranferring KLAY (in hexadecimal)

Type:
  • String

contract :FtContract

Type:

formattedValue :String

Converted value with the contract specific decimal

Type:
  • String

transaction :Transaction

Type:

tokenId :String

Token identifier (in hexadecimal)

Type:
  • String

operator :String

Operator address (20-byte)

Type:
  • String

ids :Array.<String>

Array of token IDs (hex)

Type:
  • Array.<String>

values :Array.<String>

Array of numbers of tranferring tokens (hex)

Type:
  • Array.<String>

Methods

(static) constructFromObject(data, obj) → {TransferItem}

Constructs a TransferItem from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj TransferItem

Optional instance to populate.

Returns:

The populated TransferItem instance.

Type
TransferItem

TransferItem

new TransferItem()

Constructs a new TransferItem.

Members

feePayer :String

Fee delegation account address (20-byte)

Type:
  • String

feeRatio :Number

Fee delegation ratio

Type:
  • Number

fee :String

Gas fee

Type:
  • String

from :String

Sender EOA (20-byte)

Type:
  • String

to :String

Receiver EOA (20-byte)

Type:
  • String

transactionHash :String

Transaction hash

Type:
  • String

transactionIndex :Number

Transaction index

Type:
  • Number

transferType :String

Type of transaction detail

Type:
  • String

typeInt :Number

Transaction type

Type:
  • Number

value :String

The amount of tranferring KLAY (in hexadecimal)

Type:
  • String

contract :FtContract

Type:

formattedValue :String

Converted value with the contract specific decimal

Type:
  • String

transaction :Transaction

Type:

tokenId :String

Token identifier (in hexadecimal)

Type:
  • String

operator :String

Operator address (20-byte)

Type:
  • String

ids :Array.<String>

Array of token IDs (hex)

Type:
  • Array.<String>

values :Array.<String>

Array of numbers of tranferring tokens (hex)

Type:
  • Array.<String>

Methods

(static) constructFromObject(data, obj) → {TransferItem}

Constructs a TransferItem from a plain JavaScript object, optionally creating a new instance. Copies all relevant properties from data to obj if supplied or a new instance if not.

Parameters:
Name Type Description
data Object

The plain JavaScript object bearing properties of interest.

obj TransferItem

Optional instance to populate.

Returns:

The populated TransferItem instance.

Type
TransferItem