Class SimulateTransactionResponse.SimulateHostFunctionResult
java.lang.Object
org.stellar.sdk.responses.sorobanrpc.SimulateTransactionResponse.SimulateHostFunctionResult
- Enclosing class:
SimulateTransactionResponse
-
Constructor Summary
ConstructorDescriptionSimulateHostFunctionResult
(List<String> auth, String xdr) Creates a newSimulateHostFunctionResult
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getAuth()
The elements inside can be parsed asSorobanAuthorizationEntry
objects.getXdr()
The field can be parsed asSCVal
object.int
hashCode()
Parses theauth
field from a list of strings to a list ofSorobanAuthorizationEntry
objects.parseXdr()
Parses thexdr
field from a string to anSCVal
object.toString()
-
Constructor Details
-
SimulateHostFunctionResult
Creates a newSimulateHostFunctionResult
instance.- Parameters:
auth
- The elements inside can be parsed asSorobanAuthorizationEntry
objects.xdr
- The field can be parsed asSCVal
object.
-
-
Method Details
-
parseAuth
Parses theauth
field from a list of strings to a list ofSorobanAuthorizationEntry
objects.- Returns:
- a list of parsed
SorobanAuthorizationEntry
objects
-
parseXdr
Parses thexdr
field from a string to anSCVal
object.- Returns:
- the parsed
SCVal
object
-
getAuth
The elements inside can be parsed asSorobanAuthorizationEntry
objects. -
getXdr
The field can be parsed asSCVal
object. -
equals
-
hashCode
public int hashCode() -
toString
-