java.lang.Object
java.lang.Record
software.sava.rpc.json.http.response.TxSig
public record TxSig(long slot, OptionalLong blockTime, Commitment confirmationStatus, String signature, String memo, TransactionError transactionError)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionTxSig(long slot, OptionalLong blockTime, Commitment confirmationStatus, String signature, String memo, TransactionError transactionError) Creates an instance of aTxSigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theblockTimerecord component.Returns the value of theconfirmationStatusrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.memo()Returns the value of thememorecord component.parseSignatures(systems.comodal.jsoniter.JsonIterator ji) Returns the value of thesignaturerecord component.longslot()Returns the value of theslotrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionErrorrecord component.
-
Constructor Details
-
TxSig
public TxSig(long slot, OptionalLong blockTime, Commitment confirmationStatus, String signature, String memo, TransactionError transactionError) Creates an instance of aTxSigrecord class.- Parameters:
slot- the value for theslotrecord componentblockTime- the value for theblockTimerecord componentconfirmationStatus- the value for theconfirmationStatusrecord componentsignature- the value for thesignaturerecord componentmemo- the value for thememorecord componenttransactionError- the value for thetransactionErrorrecord component
-
-
Method Details
-
parseSignatures
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
slot
public long slot()Returns the value of theslotrecord component.- Returns:
- the value of the
slotrecord component
-
blockTime
Returns the value of theblockTimerecord component.- Returns:
- the value of the
blockTimerecord component
-
confirmationStatus
Returns the value of theconfirmationStatusrecord component.- Returns:
- the value of the
confirmationStatusrecord component
-
signature
Returns the value of thesignaturerecord component.- Returns:
- the value of the
signaturerecord component
-
memo
Returns the value of thememorecord component.- Returns:
- the value of the
memorecord component
-
transactionError
Returns the value of thetransactionErrorrecord component.- Returns:
- the value of the
transactionErrorrecord component
-