Package 

Class CompactTxKt.Dsl

    • Method Detail

      • getHash

         final ByteString getHash()
      • clearIndex

         final Unit clearIndex()
        <pre> Index and hash will allow the receiver to call out to chain explorers or other data structures to retrieve more information about this transaction. </pre>

        <code>uint64 index = 1;</code>

      • clearHash

         final Unit clearHash()
        <pre> the ID (hash) of this transaction, same as in block explorers </pre>

        <code>bytes hash = 2;</code>

      • clearFee

         final Unit clearFee()
        <pre> The transaction fee: present if server can provide. In the case of a stateless server and a transaction with transparent inputs, this will be unset because the calculation requires reference to prior transactions. If there are no transparent inputs, the fee will be calculable as: valueBalanceSapling + valueBalanceOrchard + sum(vPubNew) - sum(vPubOld) - sum(tOut) </pre>

        <code>uint32 fee = 3;</code>