// 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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.balanceOf(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#balanceOf");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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.balanceOfBatch(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#balanceOfBatch");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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.isApprovedForAll(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#isApprovedForAll");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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.safeBatchTransferFrom(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#safeBatchTransferFrom");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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.safeTransferFrom(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#safeTransferFrom");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.Erc1155Api;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");Erc1155Api apiInstance =newErc1155Api(defaultClient);String name ="name_example"; // String | String authorization ="authorization_example"; // String | Erc1155Request erc1155Request =newErc1155Request(); // Erc1155Request | try {TransactionAPIResponse result =apiInstance.setApprovalForAll(name, authorization, erc1155Request);System.out.println(result); } catch (ApiException e) {System.err.println("Exception when calling Erc1155Api#setApprovalForAll");System.err.println("Status code: "+e.getCode());System.err.println("Reason: "+e.getResponseBody());System.err.println("Response headers: "+e.getResponseHeaders());e.printStackTrace(); } }}