ContractCallRequest

ContractCallRequest

new ContractCallRequest()

Version:
  • 1.0

The ContractCallRequest model module.

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Contract address

Type:
  • String

data :ContractCallData

Type:

gas :Number

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated ContractCallRequest instance.

Type
ContractCallRequest

ContractCallRequest

new ContractCallRequest()

Constructs a new ContractCallRequest. Contract Call Request Scheme

Members

from :String

Klaytn account address sending a transaction

Type:
  • String

value :String

KLAY converted into PEB unit

Type:
  • String

to :String

Contract address

Type:
  • String

data :ContractCallData

Type:

gas :Number

Max. transaction fee (gas) for sending the transaction

Type:
  • Number

Methods

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

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

Optional instance to populate.

Returns:

The populated ContractCallRequest instance.

Type
ContractCallRequest