Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CoinData

Index

Properties

Protected _inputs

_inputs: CoinInput[] = []

Protected _outputs

_outputs: CoinOutput[] = []

Methods

addInput

  • addInput(input: CoinInput): number
  • addInput(fromHash: string, fromIndex: number, value: number, lockTime?: undefined | number): number

addOutput

  • addOutput(output: CoinOutput): number
  • addOutput(address: Address, value: number, lockTime?: undefined | number): number

getFee

  • getFee(): number

getInputs

getInputsTotalValue

  • getInputsTotalValue(): number

getOutputs

getOutputsTotalValue

  • getOutputsTotalValue(): number

getUnspent

  • getUnspent(): number

inputs

orderCoins

  • orderCoins(coins: Coin[]): void

outputs

removeInput

  • removeInput(index?: undefined | number): void
  • removeInput(item?: CoinInput): void

removeOutput

  • removeOutput(index?: undefined | number): void
  • removeOutput(item?: CoinOutput): void

toObject

Static fromRawData

Static toObject

Static toRawData