BurnKip7TokenRequest

BurnKip7TokenRequest

new BurnKip7TokenRequest()

Version:
  • 1.0

The BurnKip7TokenRequest model module.

Members

from :String

The Klaytn account address whose tokens will be burned. The default value is the deployer's address'.`

Type:
  • String

amount :String

The amount of tokens to burn (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated BurnKip7TokenRequest instance.

Type
BurnKip7TokenRequest

BurnKip7TokenRequest

new BurnKip7TokenRequest(amount)

Constructs a new BurnKip7TokenRequest.

Parameters:
Name Type Description
amount String

The amount of tokens to burn (in hex.)

Members

from :String

The Klaytn account address whose tokens will be burned. The default value is the deployer's address'.`

Type:
  • String

amount :String

The amount of tokens to burn (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated BurnKip7TokenRequest instance.

Type
BurnKip7TokenRequest