CancelTransactionRequest

CancelTransactionRequest

new CancelTransactionRequest()

Version:
  • 1.0

The CancelTransactionRequest model module.

Members

from :String

Klaytn transaction address to send transaction

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

Shows whether to send the transaction to Klaytn

Type:
  • Boolean

transactionHash :String

Transaction hash value

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated CancelTransactionRequest instance.

Type
CancelTransactionRequest

CancelTransactionRequest

new CancelTransactionRequest(from)

Constructs a new CancelTransactionRequest. Cancel transaction request schema

Parameters:
Name Type Description
from String

Klaytn transaction address to send transaction

Members

from :String

Klaytn transaction address to send transaction

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

Shows whether to send the transaction to Klaytn

Type:
  • Boolean

transactionHash :String

Transaction hash value

Type:
  • String

Methods

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

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

Optional instance to populate.

Returns:

The populated CancelTransactionRequest instance.

Type
CancelTransactionRequest