import InterfaceBlockchainTransactions from 'node-webdollar/src/common/blockchain/interface-blockchain/transactions/Interface-Blockchain-Transactions.js'
InterfaceBlockchainTransactions
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
pendingQueue: * |
|
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 |
blockchain: * |
|
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 |
unsusbribeTransactionsChanges(subscription: *): boolean |
|
private |
_checkTransactionIsSubscribed(address: *): boolean |
|
private |
_searchAddressInTransaction(unencodedAddress: *, transaction: *): boolean |
Public Constructors
Public Methods
public setWallet(newWallet: *) source
Params:
Name | Type | Attribute | Description |
newWallet | * |
Private Methods
private _createTransaction(from: *, to: *, nonce: *, timeLock: *, version: *, txId: *, validateFrom: *, validateTo: *, validateNonce: *): * source
Params:
Name | Type | Attribute | Description |
from | * | ||
to | * | ||
nonce | * | ||
timeLock | * | ||
version | * | ||
txId | * | ||
validateFrom | * | ||
validateTo | * | ||
validateNonce | * |
Return:
* |