Global

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:

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