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

Method broadcast_tx

bridge/src/client/client.rs:1391–1398  ·  view source on GitHub ↗
(&self, tx: &Transaction)

Source from the content-addressed store, hash-verified

1389 }
1390
1391 async fn broadcast_tx(&self, tx: &Transaction) -> Result<Txid, Error> {
1392 let status_message = broadcast_and_verify(&self.esplora, tx).await?;
1393
1394 let txid = tx.compute_txid();
1395 println!("{} Txid: {}", status_message, txid.to_string().green());
1396
1397 Ok(txid)
1398 }
1399
1400 fn merge_secret_nonces(
1401 &mut self,

Calls 1

broadcast_and_verifyFunction · 0.85

Tested by

no test coverage detected