public class DataAnchoringTransactionApi
extends java.lang.Object
Constructor and Description |
---|
DataAnchoringTransactionApi() |
DataAnchoringTransactionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
AnchorBlockStatus |
anchorBlock(java.lang.String xChainId,
AnchorBlockRequest body)
Create Anchoring Transaction
It is used to anchor blockchain data.
|
com.squareup.okhttp.Call |
anchorBlockAsync(java.lang.String xChainId,
AnchorBlockRequest body,
ApiCallback<AnchorBlockStatus> callback)
Create Anchoring Transaction (asynchronously)
It is used to anchor blockchain data.
|
com.squareup.okhttp.Call |
anchorBlockCall(java.lang.String xChainId,
AnchorBlockRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for anchorBlock
|
ApiResponse<AnchorBlockStatus> |
anchorBlockWithHttpInfo(java.lang.String xChainId,
AnchorBlockRequest body)
Create Anchoring Transaction
It is used to anchor blockchain data.
|
AnchorTransactionDetail |
getAnchorBlockByPayloadID(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String payloadId)
Search Anchoring Transactions with Payload
Specify a payload ID and operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
getAnchorBlockByPayloadIDAsync(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String payloadId,
ApiCallback<AnchorTransactionDetail> callback)
Search Anchoring Transactions with Payload (asynchronously)
Specify a payload ID and operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
getAnchorBlockByPayloadIDCall(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String payloadId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAnchorBlockByPayloadID
|
ApiResponse<AnchorTransactionDetail> |
getAnchorBlockByPayloadIDWithHttpInfo(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String payloadId)
Search Anchoring Transactions with Payload
Specify a payload ID and operator ID to search for a list of transactions that were created by the operator.
|
AnchorTransactionDetail |
getAnchorBlockByTx(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String transactionHash)
Search Anchoring Transactions with Transaction Hash
Specify a transaction hash value and operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
getAnchorBlockByTxAsync(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String transactionHash,
ApiCallback<AnchorTransactionDetail> callback)
Search Anchoring Transactions with Transaction Hash (asynchronously)
Specify a transaction hash value and operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
getAnchorBlockByTxCall(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String transactionHash,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAnchorBlockByTx
|
ApiResponse<AnchorTransactionDetail> |
getAnchorBlockByTxWithHttpInfo(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.String transactionHash)
Search Anchoring Transactions with Transaction Hash
Specify a transaction hash value and operator ID to search for a list of transactions that were created by the operator.
|
ApiClient |
getApiClient() |
AnchorTransactions |
retrieveAnchorBlock(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp)
Search List of Anchoring Transactions with Operator
Specify an operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
retrieveAnchorBlockAsync(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp,
ApiCallback<AnchorTransactions> callback)
Search List of Anchoring Transactions with Operator (asynchronously)
Specify an operator ID to search for a list of transactions that were created by the operator.
|
com.squareup.okhttp.Call |
retrieveAnchorBlockCall(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retrieveAnchorBlock
|
ApiResponse<AnchorTransactions> |
retrieveAnchorBlockWithHttpInfo(java.lang.String xChainId,
java.lang.String operatorId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long fromTimestamp,
java.lang.Long toTimestamp)
Search List of Anchoring Transactions with Operator
Specify an operator ID to search for a list of transactions that were created by the operator.
|
void |
setApiClient(ApiClient apiClient) |
public DataAnchoringTransactionApi()
public DataAnchoringTransactionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call anchorBlockCall(java.lang.String xChainId, AnchorBlockRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AnchorBlockStatus anchorBlock(java.lang.String xChainId, AnchorBlockRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnchorBlockStatus> anchorBlockWithHttpInfo(java.lang.String xChainId, AnchorBlockRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call anchorBlockAsync(java.lang.String xChainId, AnchorBlockRequest body, ApiCallback<AnchorBlockStatus> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)body
- (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAnchorBlockByPayloadIDCall(java.lang.String xChainId, java.lang.String operatorId, java.lang.String payloadId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)payloadId
- Payload ID (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AnchorTransactionDetail getAnchorBlockByPayloadID(java.lang.String xChainId, java.lang.String operatorId, java.lang.String payloadId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)payloadId
- Payload ID (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnchorTransactionDetail> getAnchorBlockByPayloadIDWithHttpInfo(java.lang.String xChainId, java.lang.String operatorId, java.lang.String payloadId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)payloadId
- Payload ID (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAnchorBlockByPayloadIDAsync(java.lang.String xChainId, java.lang.String operatorId, java.lang.String payloadId, ApiCallback<AnchorTransactionDetail> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)payloadId
- Payload ID (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getAnchorBlockByTxCall(java.lang.String xChainId, java.lang.String operatorId, java.lang.String transactionHash, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)transactionHash
- Transaction hash (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AnchorTransactionDetail getAnchorBlockByTx(java.lang.String xChainId, java.lang.String operatorId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)transactionHash
- Transaction hash (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnchorTransactionDetail> getAnchorBlockByTxWithHttpInfo(java.lang.String xChainId, java.lang.String operatorId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)transactionHash
- Transaction hash (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAnchorBlockByTxAsync(java.lang.String xChainId, java.lang.String operatorId, java.lang.String transactionHash, ApiCallback<AnchorTransactionDetail> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)transactionHash
- Transaction hash (required)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call retrieveAnchorBlockCall(java.lang.String xChainId, java.lang.String operatorId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AnchorTransactions retrieveAnchorBlock(java.lang.String xChainId, java.lang.String operatorId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AnchorTransactions> retrieveAnchorBlockWithHttpInfo(java.lang.String xChainId, java.lang.String operatorId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retrieveAnchorBlockAsync(java.lang.String xChainId, java.lang.String operatorId, java.lang.Long size, java.lang.String cursor, java.lang.Long fromTimestamp, java.lang.Long toTimestamp, ApiCallback<AnchorTransactions> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)operatorId
- Operator account address (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body object