TransferKip7TokenRequest

TransferKip7TokenRequest

new TransferKip7TokenRequest()

Version:
  • 1.0

The TransferKip7TokenRequest model module.

Members

from :String

The Klaytn account address to send the tokens. The default value is the deployer's address.

Type:
  • String

to :String

The Klaytn account address to receive the tokens.

Type:
  • String

amount :String

The amount of tokens to transfer (in hex.)

Type:
  • String

Methods

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

Constructs a TransferKip7TokenRequest 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 TransferKip7TokenRequest

Optional instance to populate.

Returns:

The populated TransferKip7TokenRequest instance.

Type
TransferKip7TokenRequest

TransferKip7TokenRequest

new TransferKip7TokenRequest(to, amount)

Constructs a new TransferKip7TokenRequest.

Parameters:
Name Type Description
to String

The Klaytn account address to receive the tokens.

amount String

The amount of tokens to transfer (in hex.)

Members

from :String

The Klaytn account address to send the tokens. The default value is the deployer's address.

Type:
  • String

to :String

The Klaytn account address to receive the tokens.

Type:
  • String

amount :String

The amount of tokens to transfer (in hex.)

Type:
  • String

Methods

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

Constructs a TransferKip7TokenRequest 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 TransferKip7TokenRequest

Optional instance to populate.

Returns:

The populated TransferKip7TokenRequest instance.

Type
TransferKip7TokenRequest