MintKip7TokenRequest

MintKip7TokenRequest

new MintKip7TokenRequest()

Version:
  • 1.0

The MintKip7TokenRequest model module.

Members

from :String

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

Type:
  • String

to :String

The Klaytn account address to receive the new tokens.

Type:
  • String

amount :String

The amount of tokens to create (in hexadecimal)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated MintKip7TokenRequest instance.

Type
MintKip7TokenRequest

MintKip7TokenRequest

new MintKip7TokenRequest(to, amount)

Constructs a new MintKip7TokenRequest.

Parameters:
Name Type Description
to String

The Klaytn account address to receive the new tokens.

amount String

The amount of tokens to create (in hexadecimal)

Members

from :String

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

Type:
  • String

to :String

The Klaytn account address to receive the new tokens.

Type:
  • String

amount :String

The amount of tokens to create (in hexadecimal)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated MintKip7TokenRequest instance.

Type
MintKip7TokenRequest