# Pool

## pool\_getSize

Get the current size information of the transaction pool.&#x20;

**Parameters:** None

**Curl Example:**&#x20;

```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"pool_getPoolSize", "id":21}'
```

#### Console Example

```javascript
> pool.getPoolSize()
```

#### Returns:

`Object`&#x20;

| Field    | Type    | Description                                     |
| -------- | ------- | ----------------------------------------------- |
| byteSize | Integer | The total size of all transactions in the pool. |
| numTxs   | Integer | The number of transactions in the pool.         |

#### Output:

```javascript
{
  "id": 21,
  "jsonrpc": "2.0",
  "result": {
    "byteSize": 708,
    "numTxs": 3
  }
}
```

## pool\_getAll

Get all the transactions in the pool.

**Parameters:** None

**Curl Example:**&#x20;

```bash
curl -X POST --data '{"jsonrpc":"2.0","method":"pool_getAll", "id":21}'
```

#### Console Example

```javascript
> pool.getAll()
```

#### Returns:

`Array<`[`Transaction`](https://ellcrys.gitbook.io/ellcrys/~/edit/drafts/-LPGzTZQXM_D8Pctq4-D/v/master/object-references/transaction)`>`&#x20;
