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 30df9ff commit 05ed5a7Copy full SHA for 05ed5a7
bindings/ergo-lib-wasm/src/transaction.rs
@@ -163,7 +163,7 @@ impl UnsignedTransaction {
163
}
164
165
/// JSON representation according to EIP-12 https://github.com/ergoplatform/eips/pull/23
166
- /// (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)
167
pub fn to_js_eip12(&self) -> Result<JsValue, JsValue> {
168
let tx_dapp: UnsignedTransactionJsonEip12 = self.0.clone().into();
169
JsValue::from_serde(&tx_dapp).map_err(|e| JsValue::from_str(&format!("{}", e)))
0 commit comments