MCPcopy Create free account
hub / github.com/BitVM/BitVM / get_onchain_txs

Function get_onchain_txs

bridge/src/graphs/base.rs:121–126  ·  view source on GitHub ↗
(
    client: &AsyncClient,
    txids: &[Txid],
)

Source from the content-addressed store, hash-verified

119}
120
121pub async fn get_onchain_txs(
122 client: &AsyncClient,
123 txids: &[Txid],
124) -> Vec<Result<Option<Transaction>, esplora_client::Error>> {
125 join_all(txids.iter().map(|txid| client.get_tx(txid))).await
126}

Callers 1

validateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected