Skip to main content

TxSummary

export interface TxSummary {
  getUtxosPaidTo<SC extends SpendingCredential = SpendingCredential>(addresses: Address<SC>[]): TxInput<SC>[]
  id: TxId
  inputs: TxInput[]
  outputs: TxInput[]
  reverse(): TxSummary
  spends(utxo: TxInput | TxOutputId): boolean
  superimpose<SC extends SpendingCredential = SpendingCredential>(
    utxos: TxInput<SC>[],
    addresses: Address<SC>[]
  ): TxInput<SC>[]
  timestamp: number
  toJsonSafe(): TxSummaryJsonSafe
}

Properties

getUtxosPaidTo

getUtxosPaidTo<SC extends SpendingCredential = SpendingCredential>(addresses: Address<SC>[]): TxInput<SC>[]

id

id: TxId

inputs

inputs: TxInput[]

outputs

outputs: TxInput[]

reverse

reverse(): TxSummary

spends

spends(utxo: TxInput | TxOutputId): boolean

superimpose

superimpose<SC extends SpendingCredential = SpendingCredential>(
  utxos: TxInput<SC>[],
  addresses: Address<SC>[]
): TxInput<SC>[]

timestamp

timestamp: number

toJsonSafe

toJsonSafe(): TxSummaryJsonSafe