Record Class TxSig

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 Details

    • TxSig

      public TxSig(long slot, OptionalLong blockTime, Commitment confirmationStatus, String signature, String memo, TransactionError transactionError)
      Creates an instance of a TxSig record class.
      Parameters:
      slot - the value for the slot record component
      blockTime - the value for the blockTime record component
      confirmationStatus - the value for the confirmationStatus record component
      signature - the value for the signature record component
      memo - the value for the memo record component
      transactionError - the value for the transactionError record component
  • Method Details

    • parseSignatures

      public static List<TxSig> parseSignatures(systems.comodal.jsoniter.JsonIterator ji)
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • slot

      public long slot()
      Returns the value of the slot record component.
      Returns:
      the value of the slot record component
    • blockTime

      public OptionalLong blockTime()
      Returns the value of the blockTime record component.
      Returns:
      the value of the blockTime record component
    • confirmationStatus

      public Commitment confirmationStatus()
      Returns the value of the confirmationStatus record component.
      Returns:
      the value of the confirmationStatus record component
    • signature

      public String signature()
      Returns the value of the signature record component.
      Returns:
      the value of the signature record component
    • memo

      public String memo()
      Returns the value of the memo record component.
      Returns:
      the value of the memo record component
    • transactionError

      public TransactionError transactionError()
      Returns the value of the transactionError record component.
      Returns:
      the value of the transactionError record component