Type Definitions
SinglePrivateKey
SinglePrivateKey presents a single private key such as account types of a legacy key or public key.
Type:
- string
MultisigPrivateKeys
MutisigPrivateKeys presents a set of private keys of weighted multisig key account type.
Type:
- Array.<string>
RoleBasedPrivateKeys
RoleBasedPrivateKeys presents a set of private keys of role based account type. Additionally, each private key can contains multiple private keys for multisig account type.
Type:
- Array.<MultisigPrivateKeys>
MigrationAccount
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
address |
string | Indicates Klaytn's address of an account. |
|
nonce |
number |
<optional> |
Indicates nonce for a transaction. If the nonce is not defined, the nonce is automatically filled using the KAS Node API. |
key |
SinglePrivateKey | MultisigPrivateKeys | RoleBasedPrivateKeys | Indicates a set of private keys of an account. |
MigrationAccount presents an account to be migrated. Each account can have one of three types of keys.
Type:
- Object
RegisterAccount
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
keyId |
string | Key ID which is create in KMS(Key Management System). |
|
address |
string | Klaytn address. |
|
rlp |
string |
<optional> |
RLP value. If RLP value is received, account update is executed using the value. |
RegisterAccount presents an account to be registered in KAS Wallet API.
Type:
- Object