MultisigKey

MultisigKey

new MultisigKey()

Version:
  • 1.0

The MultisigKey model module.

Members

publicKey :String

Public key of Klaytn account

Type:
  • String

weight :Number

Weight of public key

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated MultisigKey instance.

Type
MultisigKey

MultisigKey

new MultisigKey(publicKey, weight)

Constructs a new MultisigKey. Key information for multisig

Parameters:
Name Type Description
publicKey String

Public key of Klaytn account

weight Number

Weight of public key

Members

publicKey :String

Public key of Klaytn account

Type:
  • String

weight :Number

Weight of public key

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated MultisigKey instance.

Type
MultisigKey