NFTContractSummary

NFTContractSummary

new NFTContractSummary()

Version:
  • 1.0

The NFTContractSummary model module.

Members

kind :String

Contract type

Type:
  • String

contractAddress :String

Contract address (20-byte)

Type:
  • String

updatedAt :Number

Last change of token ownership (timestamp)

Type:
  • Number

totalBalance :String

Total balance of tokens (in hexadecimal)

Type:
  • String

extras :Object

Type:
  • Object

Methods

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

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

Optional instance to populate.

Returns:

The populated NFTContractSummary instance.

Type
NFTContractSummary

NFTContractSummary

new NFTContractSummary(kind, contractAddress, updatedAt, totalBalance, extras)

Constructs a new NFTContractSummary.

Parameters:
Name Type Description
kind String

Contract type

contractAddress String

Contract address (20-byte)

updatedAt Number

Last change of token ownership (timestamp)

totalBalance String

Total balance of tokens (in hexadecimal)

extras Object

Members

kind :String

Contract type

Type:
  • String

contractAddress :String

Contract address (20-byte)

Type:
  • String

updatedAt :Number

Last change of token ownership (timestamp)

Type:
  • Number

totalBalance :String

Total balance of tokens (in hexadecimal)

Type:
  • String

extras :Object

Type:
  • Object

Methods

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

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

Optional instance to populate.

Returns:

The populated NFTContractSummary instance.

Type
NFTContractSummary