Class DefaultApi
- java.lang.Object
-
- com.algorand.algosdk.kmd.client.api.DefaultApi
-
-
Constructor Summary
Constructors Constructor Description DefaultApi()
DefaultApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIV1POSTWalletResponse
createWallet(CreateWalletRequest createWalletRequest)
Create a wallet Create a new wallet (collection of keys) with the given parameters.com.squareup.okhttp.Call
createWalletAsync(CreateWalletRequest createWalletRequest, ApiCallback<APIV1POSTWalletResponse> callback)
Create a wallet (asynchronously) Create a new wallet (collection of keys) with the given parameters.com.squareup.okhttp.Call
createWalletCall(CreateWalletRequest createWalletRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createWalletApiResponse<APIV1POSTWalletResponse>
createWalletWithHttpInfo(CreateWalletRequest createWalletRequest)
Create a wallet Create a new wallet (collection of keys) with the given parameters.APIV1DELETEKeyResponse
deleteKey(DeleteKeyRequest deleteKeyRequest)
Delete a key Deletes the key with the passed public key from the wallet.com.squareup.okhttp.Call
deleteKeyAsync(DeleteKeyRequest deleteKeyRequest, ApiCallback<APIV1DELETEKeyResponse> callback)
Delete a key (asynchronously) Deletes the key with the passed public key from the wallet.com.squareup.okhttp.Call
deleteKeyCall(DeleteKeyRequest deleteKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteKeyApiResponse<APIV1DELETEKeyResponse>
deleteKeyWithHttpInfo(DeleteKeyRequest deleteKeyRequest)
Delete a key Deletes the key with the passed public key from the wallet.APIV1DELETEMultisigResponse
deleteMultisig(DeleteMultisigRequest deleteMultisigRequest)
Delete a multisig Deletes multisig preimage information for the passed address from the wallet.com.squareup.okhttp.Call
deleteMultisigAsync(DeleteMultisigRequest deleteMultisigRequest, ApiCallback<APIV1DELETEMultisigResponse> callback)
Delete a multisig (asynchronously) Deletes multisig preimage information for the passed address from the wallet.com.squareup.okhttp.Call
deleteMultisigCall(DeleteMultisigRequest deleteMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteMultisigApiResponse<APIV1DELETEMultisigResponse>
deleteMultisigWithHttpInfo(DeleteMultisigRequest deleteMultisigRequest)
Delete a multisig Deletes multisig preimage information for the passed address from the wallet.APIV1POSTKeyExportResponse
exportKey(ExportKeyRequest exportKeyRequest)
Export a key Export the secret key associated with the passed public key.com.squareup.okhttp.Call
exportKeyAsync(ExportKeyRequest exportKeyRequest, ApiCallback<APIV1POSTKeyExportResponse> callback)
Export a key (asynchronously) Export the secret key associated with the passed public key.com.squareup.okhttp.Call
exportKeyCall(ExportKeyRequest exportKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exportKeyApiResponse<APIV1POSTKeyExportResponse>
exportKeyWithHttpInfo(ExportKeyRequest exportKeyRequest)
Export a key Export the secret key associated with the passed public key.APIV1POSTMasterKeyExportResponse
exportMasterKey(ExportMasterKeyRequest exportMasterKeyRequest)
Export the master derivation key from a wallet Export the master derivation key from the wallet.com.squareup.okhttp.Call
exportMasterKeyAsync(ExportMasterKeyRequest exportMasterKeyRequest, ApiCallback<APIV1POSTMasterKeyExportResponse> callback)
Export the master derivation key from a wallet (asynchronously) Export the master derivation key from the wallet.com.squareup.okhttp.Call
exportMasterKeyCall(ExportMasterKeyRequest exportMasterKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exportMasterKeyApiResponse<APIV1POSTMasterKeyExportResponse>
exportMasterKeyWithHttpInfo(ExportMasterKeyRequest exportMasterKeyRequest)
Export the master derivation key from a wallet Export the master derivation key from the wallet.APIV1POSTMultisigExportResponse
exportMultisig(ExportMultisigRequest exportMultisigRequest)
Export multisig address metadata Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.com.squareup.okhttp.Call
exportMultisigAsync(ExportMultisigRequest exportMultisigRequest, ApiCallback<APIV1POSTMultisigExportResponse> callback)
Export multisig address metadata (asynchronously) Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.com.squareup.okhttp.Call
exportMultisigCall(ExportMultisigRequest exportMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for exportMultisigApiResponse<APIV1POSTMultisigExportResponse>
exportMultisigWithHttpInfo(ExportMultisigRequest exportMultisigRequest)
Export multisig address metadata Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.APIV1POSTKeyResponse
generateKey(GenerateKeyRequest generateKeyRequest)
Generate a key Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.com.squareup.okhttp.Call
generateKeyAsync(GenerateKeyRequest generateKeyRequest, ApiCallback<APIV1POSTKeyResponse> callback)
Generate a key (asynchronously) Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.com.squareup.okhttp.Call
generateKeyCall(GenerateKeyRequest generateKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generateKeyApiResponse<APIV1POSTKeyResponse>
generateKeyWithHttpInfo(GenerateKeyRequest generateKeyRequest)
Generate a key Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.ApiClient
getApiClient()
VersionsResponse
getVersion()
Retrieves the current versioncom.squareup.okhttp.Call
getVersionAsync(ApiCallback<VersionsResponse> callback)
(asynchronously) Retrieves the current versioncom.squareup.okhttp.Call
getVersionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getVersionApiResponse<VersionsResponse>
getVersionWithHttpInfo()
Retrieves the current versionAPIV1POSTWalletInfoResponse
getWalletInfo(WalletInfoRequest getWalletInfoRequest)
Get wallet info Returns information about the wallet associated with the passed wallet handle token.com.squareup.okhttp.Call
getWalletInfoAsync(WalletInfoRequest getWalletInfoRequest, ApiCallback<APIV1POSTWalletInfoResponse> callback)
Get wallet info (asynchronously) Returns information about the wallet associated with the passed wallet handle token.com.squareup.okhttp.Call
getWalletInfoCall(WalletInfoRequest getWalletInfoRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getWalletInfoApiResponse<APIV1POSTWalletInfoResponse>
getWalletInfoWithHttpInfo(WalletInfoRequest getWalletInfoRequest)
Get wallet info Returns information about the wallet associated with the passed wallet handle token.APIV1POSTKeyImportResponse
importKey(ImportKeyRequest importKeyRequest)
Import a key Import an externally generated key into the wallet.com.squareup.okhttp.Call
importKeyAsync(ImportKeyRequest importKeyRequest, ApiCallback<APIV1POSTKeyImportResponse> callback)
Import a key (asynchronously) Import an externally generated key into the wallet.com.squareup.okhttp.Call
importKeyCall(ImportKeyRequest importKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importKeyApiResponse<APIV1POSTKeyImportResponse>
importKeyWithHttpInfo(ImportKeyRequest importKeyRequest)
Import a key Import an externally generated key into the wallet.APIV1POSTMultisigImportResponse
importMultisig(ImportMultisigRequest importMultisigRequest)
Import a multisig account Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.com.squareup.okhttp.Call
importMultisigAsync(ImportMultisigRequest importMultisigRequest, ApiCallback<APIV1POSTMultisigImportResponse> callback)
Import a multisig account (asynchronously) Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.com.squareup.okhttp.Call
importMultisigCall(ImportMultisigRequest importMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importMultisigApiResponse<APIV1POSTMultisigImportResponse>
importMultisigWithHttpInfo(ImportMultisigRequest importMultisigRequest)
Import a multisig account Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.APIV1POSTWalletInitResponse
initWalletHandleToken(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest)
Initialize a wallet handle token Unlock the wallet and return a wallet handle token that can be used for subsequent operations.com.squareup.okhttp.Call
initWalletHandleTokenAsync(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletInitResponse> callback)
Initialize a wallet handle token (asynchronously) Unlock the wallet and return a wallet handle token that can be used for subsequent operations.com.squareup.okhttp.Call
initWalletHandleTokenCall(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for initWalletHandleTokenApiResponse<APIV1POSTWalletInitResponse>
initWalletHandleTokenWithHttpInfo(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest)
Initialize a wallet handle token Unlock the wallet and return a wallet handle token that can be used for subsequent operations.APIV1POSTKeyListResponse
listKeysInWallet(ListKeysRequest listKeysRequest)
List keys in wallet Lists all of the public keys in this wallet.com.squareup.okhttp.Call
listKeysInWalletAsync(ListKeysRequest listKeysRequest, ApiCallback<APIV1POSTKeyListResponse> callback)
List keys in wallet (asynchronously) Lists all of the public keys in this wallet.com.squareup.okhttp.Call
listKeysInWalletCall(ListKeysRequest listKeysRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listKeysInWalletApiResponse<APIV1POSTKeyListResponse>
listKeysInWalletWithHttpInfo(ListKeysRequest listKeysRequest)
List keys in wallet Lists all of the public keys in this wallet.APIV1POSTMultisigListResponse
listMultisig(ListMultisigRequest listMultisigRequest)
List multisig accounts Lists all of the multisig accounts whose preimages this wallet storescom.squareup.okhttp.Call
listMultisigAsync(ListMultisigRequest listMultisigRequest, ApiCallback<APIV1POSTMultisigListResponse> callback)
List multisig accounts (asynchronously) Lists all of the multisig accounts whose preimages this wallet storescom.squareup.okhttp.Call
listMultisigCall(ListMultisigRequest listMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listMultisigApiResponse<APIV1POSTMultisigListResponse>
listMultisigWithHttpInfo(ListMultisigRequest listMultisigRequest)
List multisig accounts Lists all of the multisig accounts whose preimages this wallet storesAPIV1GETWalletsResponse
listWallets()
List wallets Lists all of the wallets that kmd is aware of.com.squareup.okhttp.Call
listWalletsAsync(ApiCallback<APIV1GETWalletsResponse> callback)
List wallets (asynchronously) Lists all of the wallets that kmd is aware of.com.squareup.okhttp.Call
listWalletsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listWalletsApiResponse<APIV1GETWalletsResponse>
listWalletsWithHttpInfo()
List wallets Lists all of the wallets that kmd is aware of.APIV1POSTWalletReleaseResponse
releaseWalletHandleToken(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest)
Release a wallet handle token Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.com.squareup.okhttp.Call
releaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletReleaseResponse> callback)
Release a wallet handle token (asynchronously) Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.com.squareup.okhttp.Call
releaseWalletHandleTokenCall(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for releaseWalletHandleTokenApiResponse<APIV1POSTWalletReleaseResponse>
releaseWalletHandleTokenWithHttpInfo(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest)
Release a wallet handle token Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.APIV1POSTWalletRenameResponse
renameWallet(RenameWalletRequest renameWalletRequest)
Rename a wallet Rename the underlying wallet to something elsecom.squareup.okhttp.Call
renameWalletAsync(RenameWalletRequest renameWalletRequest, ApiCallback<APIV1POSTWalletRenameResponse> callback)
Rename a wallet (asynchronously) Rename the underlying wallet to something elsecom.squareup.okhttp.Call
renameWalletCall(RenameWalletRequest renameWalletRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for renameWalletApiResponse<APIV1POSTWalletRenameResponse>
renameWalletWithHttpInfo(RenameWalletRequest renameWalletRequest)
Rename a wallet Rename the underlying wallet to something elseAPIV1POSTWalletRenewResponse
renewWalletHandleToken(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest)
Renew a wallet handle token Renew a wallet handle token, increasing its expiration duration to its initial valuecom.squareup.okhttp.Call
renewWalletHandleTokenAsync(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletRenewResponse> callback)
Renew a wallet handle token (asynchronously) Renew a wallet handle token, increasing its expiration duration to its initial valuecom.squareup.okhttp.Call
renewWalletHandleTokenCall(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for renewWalletHandleTokenApiResponse<APIV1POSTWalletRenewResponse>
renewWalletHandleTokenWithHttpInfo(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest)
Renew a wallet handle token Renew a wallet handle token, increasing its expiration duration to its initial valuevoid
setApiClient(ApiClient apiClient)
APIV1POSTMultisigTransactionSignResponse
signMultisigTransaction(SignMultisigRequest signMultisigTransactionRequest)
Sign a multisig transaction Start a multisig signature, or add a signature to a partially completed multisig signature object.com.squareup.okhttp.Call
signMultisigTransactionAsync(SignMultisigRequest signMultisigTransactionRequest, ApiCallback<APIV1POSTMultisigTransactionSignResponse> callback)
Sign a multisig transaction (asynchronously) Start a multisig signature, or add a signature to a partially completed multisig signature object.com.squareup.okhttp.Call
signMultisigTransactionCall(SignMultisigRequest signMultisigTransactionRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for signMultisigTransactionApiResponse<APIV1POSTMultisigTransactionSignResponse>
signMultisigTransactionWithHttpInfo(SignMultisigRequest signMultisigTransactionRequest)
Sign a multisig transaction Start a multisig signature, or add a signature to a partially completed multisig signature object.APIV1POSTTransactionSignResponse
signTransaction(SignTransactionRequest signTransactionRequest)
Sign a transaction Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.com.squareup.okhttp.Call
signTransactionAsync(SignTransactionRequest signTransactionRequest, ApiCallback<APIV1POSTTransactionSignResponse> callback)
Sign a transaction (asynchronously) Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.com.squareup.okhttp.Call
signTransactionCall(SignTransactionRequest signTransactionRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for signTransactionApiResponse<APIV1POSTTransactionSignResponse>
signTransactionWithHttpInfo(SignTransactionRequest signTransactionRequest)
Sign a transaction Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.String
swaggerHandler()
Gets the current swagger spec.com.squareup.okhttp.Call
swaggerHandlerAsync(ApiCallback<String> callback)
Gets the current swagger spec.com.squareup.okhttp.Call
swaggerHandlerCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for swaggerHandlerApiResponse<String>
swaggerHandlerWithHttpInfo()
Gets the current swagger spec.
-
-
-
Constructor Detail
-
DefaultApi
public DefaultApi()
-
DefaultApi
public DefaultApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createWalletCall
public com.squareup.okhttp.Call createWalletCall(CreateWalletRequest createWalletRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for createWallet- Parameters:
createWalletRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
createWallet
public APIV1POSTWalletResponse createWallet(CreateWalletRequest createWalletRequest) throws ApiException
Create a wallet Create a new wallet (collection of keys) with the given parameters.- Parameters:
createWalletRequest
- (required)- Returns:
- APIV1POSTWalletResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createWalletWithHttpInfo
public ApiResponse<APIV1POSTWalletResponse> createWalletWithHttpInfo(CreateWalletRequest createWalletRequest) throws ApiException
Create a wallet Create a new wallet (collection of keys) with the given parameters.- Parameters:
createWalletRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createWalletAsync
public com.squareup.okhttp.Call createWalletAsync(CreateWalletRequest createWalletRequest, ApiCallback<APIV1POSTWalletResponse> callback) throws ApiException
Create a wallet (asynchronously) Create a new wallet (collection of keys) with the given parameters.- Parameters:
createWalletRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
deleteKeyCall
public com.squareup.okhttp.Call deleteKeyCall(DeleteKeyRequest deleteKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for deleteKey- Parameters:
deleteKeyRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteKey
public APIV1DELETEKeyResponse deleteKey(DeleteKeyRequest deleteKeyRequest) throws ApiException
Delete a key Deletes the key with the passed public key from the wallet.- Parameters:
deleteKeyRequest
- (required)- Returns:
- APIV1DELETEKeyResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteKeyWithHttpInfo
public ApiResponse<APIV1DELETEKeyResponse> deleteKeyWithHttpInfo(DeleteKeyRequest deleteKeyRequest) throws ApiException
Delete a key Deletes the key with the passed public key from the wallet.- Parameters:
deleteKeyRequest
- (required)- Returns:
- ApiResponse<APIV1DELETEKeyResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteKeyAsync
public com.squareup.okhttp.Call deleteKeyAsync(DeleteKeyRequest deleteKeyRequest, ApiCallback<APIV1DELETEKeyResponse> callback) throws ApiException
Delete a key (asynchronously) Deletes the key with the passed public key from the wallet.- Parameters:
deleteKeyRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
deleteMultisigCall
public com.squareup.okhttp.Call deleteMultisigCall(DeleteMultisigRequest deleteMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for deleteMultisig- Parameters:
deleteMultisigRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteMultisig
public APIV1DELETEMultisigResponse deleteMultisig(DeleteMultisigRequest deleteMultisigRequest) throws ApiException
Delete a multisig Deletes multisig preimage information for the passed address from the wallet.- Parameters:
deleteMultisigRequest
- (required)- Returns:
- APIV1DELETEMultisigResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteMultisigWithHttpInfo
public ApiResponse<APIV1DELETEMultisigResponse> deleteMultisigWithHttpInfo(DeleteMultisigRequest deleteMultisigRequest) throws ApiException
Delete a multisig Deletes multisig preimage information for the passed address from the wallet.- Parameters:
deleteMultisigRequest
- (required)- Returns:
- ApiResponse<APIV1DELETEMultisigResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteMultisigAsync
public com.squareup.okhttp.Call deleteMultisigAsync(DeleteMultisigRequest deleteMultisigRequest, ApiCallback<APIV1DELETEMultisigResponse> callback) throws ApiException
Delete a multisig (asynchronously) Deletes multisig preimage information for the passed address from the wallet.- Parameters:
deleteMultisigRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
exportKeyCall
public com.squareup.okhttp.Call exportKeyCall(ExportKeyRequest exportKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for exportKey- Parameters:
exportKeyRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
exportKey
public APIV1POSTKeyExportResponse exportKey(ExportKeyRequest exportKeyRequest) throws ApiException
Export a key Export the secret key associated with the passed public key.- Parameters:
exportKeyRequest
- (required)- Returns:
- APIV1POSTKeyExportResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportKeyWithHttpInfo
public ApiResponse<APIV1POSTKeyExportResponse> exportKeyWithHttpInfo(ExportKeyRequest exportKeyRequest) throws ApiException
Export a key Export the secret key associated with the passed public key.- Parameters:
exportKeyRequest
- (required)- Returns:
- ApiResponse<APIV1POSTKeyExportResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportKeyAsync
public com.squareup.okhttp.Call exportKeyAsync(ExportKeyRequest exportKeyRequest, ApiCallback<APIV1POSTKeyExportResponse> callback) throws ApiException
Export a key (asynchronously) Export the secret key associated with the passed public key.- Parameters:
exportKeyRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
exportMasterKeyCall
public com.squareup.okhttp.Call exportMasterKeyCall(ExportMasterKeyRequest exportMasterKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for exportMasterKey- Parameters:
exportMasterKeyRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
exportMasterKey
public APIV1POSTMasterKeyExportResponse exportMasterKey(ExportMasterKeyRequest exportMasterKeyRequest) throws ApiException
Export the master derivation key from a wallet Export the master derivation key from the wallet. This key is a master \"backup\" key for the underlying wallet. With it, you can regenerate all of the wallets that have been generated with this wallet's `POST /v1/key` endpoint. This key will not allow you to recover keys imported from other wallets, however.- Parameters:
exportMasterKeyRequest
- (required)- Returns:
- APIV1POSTMasterKeyExportResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMasterKeyWithHttpInfo
public ApiResponse<APIV1POSTMasterKeyExportResponse> exportMasterKeyWithHttpInfo(ExportMasterKeyRequest exportMasterKeyRequest) throws ApiException
Export the master derivation key from a wallet Export the master derivation key from the wallet. This key is a master \"backup\" key for the underlying wallet. With it, you can regenerate all of the wallets that have been generated with this wallet's `POST /v1/key` endpoint. This key will not allow you to recover keys imported from other wallets, however.- Parameters:
exportMasterKeyRequest
- (required)- Returns:
- ApiResponse<APIV1POSTMasterKeyExportResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMasterKeyAsync
public com.squareup.okhttp.Call exportMasterKeyAsync(ExportMasterKeyRequest exportMasterKeyRequest, ApiCallback<APIV1POSTMasterKeyExportResponse> callback) throws ApiException
Export the master derivation key from a wallet (asynchronously) Export the master derivation key from the wallet. This key is a master \"backup\" key for the underlying wallet. With it, you can regenerate all of the wallets that have been generated with this wallet's `POST /v1/key` endpoint. This key will not allow you to recover keys imported from other wallets, however.- Parameters:
exportMasterKeyRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
exportMultisigCall
public com.squareup.okhttp.Call exportMultisigCall(ExportMultisigRequest exportMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for exportMultisig- Parameters:
exportMultisigRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
exportMultisig
public APIV1POSTMultisigExportResponse exportMultisig(ExportMultisigRequest exportMultisigRequest) throws ApiException
Export multisig address metadata Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.- Parameters:
exportMultisigRequest
- (required)- Returns:
- APIV1POSTMultisigExportResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMultisigWithHttpInfo
public ApiResponse<APIV1POSTMultisigExportResponse> exportMultisigWithHttpInfo(ExportMultisigRequest exportMultisigRequest) throws ApiException
Export multisig address metadata Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.- Parameters:
exportMultisigRequest
- (required)- Returns:
- ApiResponse<APIV1POSTMultisigExportResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMultisigAsync
public com.squareup.okhttp.Call exportMultisigAsync(ExportMultisigRequest exportMultisigRequest, ApiCallback<APIV1POSTMultisigExportResponse> callback) throws ApiException
Export multisig address metadata (asynchronously) Given a multisig address whose preimage this wallet stores, returns the information used to generate the address, including public keys, threshold, and multisig version.- Parameters:
exportMultisigRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
generateKeyCall
public com.squareup.okhttp.Call generateKeyCall(GenerateKeyRequest generateKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for generateKey- Parameters:
generateKeyRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
generateKey
public APIV1POSTKeyResponse generateKey(GenerateKeyRequest generateKeyRequest) throws ApiException
Generate a key Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.- Parameters:
generateKeyRequest
- (required)- Returns:
- APIV1POSTKeyResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
generateKeyWithHttpInfo
public ApiResponse<APIV1POSTKeyResponse> generateKeyWithHttpInfo(GenerateKeyRequest generateKeyRequest) throws ApiException
Generate a key Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.- Parameters:
generateKeyRequest
- (required)- Returns:
- ApiResponse<APIV1POSTKeyResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
generateKeyAsync
public com.squareup.okhttp.Call generateKeyAsync(GenerateKeyRequest generateKeyRequest, ApiCallback<APIV1POSTKeyResponse> callback) throws ApiException
Generate a key (asynchronously) Generates the next key in the deterministic key sequence (as determined by the master derivation key) and adds it to the wallet, returning the public key.- Parameters:
generateKeyRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getVersionCall
public com.squareup.okhttp.Call getVersionCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getVersion- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getVersion
public VersionsResponse getVersion() throws ApiException
Retrieves the current version- Returns:
- VersionsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionWithHttpInfo
public ApiResponse<VersionsResponse> getVersionWithHttpInfo() throws ApiException
Retrieves the current version- Returns:
- ApiResponse<VersionsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getVersionAsync
public com.squareup.okhttp.Call getVersionAsync(ApiCallback<VersionsResponse> callback) throws ApiException
(asynchronously) Retrieves the current version- Parameters:
callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
getWalletInfoCall
public com.squareup.okhttp.Call getWalletInfoCall(WalletInfoRequest getWalletInfoRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getWalletInfo- Parameters:
getWalletInfoRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getWalletInfo
public APIV1POSTWalletInfoResponse getWalletInfo(WalletInfoRequest getWalletInfoRequest) throws ApiException
Get wallet info Returns information about the wallet associated with the passed wallet handle token. Additionally returns expiration information about the token itself.- Parameters:
getWalletInfoRequest
- (required)- Returns:
- APIV1POSTWalletInfoResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWalletInfoWithHttpInfo
public ApiResponse<APIV1POSTWalletInfoResponse> getWalletInfoWithHttpInfo(WalletInfoRequest getWalletInfoRequest) throws ApiException
Get wallet info Returns information about the wallet associated with the passed wallet handle token. Additionally returns expiration information about the token itself.- Parameters:
getWalletInfoRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletInfoResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWalletInfoAsync
public com.squareup.okhttp.Call getWalletInfoAsync(WalletInfoRequest getWalletInfoRequest, ApiCallback<APIV1POSTWalletInfoResponse> callback) throws ApiException
Get wallet info (asynchronously) Returns information about the wallet associated with the passed wallet handle token. Additionally returns expiration information about the token itself.- Parameters:
getWalletInfoRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
importKeyCall
public com.squareup.okhttp.Call importKeyCall(ImportKeyRequest importKeyRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for importKey- Parameters:
importKeyRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
importKey
public APIV1POSTKeyImportResponse importKey(ImportKeyRequest importKeyRequest) throws ApiException
Import a key Import an externally generated key into the wallet. Note that if you wish to back up the imported key, you must do so by backing up the entire wallet database, because imported keys were not derived from the wallet's master derivation key.- Parameters:
importKeyRequest
- (required)- Returns:
- APIV1POSTKeyImportResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importKeyWithHttpInfo
public ApiResponse<APIV1POSTKeyImportResponse> importKeyWithHttpInfo(ImportKeyRequest importKeyRequest) throws ApiException
Import a key Import an externally generated key into the wallet. Note that if you wish to back up the imported key, you must do so by backing up the entire wallet database, because imported keys were not derived from the wallet's master derivation key.- Parameters:
importKeyRequest
- (required)- Returns:
- ApiResponse<APIV1POSTKeyImportResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importKeyAsync
public com.squareup.okhttp.Call importKeyAsync(ImportKeyRequest importKeyRequest, ApiCallback<APIV1POSTKeyImportResponse> callback) throws ApiException
Import a key (asynchronously) Import an externally generated key into the wallet. Note that if you wish to back up the imported key, you must do so by backing up the entire wallet database, because imported keys were not derived from the wallet's master derivation key.- Parameters:
importKeyRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
importMultisigCall
public com.squareup.okhttp.Call importMultisigCall(ImportMultisigRequest importMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for importMultisig- Parameters:
importMultisigRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
importMultisig
public APIV1POSTMultisigImportResponse importMultisig(ImportMultisigRequest importMultisigRequest) throws ApiException
Import a multisig account Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.- Parameters:
importMultisigRequest
- (required)- Returns:
- APIV1POSTMultisigImportResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importMultisigWithHttpInfo
public ApiResponse<APIV1POSTMultisigImportResponse> importMultisigWithHttpInfo(ImportMultisigRequest importMultisigRequest) throws ApiException
Import a multisig account Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.- Parameters:
importMultisigRequest
- (required)- Returns:
- ApiResponse<APIV1POSTMultisigImportResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importMultisigAsync
public com.squareup.okhttp.Call importMultisigAsync(ImportMultisigRequest importMultisigRequest, ApiCallback<APIV1POSTMultisigImportResponse> callback) throws ApiException
Import a multisig account (asynchronously) Generates a multisig account from the passed public keys array and multisig metadata, and stores all of this in the wallet.- Parameters:
importMultisigRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
initWalletHandleTokenCall
public com.squareup.okhttp.Call initWalletHandleTokenCall(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for initWalletHandleToken- Parameters:
initializeWalletHandleTokenRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
initWalletHandleToken
public APIV1POSTWalletInitResponse initWalletHandleToken(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest) throws ApiException
Initialize a wallet handle token Unlock the wallet and return a wallet handle token that can be used for subsequent operations. These tokens expire periodically and must be renewed. You can `POST` the token to `/v1/wallet/info` to see how much time remains until expiration, and renew it with `/v1/wallet/renew`. When you're done, you can invalidate the token with `/v1/wallet/release`.- Parameters:
initializeWalletHandleTokenRequest
- (required)- Returns:
- APIV1POSTWalletInitResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
initWalletHandleTokenWithHttpInfo
public ApiResponse<APIV1POSTWalletInitResponse> initWalletHandleTokenWithHttpInfo(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest) throws ApiException
Initialize a wallet handle token Unlock the wallet and return a wallet handle token that can be used for subsequent operations. These tokens expire periodically and must be renewed. You can `POST` the token to `/v1/wallet/info` to see how much time remains until expiration, and renew it with `/v1/wallet/renew`. When you're done, you can invalidate the token with `/v1/wallet/release`.- Parameters:
initializeWalletHandleTokenRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletInitResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
initWalletHandleTokenAsync
public com.squareup.okhttp.Call initWalletHandleTokenAsync(InitWalletHandleTokenRequest initializeWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletInitResponse> callback) throws ApiException
Initialize a wallet handle token (asynchronously) Unlock the wallet and return a wallet handle token that can be used for subsequent operations. These tokens expire periodically and must be renewed. You can `POST` the token to `/v1/wallet/info` to see how much time remains until expiration, and renew it with `/v1/wallet/renew`. When you're done, you can invalidate the token with `/v1/wallet/release`.- Parameters:
initializeWalletHandleTokenRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
listKeysInWalletCall
public com.squareup.okhttp.Call listKeysInWalletCall(ListKeysRequest listKeysRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for listKeysInWallet- Parameters:
listKeysRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
listKeysInWallet
public APIV1POSTKeyListResponse listKeysInWallet(ListKeysRequest listKeysRequest) throws ApiException
List keys in wallet Lists all of the public keys in this wallet. All of them have a stored private key.- Parameters:
listKeysRequest
- (required)- Returns:
- APIV1POSTKeyListResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listKeysInWalletWithHttpInfo
public ApiResponse<APIV1POSTKeyListResponse> listKeysInWalletWithHttpInfo(ListKeysRequest listKeysRequest) throws ApiException
List keys in wallet Lists all of the public keys in this wallet. All of them have a stored private key.- Parameters:
listKeysRequest
- (required)- Returns:
- ApiResponse<APIV1POSTKeyListResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listKeysInWalletAsync
public com.squareup.okhttp.Call listKeysInWalletAsync(ListKeysRequest listKeysRequest, ApiCallback<APIV1POSTKeyListResponse> callback) throws ApiException
List keys in wallet (asynchronously) Lists all of the public keys in this wallet. All of them have a stored private key.- Parameters:
listKeysRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
listMultisigCall
public com.squareup.okhttp.Call listMultisigCall(ListMultisigRequest listMultisigRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for listMultisig- Parameters:
listMultisigRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
listMultisig
public APIV1POSTMultisigListResponse listMultisig(ListMultisigRequest listMultisigRequest) throws ApiException
List multisig accounts Lists all of the multisig accounts whose preimages this wallet stores- Parameters:
listMultisigRequest
- (required)- Returns:
- APIV1POSTMultisigListResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listMultisigWithHttpInfo
public ApiResponse<APIV1POSTMultisigListResponse> listMultisigWithHttpInfo(ListMultisigRequest listMultisigRequest) throws ApiException
List multisig accounts Lists all of the multisig accounts whose preimages this wallet stores- Parameters:
listMultisigRequest
- (required)- Returns:
- ApiResponse<APIV1POSTMultisigListResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listMultisigAsync
public com.squareup.okhttp.Call listMultisigAsync(ListMultisigRequest listMultisigRequest, ApiCallback<APIV1POSTMultisigListResponse> callback) throws ApiException
List multisig accounts (asynchronously) Lists all of the multisig accounts whose preimages this wallet stores- Parameters:
listMultisigRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
listWalletsCall
public com.squareup.okhttp.Call listWalletsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for listWallets- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
listWallets
public APIV1GETWalletsResponse listWallets() throws ApiException
List wallets Lists all of the wallets that kmd is aware of.- Returns:
- APIV1GETWalletsResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listWalletsWithHttpInfo
public ApiResponse<APIV1GETWalletsResponse> listWalletsWithHttpInfo() throws ApiException
List wallets Lists all of the wallets that kmd is aware of.- Returns:
- ApiResponse<APIV1GETWalletsResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
listWalletsAsync
public com.squareup.okhttp.Call listWalletsAsync(ApiCallback<APIV1GETWalletsResponse> callback) throws ApiException
List wallets (asynchronously) Lists all of the wallets that kmd is aware of.- Parameters:
callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
releaseWalletHandleTokenCall
public com.squareup.okhttp.Call releaseWalletHandleTokenCall(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for releaseWalletHandleToken- Parameters:
releaseWalletHandleTokenRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
releaseWalletHandleToken
public APIV1POSTWalletReleaseResponse releaseWalletHandleToken(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest) throws ApiException
Release a wallet handle token Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.- Parameters:
releaseWalletHandleTokenRequest
- (required)- Returns:
- APIV1POSTWalletReleaseResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
releaseWalletHandleTokenWithHttpInfo
public ApiResponse<APIV1POSTWalletReleaseResponse> releaseWalletHandleTokenWithHttpInfo(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest) throws ApiException
Release a wallet handle token Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.- Parameters:
releaseWalletHandleTokenRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletReleaseResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
releaseWalletHandleTokenAsync
public com.squareup.okhttp.Call releaseWalletHandleTokenAsync(ReleaseWalletHandleTokenRequest releaseWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletReleaseResponse> callback) throws ApiException
Release a wallet handle token (asynchronously) Invalidate the passed wallet handle token, making it invalid for use in subsequent requests.- Parameters:
releaseWalletHandleTokenRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
renameWalletCall
public com.squareup.okhttp.Call renameWalletCall(RenameWalletRequest renameWalletRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for renameWallet- Parameters:
renameWalletRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
renameWallet
public APIV1POSTWalletRenameResponse renameWallet(RenameWalletRequest renameWalletRequest) throws ApiException
Rename a wallet Rename the underlying wallet to something else- Parameters:
renameWalletRequest
- (required)- Returns:
- APIV1POSTWalletRenameResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renameWalletWithHttpInfo
public ApiResponse<APIV1POSTWalletRenameResponse> renameWalletWithHttpInfo(RenameWalletRequest renameWalletRequest) throws ApiException
Rename a wallet Rename the underlying wallet to something else- Parameters:
renameWalletRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletRenameResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renameWalletAsync
public com.squareup.okhttp.Call renameWalletAsync(RenameWalletRequest renameWalletRequest, ApiCallback<APIV1POSTWalletRenameResponse> callback) throws ApiException
Rename a wallet (asynchronously) Rename the underlying wallet to something else- Parameters:
renameWalletRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
renewWalletHandleTokenCall
public com.squareup.okhttp.Call renewWalletHandleTokenCall(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for renewWalletHandleToken- Parameters:
renewWalletHandleTokenRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
renewWalletHandleToken
public APIV1POSTWalletRenewResponse renewWalletHandleToken(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest) throws ApiException
Renew a wallet handle token Renew a wallet handle token, increasing its expiration duration to its initial value- Parameters:
renewWalletHandleTokenRequest
- (required)- Returns:
- APIV1POSTWalletRenewResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renewWalletHandleTokenWithHttpInfo
public ApiResponse<APIV1POSTWalletRenewResponse> renewWalletHandleTokenWithHttpInfo(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest) throws ApiException
Renew a wallet handle token Renew a wallet handle token, increasing its expiration duration to its initial value- Parameters:
renewWalletHandleTokenRequest
- (required)- Returns:
- ApiResponse<APIV1POSTWalletRenewResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
renewWalletHandleTokenAsync
public com.squareup.okhttp.Call renewWalletHandleTokenAsync(RenewWalletHandleTokenRequest renewWalletHandleTokenRequest, ApiCallback<APIV1POSTWalletRenewResponse> callback) throws ApiException
Renew a wallet handle token (asynchronously) Renew a wallet handle token, increasing its expiration duration to its initial value- Parameters:
renewWalletHandleTokenRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
signMultisigTransactionCall
public com.squareup.okhttp.Call signMultisigTransactionCall(SignMultisigRequest signMultisigTransactionRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for signMultisigTransaction- Parameters:
signMultisigTransactionRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
signMultisigTransaction
public APIV1POSTMultisigTransactionSignResponse signMultisigTransaction(SignMultisigRequest signMultisigTransactionRequest) throws ApiException
Sign a multisig transaction Start a multisig signature, or add a signature to a partially completed multisig signature object.- Parameters:
signMultisigTransactionRequest
- (required)- Returns:
- APIV1POSTMultisigTransactionSignResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
signMultisigTransactionWithHttpInfo
public ApiResponse<APIV1POSTMultisigTransactionSignResponse> signMultisigTransactionWithHttpInfo(SignMultisigRequest signMultisigTransactionRequest) throws ApiException
Sign a multisig transaction Start a multisig signature, or add a signature to a partially completed multisig signature object.- Parameters:
signMultisigTransactionRequest
- (required)- Returns:
- ApiResponse<APIV1POSTMultisigTransactionSignResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
signMultisigTransactionAsync
public com.squareup.okhttp.Call signMultisigTransactionAsync(SignMultisigRequest signMultisigTransactionRequest, ApiCallback<APIV1POSTMultisigTransactionSignResponse> callback) throws ApiException
Sign a multisig transaction (asynchronously) Start a multisig signature, or add a signature to a partially completed multisig signature object.- Parameters:
signMultisigTransactionRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
signTransactionCall
public com.squareup.okhttp.Call signTransactionCall(SignTransactionRequest signTransactionRequest, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for signTransaction- Parameters:
signTransactionRequest
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
signTransaction
public APIV1POSTTransactionSignResponse signTransaction(SignTransactionRequest signTransactionRequest) throws ApiException
Sign a transaction Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.- Parameters:
signTransactionRequest
- (required)- Returns:
- APIV1POSTTransactionSignResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
signTransactionWithHttpInfo
public ApiResponse<APIV1POSTTransactionSignResponse> signTransactionWithHttpInfo(SignTransactionRequest signTransactionRequest) throws ApiException
Sign a transaction Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.- Parameters:
signTransactionRequest
- (required)- Returns:
- ApiResponse<APIV1POSTTransactionSignResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
signTransactionAsync
public com.squareup.okhttp.Call signTransactionAsync(SignTransactionRequest signTransactionRequest, ApiCallback<APIV1POSTTransactionSignResponse> callback) throws ApiException
Sign a transaction (asynchronously) Signs the passed transaction with a key from the wallet, determined by the sender encoded in the transaction.- Parameters:
signTransactionRequest
- (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
swaggerHandlerCall
public com.squareup.okhttp.Call swaggerHandlerCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for swaggerHandler- Parameters:
progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
swaggerHandler
public String swaggerHandler() throws ApiException
Gets the current swagger spec. Returns the entire swagger spec in json.- Returns:
- String
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
swaggerHandlerWithHttpInfo
public ApiResponse<String> swaggerHandlerWithHttpInfo() throws ApiException
Gets the current swagger spec. Returns the entire swagger spec in json.- Returns:
- ApiResponse<String>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
swaggerHandlerAsync
public com.squareup.okhttp.Call swaggerHandlerAsync(ApiCallback<String> callback) throws ApiException
Gets the current swagger spec. (asynchronously) Returns the entire swagger spec in json.- Parameters:
callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
-