Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transaction

A unit that collects transaction and requests processing to the network. A parsel signer pays for CCC processing fees.

  • The fee must be at least 10. The higher the fee, the higher the priority for the tx to be processed.
  • It contains the network ID. This must be identical to the network ID to which the tx is being sent to.
  • Its seq must be identical to the seq of the account that will sign the tx.
  • It contains the transaction to process. After signing the Transaction's size must not exceed 1 MB.
  • After signing with the sign() function, it can be sent to the network.

Hierarchy

Index

Methods

fee

  • fee(): U64 | null

networkId

rlpBytes

  • rlpBytes(): Buffer

seq

  • seq(): number | null

setFee

  • setFee(fee: U64Value): void

setSeq

  • setSeq(seq: number): void

sign

toEncodeObject

  • toEncodeObject(): any[]

toJSON

Abstract type

  • type(): string

unsignedHash

  • unsignedHash(): H256

Generated using TypeDoc