Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StdFee

A transaction must include a fee, otherwise it will be rejected.

Hierarchy

Index

Interfaces

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly amount

amount: Coins

Fee amount to be paid

Readonly gas

gas: number

gas limit

Methods

gasPrices

  • Gets the mininimum gas prices implied by the fee. Minimum gas prices are fee amount / gas.

    Returns Coins

toData

toJSON

  • toJSON(): string

Static fromData