Options
All
  • Public
  • Public/Protected
  • All
Menu

A gas price, i.e. the price of a single unit of gas. This is typically a fraction of the smallest fee token unit, such as 0.012utoken.

Hierarchy

  • GasPrice

Index

Constructors

Properties

Methods

Constructors

  • new GasPrice(amount: Decimal, denom: string): GasPrice

Properties

amount: Decimal
denom: string

Methods

  • toString(): string
  • Returns a string representation of this gas price, e.g. "0.025uatom". This can be used as an input to GasPrice.fromString.

    Returns string

Generated using TypeDoc