CreateKip37TokenRequest

CreateKip37TokenRequest

new CreateKip37TokenRequest()

Version:
  • 1.0

The CreateKip37TokenRequest model module.

Members

sender :String

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

Type:
  • String

id :String

ID of the new token; cannot use an existing one

Type:
  • String

initialSupply :String

Initial supply (in hex.)

Type:
  • String

uri :String

Token URI

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated CreateKip37TokenRequest instance.

Type
CreateKip37TokenRequest

CreateKip37TokenRequest

new CreateKip37TokenRequest(id, initialSupply, uri)

Constructs a new CreateKip37TokenRequest.

Parameters:
Name Type Description
id String

ID of the new token; cannot use an existing one

initialSupply String

Initial supply (in hex.)

uri String

Token URI

Members

sender :String

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

Type:
  • String

id :String

ID of the new token; cannot use an existing one

Type:
  • String

initialSupply :String

Initial supply (in hex.)

Type:
  • String

uri :String

Token URI

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated CreateKip37TokenRequest instance.

Type
CreateKip37TokenRequest