(
client: &AsyncClient,
txids: &[Txid],
)
| 119 | } |
| 120 | |
| 121 | pub 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 | } |