UNPKG

@ellcrys/spell

Version:

The official JavaScript library for Ellcrys

34 lines (33 loc) 700 B
import Namespace from "./namespace"; import RPCClient from "../rpcclient"; /** * Pool gets the information of transaction in the mempool * * @export * @class Pool * @extends {Namespace} */ export default class Pool extends Namespace { /** * Creates an instance of Pool. * @param {RPCClient} client * @memberof Pool */ constructor(client: RPCClient); /** * Get the size of the transaction * pool * * @export * @class Pool * @extends {Namespace} */ getSize(): Promise<PoolSize>; /** * Get all transactions in the pool * * @returns {Promise<any>} * @memberof Pool */ getAll(): Promise<any>; }