MintKip37TokenRequest

MintKip37TokenRequest

new MintKip37TokenRequest()

Version:
  • 1.0

The MintKip37TokenRequest model module.

Members

sender :String

The Klaytn account address to mint tokens. The default value is the address that deployed the contract.

Type:
  • String

to :String

The Klaytn account address of the token owner

Type:
  • String

ids :Array.<String>

Array of the new token IDs

Type:
  • Array.<String>

amounts :Array.<String>

Array of the new token supplies (in hex.)

Type:
  • Array.<String>

Methods

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

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

Optional instance to populate.

Returns:

The populated MintKip37TokenRequest instance.

Type
MintKip37TokenRequest

MintKip37TokenRequest

new MintKip37TokenRequest(to, ids, amounts)

Constructs a new MintKip37TokenRequest.

Parameters:
Name Type Description
to String

The Klaytn account address of the token owner

ids Array.<String>

Array of the new token IDs

amounts Array.<String>

Array of the new token supplies (in hex.)

Members

sender :String

The Klaytn account address to mint tokens. The default value is the address that deployed the contract.

Type:
  • String

to :String

The Klaytn account address of the token owner

Type:
  • String

ids :Array.<String>

Array of the new token IDs

Type:
  • Array.<String>

amounts :Array.<String>

Array of the new token supplies (in hex.)

Type:
  • Array.<String>

Methods

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

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

Optional instance to populate.

Returns:

The populated MintKip37TokenRequest instance.

Type
MintKip37TokenRequest