We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24a2de7 commit 6247283Copy full SHA for 6247283
bindings/ergo-lib-wasm/src/transaction.rs
@@ -161,7 +161,7 @@ impl UnsignedTransaction {
161
}
162
163
/// JSON representation according to EIP-12 https://github.com/ergoplatform/eips/pull/23
164
- /// (similar to [`Self::to_json`], but with box value and token amount encoding as strings)
+ /// (similar to [`Self::to_json`], but as JS object with box value and token amount encoding as strings)
165
pub fn to_js_eip12(&self) -> Result<JsValue, JsValue> {
166
let tx_dapp: UnsignedTransactionJsonEip12 = self.0.clone().into();
167
JsValue::from_serde(&tx_dapp).map_err(|e| JsValue::from_str(&format!("{}", e)))
0 commit comments