Mempool
Method Summary
Public Methods | ||
public |
async addTransactionAddedListener(listener: MempoolListener): Promise<Handle> |
|
public |
async addTransactionRemovedListener(listener: MempoolListener): Promise<Handle> |
|
public |
async getStatistics(): Promise<Client.MempoolStatistics> Gives some statistics on the current mempool. |
|
public |
async getTransactions(): Promise<Hash[]> |
|
public |
removeListener(handle: Handle) |
Public Methods
public async addTransactionAddedListener(listener: MempoolListener): Promise<Handle> source
Params:
Name | Type | Attribute | Description |
listener | MempoolListener |
public async addTransactionRemovedListener(listener: MempoolListener): Promise<Handle> source
Params:
Name | Type | Attribute | Description |
listener | MempoolListener |
public async getStatistics(): Promise<Client.MempoolStatistics> source
Gives some statistics on the current mempool. Well suited to estimate the ideal fee for a transaction
Return:
Promise<Client.MempoolStatistics> | Some statistics on the current mempool. |