(client: &AsyncClient, txid: Txid)
| 88 | } |
| 89 | |
| 90 | pub async fn is_confirmed(client: &AsyncClient, txid: Txid) -> Result<bool, esplora_client::Error> { |
| 91 | let tx_status = client.get_tx_status(&txid).await; |
| 92 | tx_status.map(|x| x.confirmed) |
| 93 | } |
| 94 | |
| 95 | pub async fn broadcast_and_verify( |
| 96 | client: &AsyncClient, |
no outgoing calls
no test coverage detected