MultisigAccount

MultisigAccount

new MultisigAccount()

Version:
  • 1.0

The MultisigAccount model module.

Members

address :String

Klaytn account address

Type:
  • String

krn :String

KAS KRN

Type:
  • String

multiSigKeys :Array.<MultisigKey>

Type:

threshold :Number

Threshold of total weighted values required to create a multisig transaction.

Type:
  • Number

transactionHash :String

Transaction hash for account data update

Type:
  • String

updatedAt :Number

The time of the latest update of account data

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated MultisigAccount instance.

Type
MultisigAccount

MultisigAccount

new MultisigAccount(address, krn, threshold, transactionHash, updatedAt)

Constructs a new MultisigAccount. Data on multisig accounts

Parameters:
Name Type Description
address String

Klaytn account address

krn String

KAS KRN

threshold Number

Threshold of total weighted values required to create a multisig transaction.

transactionHash String

Transaction hash for account data update

updatedAt Number

The time of the latest update of account data

Members

address :String

Klaytn account address

Type:
  • String

krn :String

KAS KRN

Type:
  • String

multiSigKeys :Array.<MultisigKey>

Type:

threshold :Number

Threshold of total weighted values required to create a multisig transaction.

Type:
  • Number

transactionHash :String

Transaction hash for account data update

Type:
  • String

updatedAt :Number

The time of the latest update of account data

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated MultisigAccount instance.

Type
MultisigAccount