spark_rust/wallet/internal_handlers/traits/
mempool.rs1use crate::error::SparkSdkError;
2use bitcoin::Transaction;
3use tonic::async_trait;
4
5#[async_trait]
6pub(crate) trait MempoolInternalHandlers {
7 async fn query_mempool_transaction_by_txid(
8 &self,
9 txid: String,
10 ) -> Result<Transaction, SparkSdkError>;
11}