Ellcrys Docs
Website
Block Explorer
GoDoc
Blog
Search…
Introduction
Core Components
Release Roadmap
ELLD CLIENT
Getting Started
Account Management
Console Mode
Attach Mode
Environment Variables
Protocol
Consensus
Keys & Address
Primitives
Transactions Pool
The Coin (Ell)
JSON-RPC & CONSOLE APIs
Getting Started
Admin
Personal
State
Node
Ell
Pool
Miner
Net
RPC
Logger
Global
Object References
Hex Value Types
Header
Transaction
Block
Account
TxResult
Powered By
GitBook
Pool
This page describes APIs that access the transaction pool.
pool_getSize
Get the current size information of the transaction pool.
Parameters:
None
Curl Example:
1
curl
-X POST --data
'{"jsonrpc":"2.0","method":"pool_getPoolSize", "id":21}'
Copied!
Console Example
1
>
pool
.
getPoolSize
()
Copied!
Returns:
Object
Field
Type
Description
byteSize
Integer
The total size of all transactions in the pool.
numTxs
Integer
The number of transactions in the pool.
Output:
1
{
2
"id"
:
21
,
3
"jsonrpc"
:
"2.0"
,
4
"result"
:
{
5
"byteSize"
:
708
,
6
"numTxs"
:
3
7
}
8
}
Copied!
pool_getAll
Get all the transactions in the pool.
Parameters:
None
Curl Example:
1
curl
-X POST --data
'{"jsonrpc":"2.0","method":"pool_getAll", "id":21}'
Copied!
Console Example
1
>
pool
.
getAll
()
Copied!
Returns:
Array<
Transaction
>
JSON-RPC & CONSOLE APIs - Previous
Ell
Next - JSON-RPC & CONSOLE APIs
Miner
Last modified
3yr ago
Copy link
Contents
pool_getSize
pool_getAll