BurnFromKip7TokenRequest

BurnFromKip7TokenRequest

new BurnFromKip7TokenRequest()

Version:
  • 1.0

The BurnFromKip7TokenRequest model module.

Members

owner :String

The Klaytn account address of the owner of the tokens to be burned.

Type:
  • String

spender :String

The Klaytn account address whose authorized tokens will be burned.

Type:
  • String

amount :String

The amount of tokens to burn (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated BurnFromKip7TokenRequest instance.

Type
BurnFromKip7TokenRequest

BurnFromKip7TokenRequest

new BurnFromKip7TokenRequest(owner, spender, amount)

Constructs a new BurnFromKip7TokenRequest.

Parameters:
Name Type Description
owner String

The Klaytn account address of the owner of the tokens to be burned.

spender String

The Klaytn account address whose authorized tokens will be burned.

amount String

The amount of tokens to burn (in hex.)

Members

owner :String

The Klaytn account address of the owner of the tokens to be burned.

Type:
  • String

spender :String

The Klaytn account address whose authorized tokens will be burned.

Type:
  • String

amount :String

The amount of tokens to burn (in hex.)

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated BurnFromKip7TokenRequest instance.

Type
BurnFromKip7TokenRequest