package tezos-sapling

  1. Overview
  2. Docs
type t
val encoding : t Data_encoding.t
val pos : t -> int64
val amount : t -> int64
val address : t -> Core.Viewing_key.address
val compare : t -> t -> int
val is_spent : t -> S.state -> Core.Viewing_key.t -> bool
val get : S.state -> int64 -> Core.Viewing_key.t -> (Bytes.t * t) option
val get_out : S.state -> int64 -> Core.Spending_key.ovk -> (Bytes.t * t) option
val mem : S.state -> int64 -> bool