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
Timestamp of Klaytn account creation
Type:
- Number
keyId :String
Private key ID of the account
Type:
- String
krn :String
KAS KRN
Type:
- String
publicKey :String
Public key of the account
Type:
- String
updatedAt :Number
Timestamp when account information was last updated
Type:
- Number
multiSigKeys :Array.<MultisigKey>
Type:
- Array.<MultisigKey>
threshold :Number
Total weight required for multisig transactions
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