-
- All Implemented Interfaces:
-
cash.z.wallet.sdk.internal.rpc.CompactFormats.CompactTxOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
public final class CompactFormats.CompactTx extends GeneratedMessageLite<CompactFormats.CompactTx, CompactFormats.CompactTx.Builder> implements CompactFormats.CompactTxOrBuilder
Protobuf typeCompactTx contains the minimum information for a wallet to know if this transaction is relevant to it (either pays to it or spends from it) via shielded elements only. This message will not encode a transparent-to-transparent transaction.{@code cash.z.wallet.sdk.rpc.CompactTx}
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCompactFormats.CompactTx.Builder
Protobuf typeCompactTx contains the minimum information for a wallet to know if this transaction is relevant to it (either pays to it or spends from it) via shielded elements only. This message will not encode a transparent-to-transparent transaction.{@code cash.z.wallet.sdk.rpc.CompactTx}
-
Field Summary
Fields Modifier and Type Field Description public final static intINDEX_FIELD_NUMBERpublic final static intHASH_FIELD_NUMBERpublic final static intFEE_FIELD_NUMBERpublic final static intSPENDS_FIELD_NUMBERpublic final static intOUTPUTS_FIELD_NUMBERpublic final static intACTIONS_FIELD_NUMBER
-
Method Summary
Modifier and Type Method Description longgetIndex()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;ByteStringgetHash()the ID (hash) of this transaction, same as in block explorersbytes hash = 2;intgetFee()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;List<CompactFormats.CompactSaplingSpend>getSpendsList()repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;List<out CompactFormats.CompactSaplingSpendOrBuilder>getSpendsOrBuilderList()repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;intgetSpendsCount()repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;CompactFormats.CompactSaplingSpendgetSpends(int index)repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;CompactFormats.CompactSaplingSpendOrBuildergetSpendsOrBuilder(int index)repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;List<CompactFormats.CompactSaplingOutput>getOutputsList()repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;List<out CompactFormats.CompactSaplingOutputOrBuilder>getOutputsOrBuilderList()repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;intgetOutputsCount()repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;CompactFormats.CompactSaplingOutputgetOutputs(int index)repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;CompactFormats.CompactSaplingOutputOrBuildergetOutputsOrBuilder(int index)repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;List<CompactFormats.CompactOrchardAction>getActionsList()repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;List<out CompactFormats.CompactOrchardActionOrBuilder>getActionsOrBuilderList()repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;intgetActionsCount()repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;CompactFormats.CompactOrchardActiongetActions(int index)repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;CompactFormats.CompactOrchardActionOrBuildergetActionsOrBuilder(int index)repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;static CompactFormats.CompactTxparseFrom(ByteBuffer data)static CompactFormats.CompactTxparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTxparseFrom(ByteString data)static CompactFormats.CompactTxparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTxparseFrom(Array<byte> data)static CompactFormats.CompactTxparseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTxparseFrom(InputStream input)static CompactFormats.CompactTxparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTxparseDelimitedFrom(InputStream input)static CompactFormats.CompactTxparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTxparseFrom(CodedInputStream input)static CompactFormats.CompactTxparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)static CompactFormats.CompactTx.BuildernewBuilder()static CompactFormats.CompactTx.BuildernewBuilder(CompactFormats.CompactTx prototype)static CompactFormats.CompactTxgetDefaultInstance()static Parser<CompactFormats.CompactTx>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
equals, getDefaultInstanceForType, getParserForType, hashCode, isInitialized, newBuilderForType, newRepeatedGeneratedExtension, newSingularGeneratedExtension, toBuilder, toString, writeTo -
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo -
Methods inherited from class com.google.protobuf.MessageLite
getParserForType, newBuilderForType, toBuilder -
Methods inherited from class com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIndex
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
ByteString getHash()
the ID (hash) of this transaction, same as in block explorersbytes hash = 2;
-
getFee
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;
-
getSpendsList
List<CompactFormats.CompactSaplingSpend> getSpendsList()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
-
getSpendsOrBuilderList
List<out CompactFormats.CompactSaplingSpendOrBuilder> getSpendsOrBuilderList()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
-
getSpendsCount
int getSpendsCount()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
-
getSpends
CompactFormats.CompactSaplingSpend getSpends(int index)
repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
-
getSpendsOrBuilder
CompactFormats.CompactSaplingSpendOrBuilder getSpendsOrBuilder(int index)
repeated .cash.z.wallet.sdk.rpc.CompactSaplingSpend spends = 4;
-
getOutputsList
List<CompactFormats.CompactSaplingOutput> getOutputsList()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
-
getOutputsOrBuilderList
List<out CompactFormats.CompactSaplingOutputOrBuilder> getOutputsOrBuilderList()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
-
getOutputsCount
int getOutputsCount()
repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
-
getOutputs
CompactFormats.CompactSaplingOutput getOutputs(int index)
repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
-
getOutputsOrBuilder
CompactFormats.CompactSaplingOutputOrBuilder getOutputsOrBuilder(int index)
repeated .cash.z.wallet.sdk.rpc.CompactSaplingOutput outputs = 5;
-
getActionsList
List<CompactFormats.CompactOrchardAction> getActionsList()
repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
-
getActionsOrBuilderList
List<out CompactFormats.CompactOrchardActionOrBuilder> getActionsOrBuilderList()
repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
-
getActionsCount
int getActionsCount()
repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
-
getActions
CompactFormats.CompactOrchardAction getActions(int index)
repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
-
getActionsOrBuilder
CompactFormats.CompactOrchardActionOrBuilder getActionsOrBuilder(int index)
repeated .cash.z.wallet.sdk.rpc.CompactOrchardAction actions = 6;
-
parseFrom
static CompactFormats.CompactTx parseFrom(ByteBuffer data)
-
parseFrom
static CompactFormats.CompactTx parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static CompactFormats.CompactTx parseFrom(ByteString data)
-
parseFrom
static CompactFormats.CompactTx parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static CompactFormats.CompactTx parseFrom(Array<byte> data)
-
parseFrom
static CompactFormats.CompactTx parseFrom(Array<byte> data, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static CompactFormats.CompactTx parseFrom(InputStream input)
-
parseFrom
static CompactFormats.CompactTx parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseDelimitedFrom
static CompactFormats.CompactTx parseDelimitedFrom(InputStream input)
-
parseDelimitedFrom
static CompactFormats.CompactTx parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
-
parseFrom
static CompactFormats.CompactTx parseFrom(CodedInputStream input)
-
parseFrom
static CompactFormats.CompactTx parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
-
newBuilder
static CompactFormats.CompactTx.Builder newBuilder()
-
newBuilder
static CompactFormats.CompactTx.Builder newBuilder(CompactFormats.CompactTx prototype)
-
getDefaultInstance
static CompactFormats.CompactTx getDefaultInstance()
-
parser
static Parser<CompactFormats.CompactTx> parser()
-
-
-
-