public class AccountApi
extends java.lang.Object
Constructor and Description |
---|
AccountApi() |
AccountApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
AccountSummary |
activateAccount(java.lang.String xChainId,
java.lang.String address)
Activate Account
Reactivate a deactivated Klaytn account.
|
com.squareup.okhttp.Call |
activateAccountAsync(java.lang.String xChainId,
java.lang.String address,
ApiCallback<AccountSummary> callback)
Activate Account (asynchronously)
Reactivate a deactivated Klaytn account.
|
com.squareup.okhttp.Call |
activateAccountCall(java.lang.String xChainId,
java.lang.String address,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for activateAccount
|
ApiResponse<AccountSummary> |
activateAccountWithHttpInfo(java.lang.String xChainId,
java.lang.String address)
Activate Account
Reactivate a deactivated Klaytn account.
|
Account |
createAccount(java.lang.String xChainId)
Basic Account Creation
Creates a Klaytn account.
|
com.squareup.okhttp.Call |
createAccountAsync(java.lang.String xChainId,
ApiCallback<Account> callback)
Basic Account Creation (asynchronously)
Creates a Klaytn account.
|
com.squareup.okhttp.Call |
createAccountCall(java.lang.String xChainId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAccount
|
ApiResponse<Account> |
createAccountWithHttpInfo(java.lang.String xChainId)
Basic Account Creation
Creates a Klaytn account.
|
AccountSummary |
deactivateAccount(java.lang.String xChainId,
java.lang.String address)
Deactivate Account
Deactivate a Klaytn account.
|
com.squareup.okhttp.Call |
deactivateAccountAsync(java.lang.String xChainId,
java.lang.String address,
ApiCallback<AccountSummary> callback)
Deactivate Account (asynchronously)
Deactivate a Klaytn account.
|
com.squareup.okhttp.Call |
deactivateAccountCall(java.lang.String xChainId,
java.lang.String address,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deactivateAccount
|
ApiResponse<AccountSummary> |
deactivateAccountWithHttpInfo(java.lang.String xChainId,
java.lang.String address)
Deactivate Account
Deactivate a Klaytn account.
|
AccountStatus |
deleteAccount(java.lang.String xChainId,
java.lang.String address)
Account Deletion
Deletes Klaytn account.
|
com.squareup.okhttp.Call |
deleteAccountAsync(java.lang.String xChainId,
java.lang.String address,
ApiCallback<AccountStatus> callback)
Account Deletion (asynchronously)
Deletes Klaytn account.
|
com.squareup.okhttp.Call |
deleteAccountCall(java.lang.String xChainId,
java.lang.String address,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAccount
|
ApiResponse<AccountStatus> |
deleteAccountWithHttpInfo(java.lang.String xChainId,
java.lang.String address)
Account Deletion
Deletes Klaytn account.
|
ApiClient |
getApiClient() |
MultisigAccount |
multisigAccountUpdate(java.lang.String xChainId,
java.lang.String address,
MultisigAccountUpdateRequest body)
Update Multisig Account
Update a Klaytn account to a multisig account.
|
com.squareup.okhttp.Call |
multisigAccountUpdateAsync(java.lang.String xChainId,
java.lang.String address,
MultisigAccountUpdateRequest body,
ApiCallback<MultisigAccount> callback)
Update Multisig Account (asynchronously)
Update a Klaytn account to a multisig account.
|
com.squareup.okhttp.Call |
multisigAccountUpdateCall(java.lang.String xChainId,
java.lang.String address,
MultisigAccountUpdateRequest body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for multisigAccountUpdate
|
ApiResponse<MultisigAccount> |
multisigAccountUpdateWithHttpInfo(java.lang.String xChainId,
java.lang.String address,
MultisigAccountUpdateRequest body)
Update Multisig Account
Update a Klaytn account to a multisig account.
|
Account |
retrieveAccount(java.lang.String xChainId,
java.lang.String address)
Search Account
Search for a Klaytn account
|
com.squareup.okhttp.Call |
retrieveAccountAsync(java.lang.String xChainId,
java.lang.String address,
ApiCallback<Account> callback)
Search Account (asynchronously)
Search for a Klaytn account
|
com.squareup.okhttp.Call |
retrieveAccountCall(java.lang.String xChainId,
java.lang.String address,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retrieveAccount
|
Accounts |
retrieveAccounts(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long toTimestamp,
java.lang.Long fromTimestamp,
java.lang.String status)
Account list search
Search for a list of existing Klaytn accounts.
|
com.squareup.okhttp.Call |
retrieveAccountsAsync(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long toTimestamp,
java.lang.Long fromTimestamp,
java.lang.String status,
ApiCallback<Accounts> callback)
Account list search (asynchronously)
Search for a list of existing Klaytn accounts.
|
AccountsByPubkey |
retrieveAccountsByPubkey(java.lang.String xChainId,
java.lang.String publicKey)
Account search by public key
Search for a list of Klaytn accounts with a public key.
|
com.squareup.okhttp.Call |
retrieveAccountsByPubkeyAsync(java.lang.String xChainId,
java.lang.String publicKey,
ApiCallback<AccountsByPubkey> callback)
Account search by public key (asynchronously)
Search for a list of Klaytn accounts with a public key.
|
com.squareup.okhttp.Call |
retrieveAccountsByPubkeyCall(java.lang.String xChainId,
java.lang.String publicKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retrieveAccountsByPubkey
|
ApiResponse<AccountsByPubkey> |
retrieveAccountsByPubkeyWithHttpInfo(java.lang.String xChainId,
java.lang.String publicKey)
Account search by public key
Search for a list of Klaytn accounts with a public key.
|
com.squareup.okhttp.Call |
retrieveAccountsCall(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long toTimestamp,
java.lang.Long fromTimestamp,
java.lang.String status,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for retrieveAccounts
|
ApiResponse<Accounts> |
retrieveAccountsWithHttpInfo(java.lang.String xChainId,
java.lang.Long size,
java.lang.String cursor,
java.lang.Long toTimestamp,
java.lang.Long fromTimestamp,
java.lang.String status)
Account list search
Search for a list of existing Klaytn accounts.
|
ApiResponse<Account> |
retrieveAccountWithHttpInfo(java.lang.String xChainId,
java.lang.String address)
Search Account
Search for a Klaytn account
|
void |
setApiClient(ApiClient apiClient) |
Signature |
signTransactionIDResponse(java.lang.String xChainId,
java.lang.String address,
java.lang.String transactionId)
Sign Transaction
Sign transactions with a transaction ID using the corresponding Klaytn account.
|
com.squareup.okhttp.Call |
signTransactionIDResponseAsync(java.lang.String xChainId,
java.lang.String address,
java.lang.String transactionId,
ApiCallback<Signature> callback)
Sign Transaction (asynchronously)
Sign transactions with a transaction ID using the corresponding Klaytn account.
|
com.squareup.okhttp.Call |
signTransactionIDResponseCall(java.lang.String xChainId,
java.lang.String address,
java.lang.String transactionId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for signTransactionIDResponse
|
ApiResponse<Signature> |
signTransactionIDResponseWithHttpInfo(java.lang.String xChainId,
java.lang.String address,
java.lang.String transactionId)
Sign Transaction
Sign transactions with a transaction ID using the corresponding Klaytn account.
|
public AccountApi()
public AccountApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call activateAccountCall(java.lang.String xChainId, java.lang.String address, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AccountSummary activateAccount(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountSummary> activateAccountWithHttpInfo(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call activateAccountAsync(java.lang.String xChainId, java.lang.String address, ApiCallback<AccountSummary> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (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 createAccountCall(java.lang.String xChainId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Account createAccount(java.lang.String xChainId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Account> createAccountWithHttpInfo(java.lang.String xChainId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAccountAsync(java.lang.String xChainId, ApiCallback<Account> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (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 deactivateAccountCall(java.lang.String xChainId, java.lang.String address, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AccountSummary deactivateAccount(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountSummary> deactivateAccountWithHttpInfo(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deactivateAccountAsync(java.lang.String xChainId, java.lang.String address, ApiCallback<AccountSummary> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (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 deleteAccountCall(java.lang.String xChainId, java.lang.String address, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AccountStatus deleteAccount(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountStatus> deleteAccountWithHttpInfo(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAccountAsync(java.lang.String xChainId, java.lang.String address, ApiCallback<AccountStatus> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (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 multisigAccountUpdateCall(java.lang.String xChainId, java.lang.String address, MultisigAccountUpdateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic MultisigAccount multisigAccountUpdate(java.lang.String xChainId, java.lang.String address, MultisigAccountUpdateRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MultisigAccount> multisigAccountUpdateWithHttpInfo(java.lang.String xChainId, java.lang.String address, MultisigAccountUpdateRequest body) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call multisigAccountUpdateAsync(java.lang.String xChainId, java.lang.String address, MultisigAccountUpdateRequest body, ApiCallback<MultisigAccount> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (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 retrieveAccountCall(java.lang.String xChainId, java.lang.String address, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Account retrieveAccount(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Account> retrieveAccountWithHttpInfo(java.lang.String xChainId, java.lang.String address) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retrieveAccountAsync(java.lang.String xChainId, java.lang.String address, ApiCallback<Account> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (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 retrieveAccountsCall(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long toTimestamp, java.lang.Long fromTimestamp, java.lang.String status, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)status
- (optional, default to enabled)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Accounts retrieveAccounts(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long toTimestamp, java.lang.Long fromTimestamp, java.lang.String status) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)status
- (optional, default to enabled)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Accounts> retrieveAccountsWithHttpInfo(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long toTimestamp, java.lang.Long fromTimestamp, java.lang.String status) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)status
- (optional, default to enabled)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retrieveAccountsAsync(java.lang.String xChainId, java.lang.Long size, java.lang.String cursor, java.lang.Long toTimestamp, java.lang.Long fromTimestamp, java.lang.String status, ApiCallback<Accounts> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)size
- Maximum size of account to search (optional, default to 100)cursor
- Information on last searched cursor (optional)toTimestamp
- Timestamp of the end time to be searched (in seconds) (optional)fromTimestamp
- Timestamp of the start time to be searched (in seconds) (optional)status
- (optional, default to enabled)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 retrieveAccountsByPubkeyCall(java.lang.String xChainId, java.lang.String publicKey, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)publicKey
- Klaytn public key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic AccountsByPubkey retrieveAccountsByPubkey(java.lang.String xChainId, java.lang.String publicKey) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)publicKey
- Klaytn public key (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<AccountsByPubkey> retrieveAccountsByPubkeyWithHttpInfo(java.lang.String xChainId, java.lang.String publicKey) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)publicKey
- Klaytn public key (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call retrieveAccountsByPubkeyAsync(java.lang.String xChainId, java.lang.String publicKey, ApiCallback<AccountsByPubkey> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)publicKey
- Klaytn public key (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 signTransactionIDResponseCall(java.lang.String xChainId, java.lang.String address, java.lang.String transactionId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)transactionId
- ID of transaction to be signed (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic Signature signTransactionIDResponse(java.lang.String xChainId, java.lang.String address, java.lang.String transactionId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)transactionId
- ID of transaction to be signed (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Signature> signTransactionIDResponseWithHttpInfo(java.lang.String xChainId, java.lang.String address, java.lang.String transactionId) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)transactionId
- ID of transaction to be signed (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call signTransactionIDResponseAsync(java.lang.String xChainId, java.lang.String address, java.lang.String transactionId, ApiCallback<Signature> callback) throws ApiException
xChainId
- Klaytn chain network ID (1001 or 8217) (required)address
- Klaytn account address (required)transactionId
- ID of transaction to be signed (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 object