You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;
importorg.usemoonai.moonsdk.client.ApiException;
importorg.usemoonai.moonsdk.client.Configuration;
importorg.usemoonai.moonsdk.client.auth.*;
importorg.usemoonai.moonsdk.client.models.*;
importorg.usemoonai.moonsdk.api.BitcoincashApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuthBearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");
BearerAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");BitcoincashApiapiInstance = newBitcoincashApi(defaultClient);
Stringauthorization = "authorization_example"; // String | BitcoinCashInputbitcoinCashInput = newBitcoinCashInput(); // BitcoinCashInput | try {
AccountAPIResponseresult = apiInstance.createBitcoinCashAccount(authorization, bitcoinCashInput);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling BitcoincashApi#createBitcoinCashAccount");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;
importorg.usemoonai.moonsdk.client.ApiException;
importorg.usemoonai.moonsdk.client.Configuration;
importorg.usemoonai.moonsdk.client.auth.*;
importorg.usemoonai.moonsdk.client.models.*;
importorg.usemoonai.moonsdk.api.BitcoincashApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuthBearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");
BearerAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");BitcoincashApiapiInstance = newBitcoincashApi(defaultClient);
Stringauthorization = "authorization_example"; // String | StringaccountName = "accountName_example"; // String | try {
AccountAPIResponseresult = apiInstance.getBitcoinCashAccount(authorization, accountName);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling BitcoincashApi#getBitcoinCashAccount");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;
importorg.usemoonai.moonsdk.client.ApiException;
importorg.usemoonai.moonsdk.client.Configuration;
importorg.usemoonai.moonsdk.client.auth.*;
importorg.usemoonai.moonsdk.client.models.*;
importorg.usemoonai.moonsdk.api.BitcoincashApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuthBearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");
BearerAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");BitcoincashApiapiInstance = newBitcoincashApi(defaultClient);
Stringauthorization = "authorization_example"; // String | try {
AccountAPIResponseresult = apiInstance.listBitcoinCashAccounts(authorization);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling BitcoincashApi#listBitcoinCashAccounts");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
// Import classes:importorg.usemoonai.moonsdk.client.ApiClient;
importorg.usemoonai.moonsdk.client.ApiException;
importorg.usemoonai.moonsdk.client.Configuration;
importorg.usemoonai.moonsdk.client.auth.*;
importorg.usemoonai.moonsdk.client.models.*;
importorg.usemoonai.moonsdk.api.BitcoincashApi;
publicclassExample {
publicstaticvoidmain(String[] args) {
ApiClientdefaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");
// Configure API key authorization: ApiKeyAuthApiKeyAuthApiKeyAuth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
ApiKeyAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//ApiKeyAuth.setApiKeyPrefix("Token");// Configure API key authorization: BearerAuthApiKeyAuthBearerAuth = (ApiKeyAuth) defaultClient.getAuthentication("BearerAuth");
BearerAuth.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)//BearerAuth.setApiKeyPrefix("Token");BitcoincashApiapiInstance = newBitcoincashApi(defaultClient);
Stringauthorization = "authorization_example"; // String | StringaccountName = "accountName_example"; // String | BitcoinCashTransactionInputbitcoinCashTransactionInput = newBitcoinCashTransactionInput(); // BitcoinCashTransactionInput | try {
BitcoinCashAPIResponseresult = apiInstance.signBitcoinCashTransaction(authorization, accountName, bitcoinCashTransactionInput);
System.out.println(result);
} catch (ApiExceptione) {
System.err.println("Exception when calling BitcoincashApi#signBitcoinCashTransaction");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}