Kip7ContractMetadataResponse

Kip7ContractMetadataResponse

new Kip7ContractMetadataResponse()

Version:
  • 1.0

The Kip7ContractMetadataResponse model module.

Members

address :String

Contract address

Type:
  • String

decimals :Number

The number of digits that come after the decimal place when displaying token values on-screen. The default value is 0.

Type:
  • Number

name :String

Contract name

Type:
  • String

symbol :String

Contract symbol

Type:
  • String

totalSupply :String

Total supply (in hex)

Type:
  • String

options :Kip7FeePayerOptions

Type:

Methods

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

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

Optional instance to populate.

Returns:

The populated Kip7ContractMetadataResponse instance.

Type
Kip7ContractMetadataResponse

Kip7ContractMetadataResponse

new Kip7ContractMetadataResponse(address, decimals, name, symbol, totalSupply)

Constructs a new Kip7ContractMetadataResponse.

Parameters:
Name Type Description
address String

Contract address

decimals Number

The number of digits that come after the decimal place when displaying token values on-screen. The default value is 0.

name String

Contract name

symbol String

Contract symbol

totalSupply String

Total supply (in hex)

Members

address :String

Contract address

Type:
  • String

decimals :Number

The number of digits that come after the decimal place when displaying token values on-screen. The default value is 0.

Type:
  • Number

name :String

Contract name

Type:
  • String

symbol :String

Contract symbol

Type:
  • String

totalSupply :String

Total supply (in hex)

Type:
  • String

options :Kip7FeePayerOptions

Type:

Methods

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

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

Optional instance to populate.

Returns:

The populated Kip7ContractMetadataResponse instance.

Type
Kip7ContractMetadataResponse