new Account()
- Version:
- 1.0
The Account model module.
Members
address :String
Klaytn account address
Type:
- String
chainId :Number
Klaytn Chain ID
Type:
- Number
createdAt :Number
The time at which Klaytn account was created
Type:
- Number
keyId :String
Private key ID for the account
Type:
- String
krn :String
KAS KRN
Type:
- String
publicKey :String
Public key for the account
Type:
- String
updatedAt :Number
The time of the latest update of account data
Type:
- Number
multiSigKeys :Array.<MultisigKey>
Type:
- Array.<MultisigKey>
threshold :Number
NThreshold of the weighted values required to created a multisig transaction.
Type:
- Number
Methods
(static) constructFromObject(data, obj) → {Account}
Constructs a Account 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 |
Account | Optional instance to populate. |
Returns:
The populated Account instance.
- Type
- Account