TransferKip7TokenFromRequest

TransferKip7TokenFromRequest

new TransferKip7TokenFromRequest()

Version:
  • 1.0

The TransferKip7TokenFromRequest model module.

Members

spender :String

The Klaytn account address to send tokens on behalf of the owner.

Type:
  • String

owner :String

The Klaytn account address of the owner granting the authority to send tokens on his or her behalf.

Type:
  • String

to :String

Klaytn account address to receive tokens

Type:
  • String

amount :String

Transfer amount (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated TransferKip7TokenFromRequest instance.

Type
TransferKip7TokenFromRequest

TransferKip7TokenFromRequest

new TransferKip7TokenFromRequest(spender, owner, to, amount)

Constructs a new TransferKip7TokenFromRequest.

Parameters:
Name Type Description
spender String

The Klaytn account address to send tokens on behalf of the owner.

owner String

The Klaytn account address of the owner granting the authority to send tokens on his or her behalf.

to String

Klaytn account address to receive tokens

amount String

Transfer amount (in hex.)

Members

spender :String

The Klaytn account address to send tokens on behalf of the owner.

Type:
  • String

owner :String

The Klaytn account address of the owner granting the authority to send tokens on his or her behalf.

Type:
  • String

to :String

Klaytn account address to receive tokens

Type:
  • String

amount :String

Transfer amount (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated TransferKip7TokenFromRequest instance.

Type
TransferKip7TokenFromRequest