public class BasicTransactionApi
extends java.lang.Object
Constructor and Description |
---|
BasicTransactionApi() |
BasicTransactionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
TransactionResult |
accountUpdateTransaction(java.lang.String xChainId,
AccountUpdateTransactionRequest body)
Account Update Transaction
Create a transaction for updating Klaytn account keys.
|
com.squareup.okhttp.Call |
accountUpdateTransactionAsync(java.lang.String xChainId,
AccountUpdateTransactionRequest body,
ApiCallback<TransactionResult> callback)
Account Update Transaction (asynchronously)
Create a transaction for updating Klaytn account keys.
|
com.squareup.okhttp.Call |
accountUpdateTransactionCall(java.lang.String xChainId,
AccountUpdateTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for accountUpdateTransaction
|
ApiResponse<TransactionResult> |
accountUpdateTransactionWithHttpInfo(java.lang.String xChainId,
AccountUpdateTransactionRequest body)
Account Update Transaction
Create a transaction for updating Klaytn account keys.
|
TransactionResult |
anchorTransaction(java.lang.String xChainId,
AnchorTransactionRequest body)
Anchoring Transaction
Create a transaction for anchoring service chain data to the Klaytn main chain.
|
com.squareup.okhttp.Call |
anchorTransactionAsync(java.lang.String xChainId,
AnchorTransactionRequest body,
ApiCallback<TransactionResult> callback)
Anchoring Transaction (asynchronously)
Create a transaction for anchoring service chain data to the Klaytn main chain.
|
com.squareup.okhttp.Call |
anchorTransactionCall(java.lang.String xChainId,
AnchorTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for anchorTransaction
|
ApiResponse<TransactionResult> |
anchorTransactionWithHttpInfo(java.lang.String xChainId,
AnchorTransactionRequest body)
Anchoring Transaction
Create a transaction for anchoring service chain data to the Klaytn main chain.
|
TransactionResult |
cancelTransaction(java.lang.String xChainId,
CancelTransactionRequest body)
Cancel Transaction
Create a transaction for canceling a pending transaction.
|
com.squareup.okhttp.Call |
cancelTransactionAsync(java.lang.String xChainId,
CancelTransactionRequest body,
ApiCallback<TransactionResult> callback)
Cancel Transaction (asynchronously)
Create a transaction for canceling a pending transaction.
|
com.squareup.okhttp.Call |
cancelTransactionCall(java.lang.String xChainId,
CancelTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for cancelTransaction
|
ApiResponse<TransactionResult> |
cancelTransactionWithHttpInfo(java.lang.String xChainId,
CancelTransactionRequest body)
Cancel Transaction
Create a transaction for canceling a pending transaction.
|
ContractCallResponse |
contractCall(java.lang.String xChainId,
ContractCallRequest body)
Contract Call
You can view certain value in the contract and validate that you can submit executable transaction.
|
com.squareup.okhttp.Call |
contractCallAsync(java.lang.String xChainId,
ContractCallRequest body,
ApiCallback<ContractCallResponse> callback)
Contract Call (asynchronously)
You can view certain value in the contract and validate that you can submit executable transaction.
|
com.squareup.okhttp.Call |
contractCallCall(java.lang.String xChainId,
ContractCallRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for contractCall
|
ApiResponse<ContractCallResponse> |
contractCallWithHttpInfo(java.lang.String xChainId,
ContractCallRequest body)
Contract Call
You can view certain value in the contract and validate that you can submit executable transaction.
|
TransactionResult |
contractDeployTransaction(java.lang.String xChainId,
ContractDeployTransactionRequest body)
Contract Deployment Transaction
Create a transaction for deploying a contract.
|
com.squareup.okhttp.Call |
contractDeployTransactionAsync(java.lang.String xChainId,
ContractDeployTransactionRequest body,
ApiCallback<TransactionResult> callback)
Contract Deployment Transaction (asynchronously)
Create a transaction for deploying a contract.
|
com.squareup.okhttp.Call |
contractDeployTransactionCall(java.lang.String xChainId,
ContractDeployTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for contractDeployTransaction
|
ApiResponse<TransactionResult> |
contractDeployTransactionWithHttpInfo(java.lang.String xChainId,
ContractDeployTransactionRequest body)
Contract Deployment Transaction
Create a transaction for deploying a contract.
|
TransactionResult |
contractExecutionTransaction(java.lang.String xChainId,
ContractExecutionTransactionRequest body)
Contract Execution Transaction
Create a transaction for executing a released contract function.
|
com.squareup.okhttp.Call |
contractExecutionTransactionAsync(java.lang.String xChainId,
ContractExecutionTransactionRequest body,
ApiCallback<TransactionResult> callback)
Contract Execution Transaction (asynchronously)
Create a transaction for executing a released contract function.
|
com.squareup.okhttp.Call |
contractExecutionTransactionCall(java.lang.String xChainId,
ContractExecutionTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for contractExecutionTransaction
|
ApiResponse<TransactionResult> |
contractExecutionTransactionWithHttpInfo(java.lang.String xChainId,
ContractExecutionTransactionRequest body)
Contract Execution Transaction
Create a transaction for executing a released contract function.
|
ApiClient |
getApiClient() |
TransactionResult |
legacyTransaction(java.lang.String xChainId,
LegacyTransactionRequest body)
Legacy transaction invocation
Create a transaction that supports legacy accounts (which have a public key that is derived from a private key) and transaction formats.
|
com.squareup.okhttp.Call |
legacyTransactionAsync(java.lang.String xChainId,
LegacyTransactionRequest body,
ApiCallback<TransactionResult> callback)
Legacy transaction invocation (asynchronously)
Create a transaction that supports legacy accounts (which have a public key that is derived from a private key) and transaction formats.
|
com.squareup.okhttp.Call |
legacyTransactionCall(java.lang.String xChainId,
LegacyTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for legacyTransaction
|
ApiResponse<TransactionResult> |
legacyTransactionWithHttpInfo(java.lang.String xChainId,
LegacyTransactionRequest body)
Legacy transaction invocation
Create a transaction that supports legacy accounts (which have a public key that is derived from a private key) and transaction formats.
|
TransactionResult |
processRLP(java.lang.String xChainId,
ProcessRLPRequest body)
Transaction Using RLP
Create a transaction using the rlp(SigRLP or TxHashRLP).
|
com.squareup.okhttp.Call |
processRLPAsync(java.lang.String xChainId,
ProcessRLPRequest body,
ApiCallback<TransactionResult> callback)
Transaction Using RLP (asynchronously)
Create a transaction using the rlp(SigRLP or TxHashRLP).
|
com.squareup.okhttp.Call |
processRLPCall(java.lang.String xChainId,
ProcessRLPRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for processRLP
|
ApiResponse<TransactionResult> |
processRLPWithHttpInfo(java.lang.String xChainId,
ProcessRLPRequest body)
Transaction Using RLP
Create a transaction using the rlp(SigRLP or TxHashRLP).
|
void |
setApiClient(ApiClient apiClient) |
TransactionReceipt |
transactionReceipt(java.lang.String xChainId,
java.lang.String transactionHash)
Search Transaction
Search for the transaction execution result using the transaction hash value.
|
com.squareup.okhttp.Call |
transactionReceiptAsync(java.lang.String xChainId,
java.lang.String transactionHash,
ApiCallback<TransactionReceipt> callback)
Search Transaction (asynchronously)
Search for the transaction execution result using the transaction hash value.
|
com.squareup.okhttp.Call |
transactionReceiptCall(java.lang.String xChainId,
java.lang.String transactionHash,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for transactionReceipt
|
ApiResponse<TransactionReceipt> |
transactionReceiptWithHttpInfo(java.lang.String xChainId,
java.lang.String transactionHash)
Search Transaction
Search for the transaction execution result using the transaction hash value.
|
TransactionResult |
valueTransferTransaction(java.lang.String xChainId,
ValueTransferTransactionRequest body)
KLAY Transfer Transaction
Create a transaction for transferring KLAYs with or without a memo.
|
com.squareup.okhttp.Call |
valueTransferTransactionAsync(java.lang.String xChainId,
ValueTransferTransactionRequest body,
ApiCallback<TransactionResult> callback)
KLAY Transfer Transaction (asynchronously)
Create a transaction for transferring KLAYs with or without a memo.
|
com.squareup.okhttp.Call |
valueTransferTransactionCall(java.lang.String xChainId,
ValueTransferTransactionRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for valueTransferTransaction
|
ApiResponse<TransactionResult> |
valueTransferTransactionWithHttpInfo(java.lang.String xChainId,
ValueTransferTransactionRequest body)
KLAY Transfer Transaction
Create a transaction for transferring KLAYs with or without a memo.
|
public BasicTransactionApi()
public BasicTransactionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call accountUpdateTransactionCall(java.lang.String xChainId, AccountUpdateTransactionRequest 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 TransactionResult accountUpdateTransaction(java.lang.String xChainId, AccountUpdateTransactionRequest 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<TransactionResult> accountUpdateTransactionWithHttpInfo(java.lang.String xChainId, AccountUpdateTransactionRequest 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 accountUpdateTransactionAsync(java.lang.String xChainId, AccountUpdateTransactionRequest body, ApiCallback<TransactionResult> 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 anchorTransactionCall(java.lang.String xChainId, AnchorTransactionRequest 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 TransactionResult anchorTransaction(java.lang.String xChainId, AnchorTransactionRequest 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<TransactionResult> anchorTransactionWithHttpInfo(java.lang.String xChainId, AnchorTransactionRequest 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 anchorTransactionAsync(java.lang.String xChainId, AnchorTransactionRequest body, ApiCallback<TransactionResult> 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 cancelTransactionCall(java.lang.String xChainId, CancelTransactionRequest 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 TransactionResult cancelTransaction(java.lang.String xChainId, CancelTransactionRequest 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<TransactionResult> cancelTransactionWithHttpInfo(java.lang.String xChainId, CancelTransactionRequest 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 cancelTransactionAsync(java.lang.String xChainId, CancelTransactionRequest body, ApiCallback<TransactionResult> 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 contractCallCall(java.lang.String xChainId, ContractCallRequest 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 ContractCallResponse contractCall(java.lang.String xChainId, ContractCallRequest 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<ContractCallResponse> contractCallWithHttpInfo(java.lang.String xChainId, ContractCallRequest 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 contractCallAsync(java.lang.String xChainId, ContractCallRequest body, ApiCallback<ContractCallResponse> 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 contractDeployTransactionCall(java.lang.String xChainId, ContractDeployTransactionRequest 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 TransactionResult contractDeployTransaction(java.lang.String xChainId, ContractDeployTransactionRequest 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<TransactionResult> contractDeployTransactionWithHttpInfo(java.lang.String xChainId, ContractDeployTransactionRequest 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 contractDeployTransactionAsync(java.lang.String xChainId, ContractDeployTransactionRequest body, ApiCallback<TransactionResult> 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 contractExecutionTransactionCall(java.lang.String xChainId, ContractExecutionTransactionRequest 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 TransactionResult contractExecutionTransaction(java.lang.String xChainId, ContractExecutionTransactionRequest 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<TransactionResult> contractExecutionTransactionWithHttpInfo(java.lang.String xChainId, ContractExecutionTransactionRequest 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 contractExecutionTransactionAsync(java.lang.String xChainId, ContractExecutionTransactionRequest body, ApiCallback<TransactionResult> 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 legacyTransactionCall(java.lang.String xChainId, LegacyTransactionRequest 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 TransactionResult legacyTransaction(java.lang.String xChainId, LegacyTransactionRequest 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<TransactionResult> legacyTransactionWithHttpInfo(java.lang.String xChainId, LegacyTransactionRequest 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 legacyTransactionAsync(java.lang.String xChainId, LegacyTransactionRequest body, ApiCallback<TransactionResult> 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 processRLPCall(java.lang.String xChainId, ProcessRLPRequest 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 TransactionResult processRLP(java.lang.String xChainId, ProcessRLPRequest 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<TransactionResult> processRLPWithHttpInfo(java.lang.String xChainId, ProcessRLPRequest 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 processRLPAsync(java.lang.String xChainId, ProcessRLPRequest body, ApiCallback<TransactionResult> 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 transactionReceiptCall(java.lang.String xChainId, java.lang.String transactionHash, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)transactionHash
- Transaction hash value (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic TransactionReceipt transactionReceipt(java.lang.String xChainId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)transactionHash
- Transaction hash value (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TransactionReceipt> transactionReceiptWithHttpInfo(java.lang.String xChainId, java.lang.String transactionHash) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)transactionHash
- Transaction hash value (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call transactionReceiptAsync(java.lang.String xChainId, java.lang.String transactionHash, ApiCallback<TransactionReceipt> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)transactionHash
- Transaction hash value (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 valueTransferTransactionCall(java.lang.String xChainId, ValueTransferTransactionRequest 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 TransactionResult valueTransferTransaction(java.lang.String xChainId, ValueTransferTransactionRequest 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<TransactionResult> valueTransferTransactionWithHttpInfo(java.lang.String xChainId, ValueTransferTransactionRequest 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 valueTransferTransactionAsync(java.lang.String xChainId, ValueTransferTransactionRequest body, ApiCallback<TransactionResult> 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 object