// 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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | String accountName ="accountName_example"; // String | BroadcastInput broadcastInput =newBroadcastInput(); // BroadcastInput | try {BroadCastRawTransactionAPIResponse result =apiInstance.broadcastTx(authorization, accountName, broadcastInput);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#broadcastTx");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | CreateAccountInput createAccountInput =newCreateAccountInput(); // CreateAccountInput | try {AccountAPIResponse result =apiInstance.createAccount(authorization, createAccountInput);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#createAccount");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | String accountName ="accountName_example"; // String | try {AccountAPIResponse result =apiInstance.deleteAccount(authorization, accountName);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#deleteAccount");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | String accountName ="accountName_example"; // String | DeployInput deployInput =newDeployInput(); // DeployInput | try {TransactionAPIResponse result =apiInstance.deployContract(authorization, accountName, deployInput);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#deployContract");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | String accountName ="accountName_example"; // String | try {AccountAPIResponse result =apiInstance.getAccount(authorization, accountName);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#getAccount");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | String chainId ="chainId_example"; // String | try {BalanceAPIResponse result =apiInstance.getBalance(accountName, authorization, chainId);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#getBalance");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | try {NonceAPIResponse result =apiInstance.getNonce(accountName, authorization);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#getNonce");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String authorization ="authorization_example"; // String | try {AccountAPIResponse result =apiInstance.listAccounts(authorization);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#listAccounts");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | SignMessage signMessage =newSignMessage(); // SignMessage | try {SignMessageAPIResponse result =apiInstance.signMessage(accountName, authorization, signMessage);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#signMessage");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | InputBody inputBody =newInputBody(); // InputBody | try {TransactionAPIResponse result =apiInstance.signTransaction(accountName, authorization, inputBody);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#signTransaction");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | SignTypedData signTypedData =newSignTypedData(); // SignTypedData | try {SignMessageAPIResponse result =apiInstance.signTypedData(accountName, authorization, signTypedData);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#signTypedData");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.AccountsApi;publicclassExample {publicstaticvoidmain(String[] args) {ApiClient defaultClient =Configuration.getDefaultApiClient();defaultClient.setBasePath("https://moon-vault-api-git-ew-supabase-migration-moonup.vercel.app");// Configure API key authorization: ApiKeyAuthApiKeyAuth ApiKeyAuth = (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: BearerAuthApiKeyAuth BearerAuth = (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");AccountsApi apiInstance =newAccountsApi(defaultClient);String accountName ="accountName_example"; // String | String authorization ="authorization_example"; // String | InputBody inputBody =newInputBody(); // InputBody | try {TransactionAPIResponse result =apiInstance.transferEth(accountName, authorization, inputBody);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling AccountsApi#transferEth");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}