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
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classNested classes/interfaces inherited from class org.stellar.sdk.responses.operations.OperationResponse
OperationResponse.Links -
Constructor Summary
ConstructorsConstructorDescriptionInvokeHostFunctionOperationResponse(String function, List<InvokeHostFunctionOperationResponse.HostFunctionParameter> parameters, String address, String salt, List<InvokeHostFunctionOperationResponse.AssetContractBalanceChange> assetBalanceChanges) Creates a newInvokeHostFunctionOperationResponseinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanthe function type (HostFunctionType), which can have one of the following values: "HostFunctionTypeHostFunctionTypeInvokeContract" "HostFunctionTypeHostFunctionTypeCreateContract" "HostFunctionTypeHostFunctionTypeUploadContractWasm"getSalt()inthashCode()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 newInvokeHostFunctionOperationResponseinstance.- 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:
toStringin classOperationResponse
-
equals
- Overrides:
equalsin classOperationResponse
-
hashCode
public int hashCode()- Overrides:
hashCodein classOperationResponse
-