AccountRegistration

AccountRegistration

new AccountRegistration()

Version:
  • 1.0

The AccountRegistration model module.

Members

keyId :String

ID of key created with KMS

Type:
  • String

address :String

Old account address

Type:
  • String

rlp :String

Rlp value. May be used if the old account needs an update to a new key.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated AccountRegistration instance.

Type
AccountRegistration

AccountRegistration

new AccountRegistration(keyId, address)

Constructs a new AccountRegistration. Account registration request item

Parameters:
Name Type Description
keyId String

ID of key created with KMS

address String

Old account address

Members

keyId :String

ID of key created with KMS

Type:
  • String

address :String

Old account address

Type:
  • String

rlp :String

Rlp value. May be used if the old account needs an update to a new key.

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated AccountRegistration instance.

Type
AccountRegistration