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

Total weight required for multisig transactions

Type:
  • Number

transactionHash :String

Transaction hash for updating account information

Type:
  • String

updatedAt :Number

Time when account information was last updated

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. Multisig account information

Parameters:
Name Type Description
address String

Klaytn account address

krn String

KAS KRN

threshold Number

Total weight required for multisig transactions

transactionHash String

Transaction hash for updating account information

updatedAt Number

Time when account information was last updated

Members

address :String

Klaytn account address

Type:
  • String

krn :String

KAS KRN

Type:
  • String

multiSigKeys :Array.<MultisigKey>

Type:

threshold :Number

Total weight required for multisig transactions

Type:
  • Number

transactionHash :String

Transaction hash for updating account information

Type:
  • String

updatedAt :Number

Time when account information was last updated

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