Trait bdk_debug::blockchain::GetTx
source · pub trait GetTx {
// Required method
fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>;
}Expand description
Trait for getting a transaction by txid
Required Methods§
Implementations on Foreign Types§
Implementors§
impl GetTx for AnyBlockchain
impl GetTx for CompactFiltersBlockchain
Available on crate feature
compact_filters only.impl GetTx for ElectrumBlockchain
Available on crate feature
electrum only.impl GetTx for EsploraBlockchain
Available on crate feature
esplora only.impl GetTx for RpcBlockchain
Available on crate feature
rpc only.