Docs.rs
  • cardano-serialization-lib-11.2.1
    • cardano-serialization-lib 11.2.1
    • Docs.rs crate page
    • MIT
    • Links
    • Documentation
    • Repository
    • crates.io
    • Source
    • Owners
    • vsubhuman
    • lisicky
    • twwu123
    • Dependencies
      • bech32 ^0.7.2 normal
      • cbor_event ^2.1.3 normal
      • cfg-if ^1 normal
      • clear_on_drop ^0.2 normal
      • cryptoxide ^0.4.2 normal
      • digest ^0.9 normal
      • ed25519-bip32 ^0.4.1 normal
      • hex ^0.4.0 normal
      • itertools ^0.10.1 normal
      • linked-hash-map ^0.5.3 normal
      • num-bigint ^0.4.0 normal
      • num-integer ^0.1.45 normal
      • rand ^0.8.4 normal
      • schemars ^0.8.8 normal
      • serde ^1.0 normal
      • serde_json ^1.0.57 normal
      • sha2 ^0.9 normal
      • quickcheck ^0.9.2 dev
      • quickcheck_macros ^0.9.1 dev
      • rand_chacha ^0.1 dev
      • rand_os ^0.1 dev
      • schemars ^0.8.8 build
      • serde ^1.0 build
      • serde_json ^1.0.57 build
      • getrandom ^0.2.3 normal
      • js-sys ^0.3.51 normal
      • rand_os ^0.1 normal
      • serde-wasm-bindgen ^0.4.5 normal
      • wasm-bindgen =0.2.83 normal
      • getrandom ^0.2.3 normal
      • noop_proc_macro ^0.3.0 normal
      • rand_os ^0.1 normal
    • Versions
    • 11.04% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module utils

  • Structs
  • Enums
  • Traits
  • Functions
  • Type Definitions
?
Change settings

Module cardano_serialization_lib::utils

source ·

Structs

BigInt
BigNum
CBORReadLen
Int
MinOutputAdaCalculator
TransactionUnspentOutput
TransactionUnspentOutputs
Value
ValueShortage

Enums

ScriptSchema
Used to choosed the schema for a script JSON string

Traits

Deserialize
DeserializeEmbeddedGroup

Functions

encode_json_str_to_native_script
Receives a script JSON string and returns a NativeScript. Cardano Wallet and Node styles are supported.
from_bignum
from_bytes
get_deposit
get_implicit_input
hash_auxiliary_data
hash_plutus_data
hash_script_data
hash_transaction
internal_get_deposit
internal_get_implicit_input
make_daedalus_bootstrap_witness
make_icarus_bootstrap_witness
make_vkey_witness
min_ada_for_output
returns minimal amount of ada for the output for case when the amount is included to the output
min_ada_requiredDeprecated
!!! DEPRECATED !!! This function uses outdated set of arguments. Use min_ada_for_output instead
to_bigint
to_bignum
to_bytes

Type Definitions

Coin