sidan_csl_rs::wasm

Function js_serialize_tx_body

source
pub fn js_serialize_tx_body(
    tx_builder_body_json: &str,
    params_json: &str,
) -> WasmResult
Expand description

§WASM Transaction building method

Serialize the transaction body

§Arguments

  • tx_builder_body_json - The transaction builder body information, serialized as JSON string
  • params_json - Optional protocol parameters, default as Cardano mainnet configuration, serialized as JSON string

§Returns

  • String - the built transaction hex