Package 

Interface CompactFormats.CompactTxOrBuilder

    • Method Summary

      Modifier and Type Method Description
      abstract long getIndex()
      Index and hash will allow the receiver to call out to chain
      explorers or other data structures to retrieve more information
      about this transaction.
      
      uint64 index = 1;
      abstract ByteString getHash()
      the ID (hash) of this transaction, same as in block explorers
      
      bytes hash = 2;
      abstract int getFee()
      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)
      
      uint32 fee = 3;
      abstract List<CompactFormats.CompactSaplingSpend> getSpendsList() repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
      abstract CompactFormats.CompactSaplingSpend getSpends(int index) repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
      abstract int getSpendsCount() repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
      abstract List<CompactFormats.CompactSaplingOutput> getOutputsList() repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
      abstract CompactFormats.CompactSaplingOutput getOutputs(int index) repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
      abstract int getOutputsCount() repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
      abstract List<CompactFormats.CompactOrchardAction> getActionsList() repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
      abstract CompactFormats.CompactOrchardAction getActions(int index) repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
      abstract int getActionsCount() repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
      • Methods inherited from class com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getIndex

         abstract long getIndex()
        Index and hash will allow the receiver to call out to chain
        explorers or other data structures to retrieve more information
        about this transaction.
        
        uint64 index = 1;
      • getHash

         abstract ByteString getHash()
        the ID (hash) of this transaction, same as in block explorers
        
        bytes hash = 2;
      • getFee

         abstract int getFee()
        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)
        
        uint32 fee = 3;
      • getSpendsCount

         abstract int getSpendsCount()

        repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;

      • getOutputsCount

         abstract int getOutputsCount()

        repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;

      • getActionsCount

         abstract int getActionsCount()

        repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;