Registry / networking / sc-transaction-pool-api

sc-transaction-pool-api

JSON →
library45.0.0rscratesunverified

Transaction pool client facing API for Substrate-based chains.

# Cargo.toml [dependencies] sc-transaction-pool-api = "45.0.0"
INSTALL
IMPORT
SIG · SC-TRANSACTION-POO
S
sc-transaction-pool-api
networkingrustv45.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TransactionPool
use sc_transaction_pool_api::TransactionPool;

Demonstrates using the TransactionPool trait to query pool status.

use sc_transaction_pool_api::TransactionPool; // This trait is typically implemented by a transaction pool struct. fn process_pool<P: TransactionPool>(pool: &P) { println!("Pool status: {:?}", pool.status()); }
Debug
Known issues
gotchaThis crate is part of the Substrate/Polkadot SDK and requires specific runtime dependencies.
fix
Ensure you are building within a Substrate node context with the correct version of sp-runtime and other dependencies.
affects: all
Upgrade
Version history
45.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
OpenAI (training)
1
Resources
sc-transaction-pool-api — cargo add sc-transaction-pool-api · libregistry