AccountByPubkey

AccountByPubkey

new AccountByPubkey()

Version:
  • 1.0

The AccountByPubkey model module.

Members

address :String

Klaytn account address

Type:
  • String

chainId :Number

Klaytn chain ID

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated AccountByPubkey instance.

Type
AccountByPubkey

AccountByPubkey

new AccountByPubkey(address, chainId)

Constructs a new AccountByPubkey. Account associated with the requested public key

Parameters:
Name Type Description
address String

Klaytn account address

chainId Number

Klaytn chain ID

Members

address :String

Klaytn account address

Type:
  • String

chainId :Number

Klaytn chain ID

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated AccountByPubkey instance.

Type
AccountByPubkey