MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / decode_transactions_input

Method decode_transactions_input

src/decode_call.rs:54–69  ·  view source on GitHub ↗
(
        &self,
        txs: Vec<Transaction>,
        py: Python<'py>,
    )

Source from the content-addressed store, hash-verified

52 }
53
54 pub fn decode_transactions_input<'py>(
55 &self,
56 txs: Vec<Transaction>,
57 py: Python<'py>,
58 ) -> PyResult<Bound<'py, PyAny>> {
59 let decoder = self.clone();
60
61 future_into_py(py, async move {
62 let result = tokio::task::spawn_blocking(move || {
63 Python::attach(|py| decoder.decode_transactions_input_sync(txs, py))
64 })
65 .await
66 .unwrap();
67 Ok(result)
68 })
69 }
70
71 pub fn decode_traces_input<'py>(
72 &self,

Callers 1

mainFunction · 0.95

Calls 2

cloneMethod · 0.45

Tested by

no test coverage detected