Class InvokeHostFunctionOperationResponse
java.lang.Object
org.stellar.sdk.responses.Response
org.stellar.sdk.responses.operations.OperationResponse
org.stellar.sdk.responses.operations.InvokeHostFunctionOperationResponse
- All Implemented Interfaces:
Pageable
Represents InvokeHostFunction operation response.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from class org.stellar.sdk.responses.operations.OperationResponse
OperationResponse.Links
-
Constructor Summary
ConstructorDescriptionInvokeHostFunctionOperationResponse
(String function, List<InvokeHostFunctionOperationResponse.HostFunctionParameter> parameters, String address, String salt, List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange> assetBalanceChanges) Creates a newInvokeHostFunctionOperationResponse
instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
the function type (HostFunctionType
), which can have one of the following values: "HostFunctionTypeHostFunctionTypeInvokeContract" "HostFunctionTypeHostFunctionTypeCreateContract" "HostFunctionTypeHostFunctionTypeUploadContractWasm"getSalt()
int
hashCode()
toString()
Methods inherited from class org.stellar.sdk.responses.operations.OperationResponse
getCreatedAt, getId, getLinks, getPagingToken, getSourceAccount, getSourceAccountMuxed, getSourceAccountMuxedId, getTransaction, getTransactionHash, getTransactionSuccessful, getType
-
Constructor Details
-
InvokeHostFunctionOperationResponse
public InvokeHostFunctionOperationResponse(String function, List<InvokeHostFunctionOperationResponse.HostFunctionParameter> parameters, String address, String salt, List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange> assetBalanceChanges) Creates a newInvokeHostFunctionOperationResponse
instance.- Parameters:
function
- the function type (HostFunctionType
), which can have one of the following values:- "HostFunctionTypeHostFunctionTypeInvokeContract"
- "HostFunctionTypeHostFunctionTypeCreateContract"
- "HostFunctionTypeHostFunctionTypeUploadContractWasm"
parameters
-address
-salt
-assetBalanceChanges
-
-
-
Method Details
-
getFunction
the function type (HostFunctionType
), which can have one of the following values:- "HostFunctionTypeHostFunctionTypeInvokeContract"
- "HostFunctionTypeHostFunctionTypeCreateContract"
- "HostFunctionTypeHostFunctionTypeUploadContractWasm"
-
getParameters
-
getAddress
-
getSalt
-
getAssetBalanceChanges
public List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange> getAssetBalanceChanges() -
toString
- Overrides:
toString
in classOperationResponse
-
equals
- Overrides:
equals
in classOperationResponse
-
hashCode
public int hashCode()- Overrides:
hashCode
in classOperationResponse
-