ContractDeployTransactionRequest

ContractDeployTransactionRequest

new ContractDeployTransactionRequest()

Version:
  • 1.0

The ContractDeployTransactionRequest model module.

Members

from :String

Klaytn account address to send transaction

Type:
  • String

value :String

KLAY converted into PEB

Type:
  • String

input :String

Data that is sent along with the transaction and used for the execution.

Type:
  • String

nonce :Number

Unique identifier for the transactions being sent.(By entering 0, the nonce will be automatically determined.)

Type:
  • Number

gas :Number

Default Value:
  • 100000

Maximum gas fee to be used for sending the transaction (By entering 0, it will be set to default value)

Type:
  • Number

submit :Boolean

To send or not sent transaction to Klaytn

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ContractDeployTransactionRequest instance.

Type
ContractDeployTransactionRequest

ContractDeployTransactionRequest

new ContractDeployTransactionRequest(from, input)

Constructs a new ContractDeployTransactionRequest. Contract deploy transaction request schema

Parameters:
Name Type Description
from String

Klaytn account address to send transaction

input String

Data that is sent along with the transaction and used for the execution.

Members

from :String

Klaytn account address to send transaction

Type:
  • String

value :String

KLAY converted into PEB

Type:
  • String

input :String

Data that is sent along with the transaction and used for the execution.

Type:
  • String

nonce :Number

Unique identifier for the transactions being sent.(By entering 0, the nonce will be automatically determined.)

Type:
  • Number

gas :Number

Default Value:
  • 100000

Maximum gas fee to be used for sending the transaction (By entering 0, it will be set to default value)

Type:
  • Number

submit :Boolean

To send or not sent transaction to Klaytn

Type:
  • Boolean

Methods

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

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

Optional instance to populate.

Returns:

The populated ContractDeployTransactionRequest instance.

Type
ContractDeployTransactionRequest