-
public final class CompactTxKt.Dsl
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCompactTxKt.Dsl.Companionpublic final classCompactTxKt.Dsl.SpendsProxyAn uninstantiable, behaviorless type to represent the field in generics.
public final classCompactTxKt.Dsl.OutputsProxyAn uninstantiable, behaviorless type to represent the field in generics.
public final classCompactTxKt.Dsl.ActionsProxyAn uninstantiable, behaviorless type to represent the field in generics.
-
Field Summary
Fields Modifier and Type Field Description private Longindexprivate ByteStringhashprivate Integerfeeprivate final DslList<CompactFormats.CompactSaplingSpend, CompactTxKt.Dsl.SpendsProxy>spendsprivate final DslList<CompactFormats.CompactSaplingOutput, CompactTxKt.Dsl.OutputsProxy>outputsprivate final DslList<CompactFormats.CompactOrchardAction, CompactTxKt.Dsl.ActionsProxy>actions
-
Method Summary
Modifier and Type Method Description final LonggetIndex()final UnitsetIndex(Long index)final ByteStringgetHash()final UnitsetHash(ByteString hash)final IntegergetFee()final UnitsetFee(Integer fee)final UnitclearIndex()<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. final UnitclearHash()<pre> the ID (hash) of this transaction, same as in block explorers </pre><code>bytes hash = 2;</code> final UnitclearFee()<pre> The transaction fee: present if server can provide. -
-
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>
-
-
-
-