Transaction Pool (txpool_) endpoints in Frietor Chains
txpool_content
Returns the content of the transaction pool.
Parameters
- None
Returns
Object - The content of the transaction pool.
pending
: Array - Array of Pending transactions.queued
: Array - Array of Queued transactions.
Example
curl POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"txpool_content","params":[],"id":1}' https://rpc-saar.frietor.network/rpc/
txpool_inspect
Returns a list with a textual summary of all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only. This is a method specifically tailored to developers to quickly see the transactions in the pool and find any potential issues.
Parameters
- None
Returns
Object - The content of the transaction pool.
pending
: Object - Object with pending transactions.queued
: Object - Object with queued transactions.
Example
curl POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"txpool_inspect","params":[],"id":1}' https://rpc-saar.frietor.network/rpc/
txpool_status
Returns statistics on the current txpool.
Parameters
- None
Returns
Object - The content of the transaction pool.
pending
: Number - Number of pending transactions.queued
: Number - Number of queued transactions.
Example
curl POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"txpool_status","params":[],"id":1}' https://rpc-saar.frietor.network/rpc/