sidan_csl_rs::core::builder

Function serialize_tx_body

source
pub fn serialize_tx_body(
    tx_builder_body: TxBuilderBody,
    params: Option<Protocol>,
) -> Result<String, JsError>
Expand description

§Transaction building method

Serialize the transaction body

§Arguments

  • tx_builder_body - The transaction builder body information
  • params - Optional protocol parameters, default as Cardano mainnet configuration

§Returns

  • String - the built transaction hex