Class GetEventsResponse.EventInfo
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.GetEventsResponse.EventInfo
- Enclosing class:
GetEventsResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
The field may will be removed in the next version of the protocol.getTopic()
The elements inside can be parsed asSCVal
objects.getType()
getValue()
The field can be parsed asSCVal
object.int
hashCode()
Parses thetopic
field from a list of strings to a list ofSCVal
objects.Parses thevalue
field from a string to anSCVal
object.toString()
-
Constructor Details
-
EventInfo
public EventInfo(EventFilterType type, Long ledger, String ledgerClosedAt, String contractId, String id, String pagingToken, List<String> topic, String value, Boolean inSuccessfulContractCall, String transactionHash) Creates a newEventInfo
instance.- Parameters:
type
-ledger
-ledgerClosedAt
-contractId
-id
-pagingToken
- The field may will be removed in the next version of the protocol. It remains for backward. It is recommended to useGetEventsResponse.cursor
instead.topic
- The elements inside can be parsed asSCVal
objects.value
- The field can be parsed asSCVal
object.inSuccessfulContractCall
-transactionHash
-
-
-
Method Details
-
parseTopic
Parses thetopic
field from a list of strings to a list ofSCVal
objects.- Returns:
- a list of parsed
SCVal
objects
-
parseValue
Parses thevalue
field from a string to anSCVal
object.- Returns:
- the parsed
SCVal
object
-
getType
-
getLedger
-
getLedgerClosedAt
-
getContractId
-
getId
-
getPagingToken
The field may will be removed in the next version of the protocol. It remains for backward. It is recommended to useGetEventsResponse.cursor
instead. -
getTopic
The elements inside can be parsed asSCVal
objects. -
getValue
The field can be parsed asSCVal
object. -
getInSuccessfulContractCall
-
getTransactionHash
-
equals
-
hashCode
public int hashCode() -
toString
-