zebra_rpc::methods::types

Module zec

source
Expand description

ZEC amount formatting.

The f64 values returned by this type should not be used in consensus-critical code. The values themselves are accurate, but any calculations using them could be lossy.

Structs§

  • A wrapper type that formats Amounts as ZEC, using double-precision floating point.

Constants§

  • The maximum precision of a zatoshi in ZEC. Also used as the default decimal precision for ZEC formatting.