Home Reference Source
public class | source

InterfaceBlockchainTransactions

Extends:

InterfaceBlockchainTransactionsEvents → InterfaceBlockchainTransactions

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

wallet: *

public

wizard: *

Method Summary

Public Methods
public

setWallet(newWallet: *)

Private Methods
private

_createTransaction(from: *, to: *, nonce: *, timeLock: *, version: *, txId: *, validateFrom: *, validateTo: *, validateNonce: *): *

private

_createTransactionFromBuffer(buffer: *, offset: number): {"transaction": *, "offset": *}

Inherited Summary

From class InterfaceBlockchainTransactionsEvents
public
public

emitter: *

public

emitTransactionChangeEvent(transaction: *, deleted: boolean): boolean

public

findTransaction(txId: *): *

public

listTransactions(addressWIF: *, maxBlockCount: number): *

public

subscribeTransactionsChanges(addressWIF: *, callback: *): {"result": boolean, "subscription": *, "transactions": *}

public
private
private

_searchAddressInTransaction(unencodedAddress: *, transaction: *): boolean

Public Constructors

Public Members

public pendingQueue: * source

public wallet: * source

public wizard: * source

Public Methods

public setWallet(newWallet: *) source

Params:

NameTypeAttributeDescription
newWallet *

Private Methods

private _createTransaction(from: *, to: *, nonce: *, timeLock: *, version: *, txId: *, validateFrom: *, validateTo: *, validateNonce: *): * source

Params:

NameTypeAttributeDescription
from *
to *
nonce *
timeLock *
version *
txId *
validateFrom *
validateTo *
validateNonce *

Return:

*

private _createTransactionFromBuffer(buffer: *, offset: number): {"transaction": *, "offset": *} source

Params:

NameTypeAttributeDescription
buffer *
offset number
  • optional
  • default: 0

Return:

{"transaction": *, "offset": *}