mudbase 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +21 -0
- data/Rakefile +10 -0
- data/docs/AddCustomRoleRequest.md +28 -0
- data/docs/AddCustomRoleRequestDefaultPermissionsInner.md +20 -0
- data/docs/AddParticipant200Response.md +20 -0
- data/docs/AddParticipant200ResponseData.md +18 -0
- data/docs/AddParticipant200ResponseDataParticipantsInner.md +22 -0
- data/docs/AddParticipantRequest.md +20 -0
- data/docs/AddReaction200Response.md +20 -0
- data/docs/AddReaction200ResponseDataInner.md +20 -0
- data/docs/AddReactionRequest.md +18 -0
- data/docs/ApiKey.md +36 -0
- data/docs/ApiKeyPermission.md +20 -0
- data/docs/ApiKeyUsage.md +20 -0
- data/docs/ApiKeyUsageResponse.md +24 -0
- data/docs/ApiKeyWithSecret.md +38 -0
- data/docs/AuthConfig.md +20 -0
- data/docs/AuthProvider.md +22 -0
- data/docs/AuthResponse.md +22 -0
- data/docs/AuthenticationApi.md +1066 -0
- data/docs/Billing.md +22 -0
- data/docs/BillingApi.md +677 -0
- data/docs/BillingLastPayment.md +22 -0
- data/docs/BroadcastNonCustodialTransaction200Response.md +22 -0
- data/docs/BroadcastNonCustodialTransaction200ResponseData.md +24 -0
- data/docs/BroadcastNonCustodialTransactionRequest.md +22 -0
- data/docs/Bucket.md +28 -0
- data/docs/BucketListResponse.md +22 -0
- data/docs/BucketResponse.md +22 -0
- data/docs/BucketsApi.md +385 -0
- data/docs/ChangePasswordRequest.md +20 -0
- data/docs/ChatApi.md +907 -0
- data/docs/CheckFeatureAccess200Response.md +20 -0
- data/docs/CheckSubscription200Response.md +20 -0
- data/docs/CheckSubscription200ResponseSubscription.md +20 -0
- data/docs/CheckUserPresence200Response.md +20 -0
- data/docs/CheckUserPresence200ResponsePresenceValue.md +20 -0
- data/docs/CheckUserPresenceRequest.md +18 -0
- data/docs/Collection.md +34 -0
- data/docs/CollectionsApi.md +367 -0
- data/docs/ComplianceApi.md +77 -0
- data/docs/ConfirmDirectUpload400Response.md +20 -0
- data/docs/ConfirmDirectUploadRequest.md +30 -0
- data/docs/ConfirmLocalPasswordResetWithOtpRequest.md +24 -0
- data/docs/ConfirmUploadResponse.md +22 -0
- data/docs/ConfirmUploadResponseScan.md +24 -0
- data/docs/ConvertAnonymousAccount200Response.md +22 -0
- data/docs/ConvertAnonymousAccountRequest.md +24 -0
- data/docs/CreateAnonymousSession200Response.md +24 -0
- data/docs/CreateAnonymousSession200ResponseUser.md +28 -0
- data/docs/CreateAnonymousSessionRequest.md +20 -0
- data/docs/CreateApiKeyRequest.md +26 -0
- data/docs/CreateBucketRequest.md +22 -0
- data/docs/CreateChat201Response.md +20 -0
- data/docs/CreateChat201ResponseData.md +26 -0
- data/docs/CreateChatRequest.md +26 -0
- data/docs/CreateCheckoutSession200Response.md +20 -0
- data/docs/CreateCheckoutSession200ResponseData.md +38 -0
- data/docs/CreateCheckoutSession200ResponseDataPaymentOptionsInner.md +28 -0
- data/docs/CreateCheckoutSession400Response.md +18 -0
- data/docs/CreateCheckoutSessionRequest.md +26 -0
- data/docs/CreateCheckoutSessionRequestCustomerInfo.md +20 -0
- data/docs/CreateCollection201Response.md +20 -0
- data/docs/CreateCollectionRequest.md +26 -0
- data/docs/CreateFunctionRequest.md +26 -0
- data/docs/CreateProjectRequest.md +22 -0
- data/docs/CreateWalletWebhook201Response.md +22 -0
- data/docs/CreateWalletWebhookRequest.md +26 -0
- data/docs/CreateWalletWebhookRequestFilters.md +20 -0
- data/docs/DataApi.md +387 -0
- data/docs/DataListResponse.md +20 -0
- data/docs/DataListResponseDataInner.md +22 -0
- data/docs/DataResponse.md +20 -0
- data/docs/DatabaseConfig.md +18 -0
- data/docs/DeleteFunction200Response.md +20 -0
- data/docs/Disable2FARequest.md +20 -0
- data/docs/DownloadBucketFile403Response.md +18 -0
- data/docs/DownloadBucketFile404Response.md +18 -0
- data/docs/EditMessage200Response.md +20 -0
- data/docs/EditMessage200ResponseData.md +22 -0
- data/docs/EditMessageRequest.md +18 -0
- data/docs/EmailRequest.md +28 -0
- data/docs/EmailRequestTo.md +49 -0
- data/docs/EraseUserData200Response.md +20 -0
- data/docs/EraseUserData200ResponseDetails.md +26 -0
- data/docs/EraseUserDataRequest.md +20 -0
- data/docs/Error.md +28 -0
- data/docs/ErrorDetails.md +49 -0
- data/docs/EstimateNonCustodialGas200Response.md +20 -0
- data/docs/EstimateNonCustodialGas200ResponseData.md +38 -0
- data/docs/EstimateNonCustodialGasRequest.md +20 -0
- data/docs/EstimateNonCustodialGasRequestTransaction.md +28 -0
- data/docs/ExecuteFunctionRequest.md +18 -0
- data/docs/ExecuteIntegrationRequest.md +24 -0
- data/docs/ExportUserData200Response.md +32 -0
- data/docs/Field.md +30 -0
- data/docs/FieldDefault.md +51 -0
- data/docs/FileListResponse.md +20 -0
- data/docs/FileMetadata.md +40 -0
- data/docs/FileResponse.md +20 -0
- data/docs/FileUploadResponse.md +20 -0
- data/docs/FilesApi.md +702 -0
- data/docs/Function.md +36 -0
- data/docs/FunctionExecution.md +38 -0
- data/docs/FunctionExecutionResponse.md +20 -0
- data/docs/FunctionExecutionResponseData.md +24 -0
- data/docs/FunctionListResponse.md +20 -0
- data/docs/FunctionListResponseData.md +20 -0
- data/docs/FunctionLogsResponse.md +20 -0
- data/docs/FunctionLogsResponseData.md +20 -0
- data/docs/FunctionResponse.md +20 -0
- data/docs/FunctionStats.md +26 -0
- data/docs/FunctionTrigger.md +30 -0
- data/docs/FunctionsApi.md +1106 -0
- data/docs/GeneratePresignedUploadRequest.md +26 -0
- data/docs/GenerateSignedUrlRequest.md +18 -0
- data/docs/GetActiveUsers200Response.md +22 -0
- data/docs/GetActiveUsers200ResponseUsersInner.md +22 -0
- data/docs/GetAvailableOAuthProviders200Response.md +20 -0
- data/docs/GetAvailableOAuthProviders200ResponseProvidersInner.md +28 -0
- data/docs/GetAvailableRoles200Response.md +20 -0
- data/docs/GetAvailableRoles200ResponseDataInner.md +30 -0
- data/docs/GetCancelParams200Response.md +20 -0
- data/docs/GetCancelParams200ResponseData.md +36 -0
- data/docs/GetCancelParamsRequest.md +22 -0
- data/docs/GetChatDetails200Response.md +20 -0
- data/docs/GetChatDetails200ResponseData.md +22 -0
- data/docs/GetChatDetails200ResponseDataParticipantsInner.md +20 -0
- data/docs/GetChatMessages200Response.md +20 -0
- data/docs/GetChatMessages200ResponseData.md +20 -0
- data/docs/GetChatMessages200ResponseDataMessagesInner.md +24 -0
- data/docs/GetChatMessages200ResponseDataMessagesInnerSender.md +20 -0
- data/docs/GetCheckoutPayment200Response.md +20 -0
- data/docs/GetCheckoutPayment200ResponseData.md +34 -0
- data/docs/GetCurrentUser200Response.md +18 -0
- data/docs/GetEventThroughput200Response.md +26 -0
- data/docs/GetFunctionVersions200Response.md +20 -0
- data/docs/GetFunctionVersions200ResponseData.md +18 -0
- data/docs/GetFunctionVersions200ResponseDataVersionsInner.md +28 -0
- data/docs/GetHistoricalAnalytics200Response.md +24 -0
- data/docs/GetHistoricalAnalytics200ResponseDataInner.md +22 -0
- data/docs/GetIntegrations200Response.md +18 -0
- data/docs/GetIntegrations200ResponseIntegrationsInner.md +24 -0
- data/docs/GetLocalSession200Response.md +20 -0
- data/docs/GetMultiRoleConfig200Response.md +20 -0
- data/docs/GetMultiRoleConfig200ResponseData.md +24 -0
- data/docs/GetNonCustodialBalance200Response.md +20 -0
- data/docs/GetNonCustodialTransactionByHash200Response.md +20 -0
- data/docs/GetNonCustodialTransactionByHash400Response.md +20 -0
- data/docs/GetNonCustodialTransactions200Response.md +22 -0
- data/docs/GetNonCustodialTransactions200ResponsePagination.md +30 -0
- data/docs/GetProjectAnalytics200Response.md +26 -0
- data/docs/GetPublicPlans200Response.md +18 -0
- data/docs/GetRoleElevationStatus200Response.md +18 -0
- data/docs/GetSearchAnalytics200Response.md +24 -0
- data/docs/GetSearchAnalytics200ResponseTopQueriesInner.md +20 -0
- data/docs/GetSearchSuggestions200Response.md +18 -0
- data/docs/GetSpeedUpParams200Response.md +20 -0
- data/docs/GetSpeedUpParams200ResponseData.md +36 -0
- data/docs/GetSpeedUpParamsRequest.md +22 -0
- data/docs/GetUserChats200Response.md +20 -0
- data/docs/GetUserChats200ResponseData.md +20 -0
- data/docs/GetUserChats200ResponseDataChatsInner.md +26 -0
- data/docs/GetUserChats200ResponseDataChatsInnerLastMessage.md +18 -0
- data/docs/GetWalletWebhookLogs200Response.md +20 -0
- data/docs/HandleCryptoPaymentWebhook200Response.md +18 -0
- data/docs/HandleCryptoPaymentWebhookRequest.md +20 -0
- data/docs/HandleCryptoPaymentWebhookRequestData.md +30 -0
- data/docs/HandleFlutterwaveWebhookRequest.md +20 -0
- data/docs/HandleFlutterwaveWebhookRequestData.md +32 -0
- data/docs/HandleFlutterwaveWebhookRequestDataCustomer.md +20 -0
- data/docs/HealthApi.md +136 -0
- data/docs/HealthResponse.md +26 -0
- data/docs/HealthResponseServices.md +26 -0
- data/docs/InitializePaymentForProjectRequest.md +24 -0
- data/docs/InitializePaymentForProjectRequestCustomer.md +20 -0
- data/docs/InitiateOAuth200Response.md +18 -0
- data/docs/InitiateOAuth400Response.md +18 -0
- data/docs/InitiateOAuth404Response.md +18 -0
- data/docs/IntegrationsApi.md +151 -0
- data/docs/InviteMemberRequest.md +20 -0
- data/docs/Limits.md +30 -0
- data/docs/LinkOAuthProvider200Response.md +18 -0
- data/docs/ListCollections200Response.md +20 -0
- data/docs/ListNonCustodialAddresses200Response.md +22 -0
- data/docs/ListOAuthProviders200Response.md +18 -0
- data/docs/ListOAuthProviders200ResponseProvidersInner.md +24 -0
- data/docs/ListWalletWebhooks200Response.md +22 -0
- data/docs/LogSecurityEvent200Response.md +20 -0
- data/docs/LogSecurityEvent200ResponseEvent.md +24 -0
- data/docs/LogSecurityEventRequest.md +22 -0
- data/docs/LogSecurityEventRequestDetails.md +28 -0
- data/docs/LoginLocalUser200Response.md +22 -0
- data/docs/LoginLocalUser200ResponseUser.md +30 -0
- data/docs/LoginLocalUser403Response.md +22 -0
- data/docs/LoginLocalUserRequest.md +22 -0
- data/docs/LoginRequest.md +20 -0
- data/docs/MagicLinkRequest.md +22 -0
- data/docs/MarkMessagesAsRead200Response.md +20 -0
- data/docs/MarkMessagesAsRead200ResponseData.md +18 -0
- data/docs/MarkMessagesAsReadRequest.md +18 -0
- data/docs/Message.md +36 -0
- data/docs/MessageHistoryResponse.md +20 -0
- data/docs/MessageHistoryResponseData.md +20 -0
- data/docs/MessageResponse.md +18 -0
- data/docs/MessageSentResponse.md +20 -0
- data/docs/MessageSentResponseData.md +32 -0
- data/docs/MessageStatsResponse.md +20 -0
- data/docs/MessageStatsResponseData.md +26 -0
- data/docs/MessageStatsResponseDataByStatus.md +22 -0
- data/docs/MessageStatsResponseDataByType.md +22 -0
- data/docs/MessageStatsResponseDataPeriod.md +20 -0
- data/docs/MessagingApi.md +379 -0
- data/docs/MultiRoleFeatureApi.md +654 -0
- data/docs/NonCustodialAddress.md +40 -0
- data/docs/NonCustodialAddressResponse.md +22 -0
- data/docs/OTPSendRequest.md +24 -0
- data/docs/OTPVerifyRequest.md +22 -0
- data/docs/OauthCallback200Response.md +20 -0
- data/docs/OauthSignupWithRole400Response.md +20 -0
- data/docs/Organization.md +42 -0
- data/docs/OrganizationSummary.md +22 -0
- data/docs/Pagination.md +24 -0
- data/docs/PaymentIntent.md +52 -0
- data/docs/PaymentRefund.md +46 -0
- data/docs/PaymentSubscription.md +46 -0
- data/docs/Permission.md +24 -0
- data/docs/Plan.md +26 -0
- data/docs/PresignedPostResponse.md +24 -0
- data/docs/Project.md +40 -0
- data/docs/ProjectSettings.md +30 -0
- data/docs/ProjectSummary.md +22 -0
- data/docs/ProjectUsage.md +26 -0
- data/docs/ProjectUsageResponse.md +20 -0
- data/docs/ProjectUsageStatsResponse.md +22 -0
- data/docs/ProjectUsageStatsResponseProject.md +20 -0
- data/docs/PushNotificationRequest.md +26 -0
- data/docs/RateLimit.md +20 -0
- data/docs/RealTimeAnalyticsApi.md +367 -0
- data/docs/RecordUsageRequest.md +22 -0
- data/docs/RegisterLocalUser201Response.md +28 -0
- data/docs/RegisterLocalUser201ResponseUser.md +28 -0
- data/docs/RegisterLocalUser429Response.md +30 -0
- data/docs/RegisterLocalUserRequest.md +26 -0
- data/docs/RegisterNonCustodialAddressRequest.md +26 -0
- data/docs/RegisterRequest.md +26 -0
- data/docs/RegisterWithRoleRequest.md +26 -0
- data/docs/RemoveParticipantRequest.md +18 -0
- data/docs/RemoveReaction200Response.md +20 -0
- data/docs/RemoveReaction200ResponseDataInner.md +22 -0
- data/docs/RequestLocalPasswordResetRequest.md +20 -0
- data/docs/RequestRoleElevation200Response.md +28 -0
- data/docs/RequestRoleElevationRequest.md +18 -0
- data/docs/ResetLocalPasswordRequest.md +20 -0
- data/docs/RoleElevationApi.md +224 -0
- data/docs/RollbackFunctionRequest.md +18 -0
- data/docs/SMSRequest.md +22 -0
- data/docs/SearchApi.md +239 -0
- data/docs/SearchResponse.md +20 -0
- data/docs/SearchResponseData.md +24 -0
- data/docs/SearchResult.md +22 -0
- data/docs/SearchResultItem.md +20 -0
- data/docs/SendMessage201Response.md +20 -0
- data/docs/SendMessage201ResponseData.md +24 -0
- data/docs/SendMessageRequest.md +24 -0
- data/docs/SessionResponse.md +20 -0
- data/docs/SignedUrlResponse.md +24 -0
- data/docs/SimulateFunctionTriggerRequest.md +22 -0
- data/docs/StorageConfig.md +18 -0
- data/docs/SystemStatusResponse.md +20 -0
- data/docs/SystemStatusResponseData.md +28 -0
- data/docs/SystemStatusResponseDataCpu.md +20 -0
- data/docs/SystemStatusResponseDataDatabase.md +22 -0
- data/docs/SystemStatusResponseDataMemory.md +22 -0
- data/docs/SystemStatusResponseDataRequests.md +24 -0
- data/docs/SystemStatusResponseDataStorage.md +22 -0
- data/docs/TestWalletWebhook200Response.md +20 -0
- data/docs/TestWalletWebhookRequest.md +24 -0
- data/docs/ToggleRoleRequest.md +18 -0
- data/docs/TriggerFunctionWebhook200Response.md +22 -0
- data/docs/TriggerFunctionWebhook400Response.md +20 -0
- data/docs/TriggerFunctionWebhook401Response.md +20 -0
- data/docs/TriggerWebhookRequest.md +26 -0
- data/docs/TwoFASetupResponse.md +22 -0
- data/docs/UnlinkOAuthProvider200Response.md +20 -0
- data/docs/UpdateApiKeyRequest.md +24 -0
- data/docs/UpdateBucketRequest.md +22 -0
- data/docs/UpdateCollectionPermissionsRequest.md +20 -0
- data/docs/UpdateCollectionRequest.md +24 -0
- data/docs/UpdateFunctionRequest.md +34 -0
- data/docs/UpdateFunctionRequestLimits.md +24 -0
- data/docs/UpdateFunctionRequestRetryPolicy.md +22 -0
- data/docs/UpdateMultiRoleSettings200Response.md +22 -0
- data/docs/UpdateMultiRoleSettingsRequest.md +22 -0
- data/docs/UpdateMultiRoleSettingsRequestSettings.md +20 -0
- data/docs/UpdateOrganizationRequest.md +26 -0
- data/docs/UpdateProjectRequest.md +26 -0
- data/docs/UpdateProjectRoleRequest.md +28 -0
- data/docs/UpdateUserProfile200Response.md +20 -0
- data/docs/UpdateUserRequest.md +22 -0
- data/docs/UpdateWalletWebhook200Response.md +20 -0
- data/docs/UpdateWalletWebhookRequest.md +24 -0
- data/docs/UploadFilesToBucketMetadataRequest.md +20 -0
- data/docs/UploadFilesToBucketRequest.md +22 -0
- data/docs/UploadVerificationDocumentsRequest.md +20 -0
- data/docs/UploadVerificationDocumentsRequestDocumentsInner.md +20 -0
- data/docs/Usage.md +30 -0
- data/docs/UsageApi.md +153 -0
- data/docs/UsageResponse.md +24 -0
- data/docs/UsageStatsResponse.md +26 -0
- data/docs/UsageStatsResponsePercentages.md +22 -0
- data/docs/UsageTrendsResponse.md +20 -0
- data/docs/UsageTrendsResponseTrendsInner.md +28 -0
- data/docs/UsageTrendsResponseTrendsInnerId.md +22 -0
- data/docs/User.md +44 -0
- data/docs/UserSummary.md +24 -0
- data/docs/UsersApi.md +901 -0
- data/docs/Verify2FARequest.md +18 -0
- data/docs/VerifyEmailRequest.md +20 -0
- data/docs/VerifyMagicLinkRequest.md +18 -0
- data/docs/VerifyPayment200Response.md +22 -0
- data/docs/VerifyPayment200ResponseData.md +18 -0
- data/docs/VerifyPayment200ResponseDataSubscription.md +24 -0
- data/docs/WalletApi.md +1232 -0
- data/docs/WalletBalance.md +30 -0
- data/docs/WalletTransaction.md +58 -0
- data/docs/WalletTransactionWebhookPayload.md +22 -0
- data/docs/WalletWebhook.md +32 -0
- data/docs/WalletWebhookFilters.md +20 -0
- data/docs/WalletWebhookStats.md +24 -0
- data/docs/WebhookListResponse.md +26 -0
- data/docs/WebhookLog.md +42 -0
- data/docs/WebhookStatsResponse.md +22 -0
- data/docs/WebhookStatsResponseEventStatsInner.md +22 -0
- data/docs/WebhookStatsResponseStatusStatsInner.md +22 -0
- data/docs/WebhooksApi.md +81 -0
- data/git_push.sh +57 -0
- data/lib/mudbase/api/authentication_api.rb +1090 -0
- data/lib/mudbase/api/billing_api.rb +729 -0
- data/lib/mudbase/api/buckets_api.rb +386 -0
- data/lib/mudbase/api/chat_api.rb +968 -0
- data/lib/mudbase/api/collections_api.rb +377 -0
- data/lib/mudbase/api/compliance_api.rb +90 -0
- data/lib/mudbase/api/data_api.rb +423 -0
- data/lib/mudbase/api/files_api.rb +683 -0
- data/lib/mudbase/api/functions_api.rb +1054 -0
- data/lib/mudbase/api/health_api.rb +136 -0
- data/lib/mudbase/api/integrations_api.rb +165 -0
- data/lib/mudbase/api/messaging_api.rb +396 -0
- data/lib/mudbase/api/multi_role_feature_api.rb +699 -0
- data/lib/mudbase/api/real_time_analytics_api.rb +358 -0
- data/lib/mudbase/api/role_elevation_api.rb +236 -0
- data/lib/mudbase/api/search_api.rb +263 -0
- data/lib/mudbase/api/usage_api.rb +152 -0
- data/lib/mudbase/api/users_api.rb +854 -0
- data/lib/mudbase/api/wallet_api.rb +1161 -0
- data/lib/mudbase/api/webhooks_api.rb +85 -0
- data/lib/mudbase/api_client.rb +397 -0
- data/lib/mudbase/api_error.rb +58 -0
- data/lib/mudbase/api_model_base.rb +88 -0
- data/lib/mudbase/configuration.rb +316 -0
- data/lib/mudbase/models/add_custom_role_request.rb +245 -0
- data/lib/mudbase/models/add_custom_role_request_default_permissions_inner.rb +158 -0
- data/lib/mudbase/models/add_participant200_response.rb +156 -0
- data/lib/mudbase/models/add_participant200_response_data.rb +149 -0
- data/lib/mudbase/models/add_participant200_response_data_participants_inner.rb +165 -0
- data/lib/mudbase/models/add_participant_request.rb +207 -0
- data/lib/mudbase/models/add_reaction200_response.rb +158 -0
- data/lib/mudbase/models/add_reaction200_response_data_inner.rb +158 -0
- data/lib/mudbase/models/add_reaction_request.rb +164 -0
- data/lib/mudbase/models/api_key.rb +231 -0
- data/lib/mudbase/models/api_key_permission.rb +209 -0
- data/lib/mudbase/models/api_key_usage.rb +157 -0
- data/lib/mudbase/models/api_key_usage_response.rb +175 -0
- data/lib/mudbase/models/api_key_with_secret.rb +247 -0
- data/lib/mudbase/models/auth_config.rb +162 -0
- data/lib/mudbase/models/auth_provider.rb +166 -0
- data/lib/mudbase/models/auth_response.rb +166 -0
- data/lib/mudbase/models/billing.rb +166 -0
- data/lib/mudbase/models/billing_last_payment.rb +165 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response.rb +165 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction200_response_data.rb +175 -0
- data/lib/mudbase/models/broadcast_non_custodial_transaction_request.rb +243 -0
- data/lib/mudbase/models/bucket.rb +193 -0
- data/lib/mudbase/models/bucket_list_response.rb +168 -0
- data/lib/mudbase/models/bucket_response.rb +166 -0
- data/lib/mudbase/models/change_password_request.rb +200 -0
- data/lib/mudbase/models/check_feature_access200_response.rb +156 -0
- data/lib/mudbase/models/check_subscription200_response.rb +156 -0
- data/lib/mudbase/models/check_subscription200_response_subscription.rb +156 -0
- data/lib/mudbase/models/check_user_presence200_response.rb +158 -0
- data/lib/mudbase/models/check_user_presence200_response_presence_value.rb +156 -0
- data/lib/mudbase/models/check_user_presence_request.rb +166 -0
- data/lib/mudbase/models/collection.rb +224 -0
- data/lib/mudbase/models/confirm_direct_upload400_response.rb +156 -0
- data/lib/mudbase/models/confirm_direct_upload_request.rb +236 -0
- data/lib/mudbase/models/confirm_local_password_reset_with_otp_request.rb +280 -0
- data/lib/mudbase/models/confirm_upload_response.rb +200 -0
- data/lib/mudbase/models/confirm_upload_response_scan.rb +176 -0
- data/lib/mudbase/models/convert_anonymous_account200_response.rb +165 -0
- data/lib/mudbase/models/convert_anonymous_account_request.rb +208 -0
- data/lib/mudbase/models/create_anonymous_session200_response.rb +174 -0
- data/lib/mudbase/models/create_anonymous_session200_response_user.rb +192 -0
- data/lib/mudbase/models/create_anonymous_session_request.rb +158 -0
- data/lib/mudbase/models/create_api_key_request.rb +252 -0
- data/lib/mudbase/models/create_bucket_request.rb +188 -0
- data/lib/mudbase/models/create_chat201_response.rb +156 -0
- data/lib/mudbase/models/create_chat201_response_data.rb +185 -0
- data/lib/mudbase/models/create_chat_request.rb +260 -0
- data/lib/mudbase/models/create_checkout_session200_response.rb +156 -0
- data/lib/mudbase/models/create_checkout_session200_response_data.rb +245 -0
- data/lib/mudbase/models/create_checkout_session200_response_data_payment_options_inner.rb +238 -0
- data/lib/mudbase/models/create_checkout_session400_response.rb +147 -0
- data/lib/mudbase/models/create_checkout_session_request.rb +262 -0
- data/lib/mudbase/models/create_checkout_session_request_customer_info.rb +173 -0
- data/lib/mudbase/models/create_collection201_response.rb +156 -0
- data/lib/mudbase/models/create_collection_request.rb +222 -0
- data/lib/mudbase/models/create_function_request.rb +239 -0
- data/lib/mudbase/models/create_project_request.rb +183 -0
- data/lib/mudbase/models/create_wallet_webhook201_response.rb +165 -0
- data/lib/mudbase/models/create_wallet_webhook_request.rb +233 -0
- data/lib/mudbase/models/create_wallet_webhook_request_filters.rb +184 -0
- data/lib/mudbase/models/data_list_response.rb +159 -0
- data/lib/mudbase/models/data_list_response_data_inner.rb +169 -0
- data/lib/mudbase/models/data_response.rb +157 -0
- data/lib/mudbase/models/database_config.rb +150 -0
- data/lib/mudbase/models/delete_function200_response.rb +156 -0
- data/lib/mudbase/models/disable2_fa_request.rb +190 -0
- data/lib/mudbase/models/download_bucket_file403_response.rb +147 -0
- data/lib/mudbase/models/download_bucket_file404_response.rb +147 -0
- data/lib/mudbase/models/edit_message200_response.rb +156 -0
- data/lib/mudbase/models/edit_message200_response_data.rb +165 -0
- data/lib/mudbase/models/edit_message_request.rb +164 -0
- data/lib/mudbase/models/email_request.rb +227 -0
- data/lib/mudbase/models/email_request_to.rb +104 -0
- data/lib/mudbase/models/erase_user_data200_response.rb +156 -0
- data/lib/mudbase/models/erase_user_data200_response_details.rb +183 -0
- data/lib/mudbase/models/erase_user_data_request.rb +198 -0
- data/lib/mudbase/models/error.rb +193 -0
- data/lib/mudbase/models/error_details.rb +104 -0
- data/lib/mudbase/models/estimate_non_custodial_gas200_response.rb +156 -0
- data/lib/mudbase/models/estimate_non_custodial_gas200_response_data.rb +248 -0
- data/lib/mudbase/models/estimate_non_custodial_gas_request.rb +198 -0
- data/lib/mudbase/models/estimate_non_custodial_gas_request_transaction.rb +216 -0
- data/lib/mudbase/models/execute_function_request.rb +148 -0
- data/lib/mudbase/models/execute_integration_request.rb +232 -0
- data/lib/mudbase/models/export_user_data200_response.rb +222 -0
- data/lib/mudbase/models/field.rb +260 -0
- data/lib/mudbase/models/field_default.rb +105 -0
- data/lib/mudbase/models/file_list_response.rb +159 -0
- data/lib/mudbase/models/file_metadata.rb +247 -0
- data/lib/mudbase/models/file_response.rb +157 -0
- data/lib/mudbase/models/file_upload_response.rb +157 -0
- data/lib/mudbase/models/function.rb +229 -0
- data/lib/mudbase/models/function_execution.rb +272 -0
- data/lib/mudbase/models/function_execution_response.rb +157 -0
- data/lib/mudbase/models/function_execution_response_data.rb +175 -0
- data/lib/mudbase/models/function_list_response.rb +157 -0
- data/lib/mudbase/models/function_list_response_data.rb +158 -0
- data/lib/mudbase/models/function_logs_response.rb +157 -0
- data/lib/mudbase/models/function_logs_response_data.rb +158 -0
- data/lib/mudbase/models/function_response.rb +157 -0
- data/lib/mudbase/models/function_stats.rb +184 -0
- data/lib/mudbase/models/function_trigger.rb +261 -0
- data/lib/mudbase/models/generate_presigned_upload_request.rb +221 -0
- data/lib/mudbase/models/generate_signed_url_request.rb +149 -0
- data/lib/mudbase/models/get_active_users200_response.rb +167 -0
- data/lib/mudbase/models/get_active_users200_response_users_inner.rb +165 -0
- data/lib/mudbase/models/get_available_o_auth_providers200_response.rb +158 -0
- data/lib/mudbase/models/get_available_o_auth_providers200_response_providers_inner.rb +196 -0
- data/lib/mudbase/models/get_available_roles200_response.rb +158 -0
- data/lib/mudbase/models/get_available_roles200_response_data_inner.rb +201 -0
- data/lib/mudbase/models/get_cancel_params200_response.rb +156 -0
- data/lib/mudbase/models/get_cancel_params200_response_data.rb +231 -0
- data/lib/mudbase/models/get_cancel_params_request.rb +208 -0
- data/lib/mudbase/models/get_chat_details200_response.rb +156 -0
- data/lib/mudbase/models/get_chat_details200_response_data.rb +167 -0
- data/lib/mudbase/models/get_chat_details200_response_data_participants_inner.rb +156 -0
- data/lib/mudbase/models/get_chat_messages200_response.rb +156 -0
- data/lib/mudbase/models/get_chat_messages200_response_data.rb +158 -0
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner.rb +174 -0
- data/lib/mudbase/models/get_chat_messages200_response_data_messages_inner_sender.rb +156 -0
- data/lib/mudbase/models/get_checkout_payment200_response.rb +156 -0
- data/lib/mudbase/models/get_checkout_payment200_response_data.rb +224 -0
- data/lib/mudbase/models/get_current_user200_response.rb +147 -0
- data/lib/mudbase/models/get_event_throughput200_response.rb +185 -0
- data/lib/mudbase/models/get_function_versions200_response.rb +156 -0
- data/lib/mudbase/models/get_function_versions200_response_data.rb +149 -0
- data/lib/mudbase/models/get_function_versions200_response_data_versions_inner.rb +192 -0
- data/lib/mudbase/models/get_historical_analytics200_response.rb +176 -0
- data/lib/mudbase/models/get_historical_analytics200_response_data_inner.rb +165 -0
- data/lib/mudbase/models/get_integrations200_response.rb +149 -0
- data/lib/mudbase/models/get_integrations200_response_integrations_inner.rb +174 -0
- data/lib/mudbase/models/get_local_session200_response.rb +156 -0
- data/lib/mudbase/models/get_multi_role_config200_response.rb +156 -0
- data/lib/mudbase/models/get_multi_role_config200_response_data.rb +176 -0
- data/lib/mudbase/models/get_non_custodial_balance200_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash200_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transaction_by_hash400_response.rb +156 -0
- data/lib/mudbase/models/get_non_custodial_transactions200_response.rb +167 -0
- data/lib/mudbase/models/get_non_custodial_transactions200_response_pagination.rb +201 -0
- data/lib/mudbase/models/get_project_analytics200_response.rb +183 -0
- data/lib/mudbase/models/get_public_plans200_response.rb +149 -0
- data/lib/mudbase/models/get_role_elevation_status200_response.rb +149 -0
- data/lib/mudbase/models/get_search_analytics200_response.rb +176 -0
- data/lib/mudbase/models/get_search_analytics200_response_top_queries_inner.rb +156 -0
- data/lib/mudbase/models/get_search_suggestions200_response.rb +149 -0
- data/lib/mudbase/models/get_speed_up_params200_response.rb +156 -0
- data/lib/mudbase/models/get_speed_up_params200_response_data.rb +229 -0
- data/lib/mudbase/models/get_speed_up_params_request.rb +209 -0
- data/lib/mudbase/models/get_user_chats200_response.rb +156 -0
- data/lib/mudbase/models/get_user_chats200_response_data.rb +158 -0
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner.rb +183 -0
- data/lib/mudbase/models/get_user_chats200_response_data_chats_inner_last_message.rb +147 -0
- data/lib/mudbase/models/get_wallet_webhook_logs200_response.rb +158 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook200_response.rb +147 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook_request.rb +214 -0
- data/lib/mudbase/models/handle_crypto_payment_webhook_request_data.rb +201 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request.rb +157 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data.rb +211 -0
- data/lib/mudbase/models/handle_flutterwave_webhook_request_data_customer.rb +156 -0
- data/lib/mudbase/models/health_response.rb +218 -0
- data/lib/mudbase/models/health_response_services.rb +183 -0
- data/lib/mudbase/models/initialize_payment_for_project_request.rb +219 -0
- data/lib/mudbase/models/initialize_payment_for_project_request_customer.rb +173 -0
- data/lib/mudbase/models/initiate_o_auth200_response.rb +148 -0
- data/lib/mudbase/models/initiate_o_auth400_response.rb +147 -0
- data/lib/mudbase/models/initiate_o_auth404_response.rb +147 -0
- data/lib/mudbase/models/invite_member_request.rb +215 -0
- data/lib/mudbase/models/limits.rb +202 -0
- data/lib/mudbase/models/link_o_auth_provider200_response.rb +147 -0
- data/lib/mudbase/models/list_collections200_response.rb +158 -0
- data/lib/mudbase/models/list_non_custodial_addresses200_response.rb +167 -0
- data/lib/mudbase/models/list_o_auth_providers200_response.rb +149 -0
- data/lib/mudbase/models/list_o_auth_providers200_response_providers_inner.rb +174 -0
- data/lib/mudbase/models/list_wallet_webhooks200_response.rb +167 -0
- data/lib/mudbase/models/log_security_event200_response.rb +156 -0
- data/lib/mudbase/models/log_security_event200_response_event.rb +174 -0
- data/lib/mudbase/models/log_security_event_request.rb +225 -0
- data/lib/mudbase/models/log_security_event_request_details.rb +192 -0
- data/lib/mudbase/models/login_local_user200_response.rb +165 -0
- data/lib/mudbase/models/login_local_user200_response_user.rb +201 -0
- data/lib/mudbase/models/login_local_user403_response.rb +165 -0
- data/lib/mudbase/models/login_local_user_request.rb +199 -0
- data/lib/mudbase/models/login_request.rb +191 -0
- data/lib/mudbase/models/magic_link_request.rb +200 -0
- data/lib/mudbase/models/mark_messages_as_read200_response.rb +156 -0
- data/lib/mudbase/models/mark_messages_as_read200_response_data.rb +147 -0
- data/lib/mudbase/models/mark_messages_as_read_request.rb +166 -0
- data/lib/mudbase/models/message.rb +275 -0
- data/lib/mudbase/models/message_history_response.rb +157 -0
- data/lib/mudbase/models/message_history_response_data.rb +158 -0
- data/lib/mudbase/models/message_response.rb +148 -0
- data/lib/mudbase/models/message_sent_response.rb +157 -0
- data/lib/mudbase/models/message_sent_response_data.rb +210 -0
- data/lib/mudbase/models/message_stats_response.rb +157 -0
- data/lib/mudbase/models/message_stats_response_data.rb +183 -0
- data/lib/mudbase/models/message_stats_response_data_by_status.rb +165 -0
- data/lib/mudbase/models/message_stats_response_data_by_type.rb +165 -0
- data/lib/mudbase/models/message_stats_response_data_period.rb +156 -0
- data/lib/mudbase/models/non_custodial_address.rb +284 -0
- data/lib/mudbase/models/non_custodial_address_response.rb +166 -0
- data/lib/mudbase/models/oauth_callback200_response.rb +156 -0
- data/lib/mudbase/models/oauth_signup_with_role400_response.rb +156 -0
- data/lib/mudbase/models/organization.rb +257 -0
- data/lib/mudbase/models/organization_summary.rb +166 -0
- data/lib/mudbase/models/otp_send_request.rb +233 -0
- data/lib/mudbase/models/otp_verify_request.rb +200 -0
- data/lib/mudbase/models/pagination.rb +175 -0
- data/lib/mudbase/models/payment_intent.rb +393 -0
- data/lib/mudbase/models/payment_refund.rb +319 -0
- data/lib/mudbase/models/payment_subscription.rb +357 -0
- data/lib/mudbase/models/permission.rb +201 -0
- data/lib/mudbase/models/plan.rb +186 -0
- data/lib/mudbase/models/presigned_post_response.rb +179 -0
- data/lib/mudbase/models/project.rb +247 -0
- data/lib/mudbase/models/project_settings.rb +254 -0
- data/lib/mudbase/models/project_summary.rb +166 -0
- data/lib/mudbase/models/project_usage.rb +184 -0
- data/lib/mudbase/models/project_usage_response.rb +157 -0
- data/lib/mudbase/models/project_usage_stats_response.rb +166 -0
- data/lib/mudbase/models/project_usage_stats_response_project.rb +156 -0
- data/lib/mudbase/models/push_notification_request.rb +237 -0
- data/lib/mudbase/models/rate_limit.rb +157 -0
- data/lib/mudbase/models/record_usage_request.rb +219 -0
- data/lib/mudbase/models/register_local_user201_response.rb +196 -0
- data/lib/mudbase/models/register_local_user201_response_user.rb +192 -0
- data/lib/mudbase/models/register_local_user429_response.rb +208 -0
- data/lib/mudbase/models/register_local_user_request.rb +277 -0
- data/lib/mudbase/models/register_non_custodial_address_request.rb +246 -0
- data/lib/mudbase/models/register_request.rb +261 -0
- data/lib/mudbase/models/register_with_role_request.rb +268 -0
- data/lib/mudbase/models/remove_participant_request.rb +164 -0
- data/lib/mudbase/models/remove_reaction200_response.rb +158 -0
- data/lib/mudbase/models/remove_reaction200_response_data_inner.rb +167 -0
- data/lib/mudbase/models/request_local_password_reset_request.rb +174 -0
- data/lib/mudbase/models/request_role_elevation200_response.rb +240 -0
- data/lib/mudbase/models/request_role_elevation_request.rb +164 -0
- data/lib/mudbase/models/reset_local_password_request.rb +182 -0
- data/lib/mudbase/models/rollback_function_request.rb +165 -0
- data/lib/mudbase/models/search_response.rb +157 -0
- data/lib/mudbase/models/search_response_data.rb +176 -0
- data/lib/mudbase/models/search_result.rb +166 -0
- data/lib/mudbase/models/search_result_item.rb +156 -0
- data/lib/mudbase/models/send_message201_response.rb +156 -0
- data/lib/mudbase/models/send_message201_response_data.rb +174 -0
- data/lib/mudbase/models/send_message_request.rb +234 -0
- data/lib/mudbase/models/session_response.rb +157 -0
- data/lib/mudbase/models/signed_url_response.rb +178 -0
- data/lib/mudbase/models/simulate_function_trigger_request.rb +168 -0
- data/lib/mudbase/models/sms_request.rb +200 -0
- data/lib/mudbase/models/storage_config.rb +150 -0
- data/lib/mudbase/models/system_status_response.rb +157 -0
- data/lib/mudbase/models/system_status_response_data.rb +192 -0
- data/lib/mudbase/models/system_status_response_data_cpu.rb +156 -0
- data/lib/mudbase/models/system_status_response_data_database.rb +165 -0
- data/lib/mudbase/models/system_status_response_data_memory.rb +165 -0
- data/lib/mudbase/models/system_status_response_data_requests.rb +174 -0
- data/lib/mudbase/models/system_status_response_data_storage.rb +165 -0
- data/lib/mudbase/models/test_wallet_webhook200_response.rb +156 -0
- data/lib/mudbase/models/test_wallet_webhook_request.rb +191 -0
- data/lib/mudbase/models/toggle_role_request.rb +164 -0
- data/lib/mudbase/models/trigger_function_webhook200_response.rb +168 -0
- data/lib/mudbase/models/trigger_function_webhook400_response.rb +156 -0
- data/lib/mudbase/models/trigger_function_webhook401_response.rb +156 -0
- data/lib/mudbase/models/trigger_webhook_request.rb +254 -0
- data/lib/mudbase/models/two_fa_setup_response.rb +166 -0
- data/lib/mudbase/models/unlink_o_auth_provider200_response.rb +156 -0
- data/lib/mudbase/models/update_api_key_request.rb +205 -0
- data/lib/mudbase/models/update_bucket_request.rb +169 -0
- data/lib/mudbase/models/update_collection_permissions_request.rb +180 -0
- data/lib/mudbase/models/update_collection_request.rb +179 -0
- data/lib/mudbase/models/update_function_request.rb +221 -0
- data/lib/mudbase/models/update_function_request_limits.rb +176 -0
- data/lib/mudbase/models/update_function_request_retry_policy.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings200_response.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings_request.rb +165 -0
- data/lib/mudbase/models/update_multi_role_settings_request_settings.rb +156 -0
- data/lib/mudbase/models/update_organization_request.rb +185 -0
- data/lib/mudbase/models/update_project_request.rb +185 -0
- data/lib/mudbase/models/update_project_role_request.rb +192 -0
- data/lib/mudbase/models/update_user_profile200_response.rb +156 -0
- data/lib/mudbase/models/update_user_request.rb +166 -0
- data/lib/mudbase/models/update_wallet_webhook200_response.rb +156 -0
- data/lib/mudbase/models/update_wallet_webhook_request.rb +176 -0
- data/lib/mudbase/models/upload_files_to_bucket_metadata_request.rb +159 -0
- data/lib/mudbase/models/upload_files_to_bucket_request.rb +187 -0
- data/lib/mudbase/models/upload_verification_documents_request.rb +192 -0
- data/lib/mudbase/models/upload_verification_documents_request_documents_inner.rb +156 -0
- data/lib/mudbase/models/usage.rb +202 -0
- data/lib/mudbase/models/usage_response.rb +175 -0
- data/lib/mudbase/models/usage_stats_response.rb +184 -0
- data/lib/mudbase/models/usage_stats_response_percentages.rb +165 -0
- data/lib/mudbase/models/usage_trends_response.rb +159 -0
- data/lib/mudbase/models/usage_trends_response_trends_inner.rb +192 -0
- data/lib/mudbase/models/usage_trends_response_trends_inner_id.rb +165 -0
- data/lib/mudbase/models/user.rb +299 -0
- data/lib/mudbase/models/user_summary.rb +175 -0
- data/lib/mudbase/models/verify2_fa_request.rb +164 -0
- data/lib/mudbase/models/verify_email_request.rb +175 -0
- data/lib/mudbase/models/verify_magic_link_request.rb +164 -0
- data/lib/mudbase/models/verify_payment200_response.rb +165 -0
- data/lib/mudbase/models/verify_payment200_response_data.rb +147 -0
- data/lib/mudbase/models/verify_payment200_response_data_subscription.rb +208 -0
- data/lib/mudbase/models/wallet_balance.rb +205 -0
- data/lib/mudbase/models/wallet_transaction.rb +379 -0
- data/lib/mudbase/models/wallet_transaction_webhook_payload.rb +167 -0
- data/lib/mudbase/models/wallet_webhook.rb +235 -0
- data/lib/mudbase/models/wallet_webhook_filters.rb +182 -0
- data/lib/mudbase/models/wallet_webhook_stats.rb +175 -0
- data/lib/mudbase/models/webhook_list_response.rb +186 -0
- data/lib/mudbase/models/webhook_log.rb +290 -0
- data/lib/mudbase/models/webhook_stats_response.rb +170 -0
- data/lib/mudbase/models/webhook_stats_response_event_stats_inner.rb +165 -0
- data/lib/mudbase/models/webhook_stats_response_status_stats_inner.rb +165 -0
- data/lib/mudbase/version.rb +15 -0
- data/lib/mudbase.rb +374 -0
- data/mudbase.gemspec +39 -0
- data/spec/api/authentication_api_spec.rb +228 -0
- data/spec/api/billing_api_spec.rb +163 -0
- data/spec/api/buckets_api_spec.rb +103 -0
- data/spec/api/chat_api_spec.rb +207 -0
- data/spec/api/collections_api_spec.rb +100 -0
- data/spec/api/compliance_api_spec.rb +47 -0
- data/spec/api/data_api_spec.rb +109 -0
- data/spec/api/files_api_spec.rb +159 -0
- data/spec/api/functions_api_spec.rb +229 -0
- data/spec/api/health_api_spec.rb +57 -0
- data/spec/api/integrations_api_spec.rb +61 -0
- data/spec/api/messaging_api_spec.rb +104 -0
- data/spec/api/multi_role_feature_api_spec.rb +156 -0
- data/spec/api/real_time_analytics_api_spec.rb +98 -0
- data/spec/api/role_elevation_api_spec.rb +74 -0
- data/spec/api/search_api_spec.rb +79 -0
- data/spec/api/usage_api_spec.rb +60 -0
- data/spec/api/users_api_spec.rb +187 -0
- data/spec/api/wallet_api_spec.rb +245 -0
- data/spec/api/webhooks_api_spec.rb +48 -0
- data/spec/models/add_custom_role_request_default_permissions_inner_spec.rb +42 -0
- data/spec/models/add_custom_role_request_spec.rb +66 -0
- data/spec/models/add_participant200_response_data_participants_inner_spec.rb +48 -0
- data/spec/models/add_participant200_response_data_spec.rb +36 -0
- data/spec/models/add_participant200_response_spec.rb +42 -0
- data/spec/models/add_participant_request_spec.rb +46 -0
- data/spec/models/add_reaction200_response_data_inner_spec.rb +42 -0
- data/spec/models/add_reaction200_response_spec.rb +42 -0
- data/spec/models/add_reaction_request_spec.rb +36 -0
- data/spec/models/api_key_permission_spec.rb +50 -0
- data/spec/models/api_key_spec.rb +90 -0
- data/spec/models/api_key_usage_response_spec.rb +54 -0
- data/spec/models/api_key_usage_spec.rb +42 -0
- data/spec/models/api_key_with_secret_spec.rb +96 -0
- data/spec/models/auth_config_spec.rb +42 -0
- data/spec/models/auth_provider_spec.rb +48 -0
- data/spec/models/auth_response_spec.rb +48 -0
- data/spec/models/billing_last_payment_spec.rb +48 -0
- data/spec/models/billing_spec.rb +48 -0
- data/spec/models/broadcast_non_custodial_transaction200_response_data_spec.rb +54 -0
- data/spec/models/broadcast_non_custodial_transaction200_response_spec.rb +48 -0
- data/spec/models/broadcast_non_custodial_transaction_request_spec.rb +52 -0
- data/spec/models/bucket_list_response_spec.rb +48 -0
- data/spec/models/bucket_response_spec.rb +48 -0
- data/spec/models/bucket_spec.rb +66 -0
- data/spec/models/change_password_request_spec.rb +42 -0
- data/spec/models/check_feature_access200_response_spec.rb +42 -0
- data/spec/models/check_subscription200_response_spec.rb +42 -0
- data/spec/models/check_subscription200_response_subscription_spec.rb +42 -0
- data/spec/models/check_user_presence200_response_presence_value_spec.rb +42 -0
- data/spec/models/check_user_presence200_response_spec.rb +42 -0
- data/spec/models/check_user_presence_request_spec.rb +36 -0
- data/spec/models/collection_spec.rb +84 -0
- data/spec/models/confirm_direct_upload400_response_spec.rb +42 -0
- data/spec/models/confirm_direct_upload_request_spec.rb +72 -0
- data/spec/models/confirm_local_password_reset_with_otp_request_spec.rb +54 -0
- data/spec/models/confirm_upload_response_scan_spec.rb +54 -0
- data/spec/models/confirm_upload_response_spec.rb +52 -0
- data/spec/models/convert_anonymous_account200_response_spec.rb +48 -0
- data/spec/models/convert_anonymous_account_request_spec.rb +54 -0
- data/spec/models/create_anonymous_session200_response_spec.rb +54 -0
- data/spec/models/create_anonymous_session200_response_user_spec.rb +66 -0
- data/spec/models/create_anonymous_session_request_spec.rb +42 -0
- data/spec/models/create_api_key_request_spec.rb +60 -0
- data/spec/models/create_bucket_request_spec.rb +48 -0
- data/spec/models/create_chat201_response_data_spec.rb +60 -0
- data/spec/models/create_chat201_response_spec.rb +42 -0
- data/spec/models/create_chat_request_spec.rb +64 -0
- data/spec/models/create_checkout_session200_response_data_payment_options_inner_spec.rb +74 -0
- data/spec/models/create_checkout_session200_response_data_spec.rb +96 -0
- data/spec/models/create_checkout_session200_response_spec.rb +42 -0
- data/spec/models/create_checkout_session400_response_spec.rb +36 -0
- data/spec/models/create_checkout_session_request_customer_info_spec.rb +42 -0
- data/spec/models/create_checkout_session_request_spec.rb +64 -0
- data/spec/models/create_collection201_response_spec.rb +42 -0
- data/spec/models/create_collection_request_spec.rb +60 -0
- data/spec/models/create_function_request_spec.rb +60 -0
- data/spec/models/create_project_request_spec.rb +48 -0
- data/spec/models/create_wallet_webhook201_response_spec.rb +48 -0
- data/spec/models/create_wallet_webhook_request_filters_spec.rb +46 -0
- data/spec/models/create_wallet_webhook_request_spec.rb +64 -0
- data/spec/models/data_list_response_data_inner_spec.rb +48 -0
- data/spec/models/data_list_response_spec.rb +42 -0
- data/spec/models/data_response_spec.rb +42 -0
- data/spec/models/database_config_spec.rb +36 -0
- data/spec/models/delete_function200_response_spec.rb +42 -0
- data/spec/models/disable2_fa_request_spec.rb +42 -0
- data/spec/models/download_bucket_file403_response_spec.rb +36 -0
- data/spec/models/download_bucket_file404_response_spec.rb +36 -0
- data/spec/models/edit_message200_response_data_spec.rb +48 -0
- data/spec/models/edit_message200_response_spec.rb +42 -0
- data/spec/models/edit_message_request_spec.rb +36 -0
- data/spec/models/email_request_spec.rb +66 -0
- data/spec/models/email_request_to_spec.rb +32 -0
- data/spec/models/erase_user_data200_response_details_spec.rb +60 -0
- data/spec/models/erase_user_data200_response_spec.rb +42 -0
- data/spec/models/erase_user_data_request_spec.rb +46 -0
- data/spec/models/error_details_spec.rb +32 -0
- data/spec/models/error_spec.rb +66 -0
- data/spec/models/estimate_non_custodial_gas200_response_data_spec.rb +96 -0
- data/spec/models/estimate_non_custodial_gas200_response_spec.rb +42 -0
- data/spec/models/estimate_non_custodial_gas_request_spec.rb +46 -0
- data/spec/models/estimate_non_custodial_gas_request_transaction_spec.rb +66 -0
- data/spec/models/execute_function_request_spec.rb +36 -0
- data/spec/models/execute_integration_request_spec.rb +58 -0
- data/spec/models/export_user_data200_response_spec.rb +78 -0
- data/spec/models/field_default_spec.rb +32 -0
- data/spec/models/field_spec.rb +76 -0
- data/spec/models/file_list_response_spec.rb +42 -0
- data/spec/models/file_metadata_spec.rb +102 -0
- data/spec/models/file_response_spec.rb +42 -0
- data/spec/models/file_upload_response_spec.rb +42 -0
- data/spec/models/function_execution_response_data_spec.rb +54 -0
- data/spec/models/function_execution_response_spec.rb +42 -0
- data/spec/models/function_execution_spec.rb +100 -0
- data/spec/models/function_list_response_data_spec.rb +42 -0
- data/spec/models/function_list_response_spec.rb +42 -0
- data/spec/models/function_logs_response_data_spec.rb +42 -0
- data/spec/models/function_logs_response_spec.rb +42 -0
- data/spec/models/function_response_spec.rb +42 -0
- data/spec/models/function_spec.rb +90 -0
- data/spec/models/function_stats_spec.rb +60 -0
- data/spec/models/function_trigger_spec.rb +80 -0
- data/spec/models/generate_presigned_upload_request_spec.rb +60 -0
- data/spec/models/generate_signed_url_request_spec.rb +36 -0
- data/spec/models/get_active_users200_response_spec.rb +48 -0
- data/spec/models/get_active_users200_response_users_inner_spec.rb +48 -0
- data/spec/models/get_available_o_auth_providers200_response_providers_inner_spec.rb +66 -0
- data/spec/models/get_available_o_auth_providers200_response_spec.rb +42 -0
- data/spec/models/get_available_roles200_response_data_inner_spec.rb +72 -0
- data/spec/models/get_available_roles200_response_spec.rb +42 -0
- data/spec/models/get_cancel_params200_response_data_spec.rb +90 -0
- data/spec/models/get_cancel_params200_response_spec.rb +42 -0
- data/spec/models/get_cancel_params_request_spec.rb +52 -0
- data/spec/models/get_chat_details200_response_data_participants_inner_spec.rb +42 -0
- data/spec/models/get_chat_details200_response_data_spec.rb +48 -0
- data/spec/models/get_chat_details200_response_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_data_messages_inner_sender_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_data_messages_inner_spec.rb +54 -0
- data/spec/models/get_chat_messages200_response_data_spec.rb +42 -0
- data/spec/models/get_chat_messages200_response_spec.rb +42 -0
- data/spec/models/get_checkout_payment200_response_data_spec.rb +84 -0
- data/spec/models/get_checkout_payment200_response_spec.rb +42 -0
- data/spec/models/get_current_user200_response_spec.rb +36 -0
- data/spec/models/get_event_throughput200_response_spec.rb +60 -0
- data/spec/models/get_function_versions200_response_data_spec.rb +36 -0
- data/spec/models/get_function_versions200_response_data_versions_inner_spec.rb +66 -0
- data/spec/models/get_function_versions200_response_spec.rb +42 -0
- data/spec/models/get_historical_analytics200_response_data_inner_spec.rb +48 -0
- data/spec/models/get_historical_analytics200_response_spec.rb +54 -0
- data/spec/models/get_integrations200_response_integrations_inner_spec.rb +54 -0
- data/spec/models/get_integrations200_response_spec.rb +36 -0
- data/spec/models/get_local_session200_response_spec.rb +42 -0
- data/spec/models/get_multi_role_config200_response_data_spec.rb +54 -0
- data/spec/models/get_multi_role_config200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_balance200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transaction_by_hash200_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transaction_by_hash400_response_spec.rb +42 -0
- data/spec/models/get_non_custodial_transactions200_response_pagination_spec.rb +72 -0
- data/spec/models/get_non_custodial_transactions200_response_spec.rb +48 -0
- data/spec/models/get_project_analytics200_response_spec.rb +60 -0
- data/spec/models/get_public_plans200_response_spec.rb +36 -0
- data/spec/models/get_role_elevation_status200_response_spec.rb +36 -0
- data/spec/models/get_search_analytics200_response_spec.rb +54 -0
- data/spec/models/get_search_analytics200_response_top_queries_inner_spec.rb +42 -0
- data/spec/models/get_search_suggestions200_response_spec.rb +36 -0
- data/spec/models/get_speed_up_params200_response_data_spec.rb +90 -0
- data/spec/models/get_speed_up_params200_response_spec.rb +42 -0
- data/spec/models/get_speed_up_params_request_spec.rb +52 -0
- data/spec/models/get_user_chats200_response_data_chats_inner_last_message_spec.rb +36 -0
- data/spec/models/get_user_chats200_response_data_chats_inner_spec.rb +60 -0
- data/spec/models/get_user_chats200_response_data_spec.rb +42 -0
- data/spec/models/get_user_chats200_response_spec.rb +42 -0
- data/spec/models/get_wallet_webhook_logs200_response_spec.rb +42 -0
- data/spec/models/handle_crypto_payment_webhook200_response_spec.rb +36 -0
- data/spec/models/handle_crypto_payment_webhook_request_data_spec.rb +72 -0
- data/spec/models/handle_crypto_payment_webhook_request_spec.rb +46 -0
- data/spec/models/handle_flutterwave_webhook_request_data_customer_spec.rb +42 -0
- data/spec/models/handle_flutterwave_webhook_request_data_spec.rb +78 -0
- data/spec/models/handle_flutterwave_webhook_request_spec.rb +42 -0
- data/spec/models/health_response_services_spec.rb +60 -0
- data/spec/models/health_response_spec.rb +64 -0
- data/spec/models/initialize_payment_for_project_request_customer_spec.rb +42 -0
- data/spec/models/initialize_payment_for_project_request_spec.rb +54 -0
- data/spec/models/initiate_o_auth200_response_spec.rb +36 -0
- data/spec/models/initiate_o_auth400_response_spec.rb +36 -0
- data/spec/models/initiate_o_auth404_response_spec.rb +36 -0
- data/spec/models/invite_member_request_spec.rb +46 -0
- data/spec/models/limits_spec.rb +72 -0
- data/spec/models/link_o_auth_provider200_response_spec.rb +36 -0
- data/spec/models/list_collections200_response_spec.rb +42 -0
- data/spec/models/list_non_custodial_addresses200_response_spec.rb +48 -0
- data/spec/models/list_o_auth_providers200_response_providers_inner_spec.rb +54 -0
- data/spec/models/list_o_auth_providers200_response_spec.rb +36 -0
- data/spec/models/list_wallet_webhooks200_response_spec.rb +48 -0
- data/spec/models/log_security_event200_response_event_spec.rb +54 -0
- data/spec/models/log_security_event200_response_spec.rb +42 -0
- data/spec/models/log_security_event_request_details_spec.rb +66 -0
- data/spec/models/log_security_event_request_spec.rb +56 -0
- data/spec/models/login_local_user200_response_spec.rb +48 -0
- data/spec/models/login_local_user200_response_user_spec.rb +72 -0
- data/spec/models/login_local_user403_response_spec.rb +48 -0
- data/spec/models/login_local_user_request_spec.rb +48 -0
- data/spec/models/login_request_spec.rb +42 -0
- data/spec/models/magic_link_request_spec.rb +48 -0
- data/spec/models/mark_messages_as_read200_response_data_spec.rb +36 -0
- data/spec/models/mark_messages_as_read200_response_spec.rb +42 -0
- data/spec/models/mark_messages_as_read_request_spec.rb +36 -0
- data/spec/models/message_history_response_data_spec.rb +42 -0
- data/spec/models/message_history_response_spec.rb +42 -0
- data/spec/models/message_response_spec.rb +36 -0
- data/spec/models/message_sent_response_data_spec.rb +78 -0
- data/spec/models/message_sent_response_spec.rb +42 -0
- data/spec/models/message_spec.rb +98 -0
- data/spec/models/message_stats_response_data_by_status_spec.rb +48 -0
- data/spec/models/message_stats_response_data_by_type_spec.rb +48 -0
- data/spec/models/message_stats_response_data_period_spec.rb +42 -0
- data/spec/models/message_stats_response_data_spec.rb +60 -0
- data/spec/models/message_stats_response_spec.rb +42 -0
- data/spec/models/non_custodial_address_response_spec.rb +48 -0
- data/spec/models/non_custodial_address_spec.rb +106 -0
- data/spec/models/oauth_callback200_response_spec.rb +42 -0
- data/spec/models/oauth_signup_with_role400_response_spec.rb +42 -0
- data/spec/models/organization_spec.rb +108 -0
- data/spec/models/organization_summary_spec.rb +48 -0
- data/spec/models/otp_send_request_spec.rb +58 -0
- data/spec/models/otp_verify_request_spec.rb +48 -0
- data/spec/models/pagination_spec.rb +54 -0
- data/spec/models/payment_intent_spec.rb +158 -0
- data/spec/models/payment_refund_spec.rb +124 -0
- data/spec/models/payment_subscription_spec.rb +136 -0
- data/spec/models/permission_spec.rb +58 -0
- data/spec/models/plan_spec.rb +60 -0
- data/spec/models/presigned_post_response_spec.rb +54 -0
- data/spec/models/project_settings_spec.rb +76 -0
- data/spec/models/project_spec.rb +102 -0
- data/spec/models/project_summary_spec.rb +48 -0
- data/spec/models/project_usage_response_spec.rb +42 -0
- data/spec/models/project_usage_spec.rb +60 -0
- data/spec/models/project_usage_stats_response_project_spec.rb +42 -0
- data/spec/models/project_usage_stats_response_spec.rb +48 -0
- data/spec/models/push_notification_request_spec.rb +60 -0
- data/spec/models/rate_limit_spec.rb +42 -0
- data/spec/models/record_usage_request_spec.rb +48 -0
- data/spec/models/register_local_user201_response_spec.rb +66 -0
- data/spec/models/register_local_user201_response_user_spec.rb +66 -0
- data/spec/models/register_local_user429_response_spec.rb +72 -0
- data/spec/models/register_local_user_request_spec.rb +60 -0
- data/spec/models/register_non_custodial_address_request_spec.rb +64 -0
- data/spec/models/register_request_spec.rb +60 -0
- data/spec/models/register_with_role_request_spec.rb +60 -0
- data/spec/models/remove_participant_request_spec.rb +36 -0
- data/spec/models/remove_reaction200_response_data_inner_spec.rb +48 -0
- data/spec/models/remove_reaction200_response_spec.rb +42 -0
- data/spec/models/request_local_password_reset_request_spec.rb +42 -0
- data/spec/models/request_role_elevation200_response_spec.rb +74 -0
- data/spec/models/request_role_elevation_request_spec.rb +36 -0
- data/spec/models/reset_local_password_request_spec.rb +42 -0
- data/spec/models/rollback_function_request_spec.rb +36 -0
- data/spec/models/search_response_data_spec.rb +54 -0
- data/spec/models/search_response_spec.rb +42 -0
- data/spec/models/search_result_item_spec.rb +42 -0
- data/spec/models/search_result_spec.rb +48 -0
- data/spec/models/send_message201_response_data_spec.rb +54 -0
- data/spec/models/send_message201_response_spec.rb +42 -0
- data/spec/models/send_message_request_spec.rb +58 -0
- data/spec/models/session_response_spec.rb +42 -0
- data/spec/models/signed_url_response_spec.rb +54 -0
- data/spec/models/simulate_function_trigger_request_spec.rb +48 -0
- data/spec/models/sms_request_spec.rb +48 -0
- data/spec/models/storage_config_spec.rb +36 -0
- data/spec/models/system_status_response_data_cpu_spec.rb +42 -0
- data/spec/models/system_status_response_data_database_spec.rb +48 -0
- data/spec/models/system_status_response_data_memory_spec.rb +48 -0
- data/spec/models/system_status_response_data_requests_spec.rb +54 -0
- data/spec/models/system_status_response_data_spec.rb +66 -0
- data/spec/models/system_status_response_data_storage_spec.rb +48 -0
- data/spec/models/system_status_response_spec.rb +42 -0
- data/spec/models/test_wallet_webhook200_response_spec.rb +42 -0
- data/spec/models/test_wallet_webhook_request_spec.rb +54 -0
- data/spec/models/toggle_role_request_spec.rb +36 -0
- data/spec/models/trigger_function_webhook200_response_spec.rb +48 -0
- data/spec/models/trigger_function_webhook400_response_spec.rb +42 -0
- data/spec/models/trigger_function_webhook401_response_spec.rb +42 -0
- data/spec/models/trigger_webhook_request_spec.rb +60 -0
- data/spec/models/two_fa_setup_response_spec.rb +48 -0
- data/spec/models/unlink_o_auth_provider200_response_spec.rb +42 -0
- data/spec/models/update_api_key_request_spec.rb +54 -0
- data/spec/models/update_bucket_request_spec.rb +48 -0
- data/spec/models/update_collection_permissions_request_spec.rb +46 -0
- data/spec/models/update_collection_request_spec.rb +54 -0
- data/spec/models/update_function_request_limits_spec.rb +54 -0
- data/spec/models/update_function_request_retry_policy_spec.rb +48 -0
- data/spec/models/update_function_request_spec.rb +84 -0
- data/spec/models/update_multi_role_settings200_response_spec.rb +48 -0
- data/spec/models/update_multi_role_settings_request_settings_spec.rb +42 -0
- data/spec/models/update_multi_role_settings_request_spec.rb +48 -0
- data/spec/models/update_organization_request_spec.rb +60 -0
- data/spec/models/update_project_request_spec.rb +60 -0
- data/spec/models/update_project_role_request_spec.rb +66 -0
- data/spec/models/update_user_profile200_response_spec.rb +42 -0
- data/spec/models/update_user_request_spec.rb +48 -0
- data/spec/models/update_wallet_webhook200_response_spec.rb +42 -0
- data/spec/models/update_wallet_webhook_request_spec.rb +54 -0
- data/spec/models/upload_files_to_bucket_metadata_request_spec.rb +42 -0
- data/spec/models/upload_files_to_bucket_request_spec.rb +48 -0
- data/spec/models/upload_verification_documents_request_documents_inner_spec.rb +42 -0
- data/spec/models/upload_verification_documents_request_spec.rb +42 -0
- data/spec/models/usage_response_spec.rb +54 -0
- data/spec/models/usage_spec.rb +72 -0
- data/spec/models/usage_stats_response_percentages_spec.rb +48 -0
- data/spec/models/usage_stats_response_spec.rb +60 -0
- data/spec/models/usage_trends_response_spec.rb +42 -0
- data/spec/models/usage_trends_response_trends_inner_id_spec.rb +48 -0
- data/spec/models/usage_trends_response_trends_inner_spec.rb +66 -0
- data/spec/models/user_spec.rb +118 -0
- data/spec/models/user_summary_spec.rb +54 -0
- data/spec/models/verify2_fa_request_spec.rb +36 -0
- data/spec/models/verify_email_request_spec.rb +42 -0
- data/spec/models/verify_magic_link_request_spec.rb +36 -0
- data/spec/models/verify_payment200_response_data_spec.rb +36 -0
- data/spec/models/verify_payment200_response_data_subscription_spec.rb +58 -0
- data/spec/models/verify_payment200_response_spec.rb +48 -0
- data/spec/models/wallet_balance_spec.rb +72 -0
- data/spec/models/wallet_transaction_spec.rb +164 -0
- data/spec/models/wallet_transaction_webhook_payload_spec.rb +48 -0
- data/spec/models/wallet_webhook_filters_spec.rb +46 -0
- data/spec/models/wallet_webhook_spec.rb +82 -0
- data/spec/models/wallet_webhook_stats_spec.rb +54 -0
- data/spec/models/webhook_list_response_spec.rb +60 -0
- data/spec/models/webhook_log_spec.rb +112 -0
- data/spec/models/webhook_stats_response_event_stats_inner_spec.rb +48 -0
- data/spec/models/webhook_stats_response_spec.rb +48 -0
- data/spec/models/webhook_stats_response_status_stats_inner_spec.rb +48 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1451 -0
data/docs/WalletApi.md
ADDED
|
@@ -0,0 +1,1232 @@
|
|
|
1
|
+
# Mudbase::WalletApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://cloud.mudbase.dev*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**broadcast_non_custodial_transaction**](WalletApi.md#broadcast_non_custodial_transaction) | **POST** /api/wallet/non-custodial/broadcast | Broadcast a client-signed transaction |
|
|
8
|
+
| [**create_wallet_webhook**](WalletApi.md#create_wallet_webhook) | **POST** /api/wallet/non-custodial/webhooks | Create a wallet webhook |
|
|
9
|
+
| [**delete_non_custodial_address**](WalletApi.md#delete_non_custodial_address) | **DELETE** /api/wallet/non-custodial/addresses/{addressId} | Delete (soft-delete) a non-custodial address |
|
|
10
|
+
| [**delete_wallet_webhook**](WalletApi.md#delete_wallet_webhook) | **DELETE** /api/wallet/non-custodial/webhooks/{webhookId} | Delete a wallet webhook |
|
|
11
|
+
| [**estimate_non_custodial_gas**](WalletApi.md#estimate_non_custodial_gas) | **POST** /api/wallet/non-custodial/estimate-gas | Estimate network fee from blockchain (all supported chains; not controlled by Mudbase) |
|
|
12
|
+
| [**get_cancel_params**](WalletApi.md#get_cancel_params) | **POST** /api/wallet/non-custodial/cancel | Get replacement tx params for cancel (stuck EVM tx) |
|
|
13
|
+
| [**get_non_custodial_address**](WalletApi.md#get_non_custodial_address) | **GET** /api/wallet/non-custodial/addresses/{addressId} | Get non-custodial address by ID |
|
|
14
|
+
| [**get_non_custodial_balance**](WalletApi.md#get_non_custodial_balance) | **GET** /api/wallet/non-custodial/addresses/{addressId}/balance | Get balance for a non-custodial address |
|
|
15
|
+
| [**get_non_custodial_transaction_by_hash**](WalletApi.md#get_non_custodial_transaction_by_hash) | **GET** /api/wallet/non-custodial/transactions/{txHash} | Get transaction by hash |
|
|
16
|
+
| [**get_non_custodial_transactions**](WalletApi.md#get_non_custodial_transactions) | **GET** /api/wallet/non-custodial/addresses/{addressId}/transactions | Get transaction history for a non-custodial address |
|
|
17
|
+
| [**get_speed_up_params**](WalletApi.md#get_speed_up_params) | **POST** /api/wallet/non-custodial/speed-up | Get replacement tx params for speed-up (stuck EVM tx) |
|
|
18
|
+
| [**get_wallet_webhook_logs**](WalletApi.md#get_wallet_webhook_logs) | **GET** /api/wallet/non-custodial/webhooks/{webhookId}/logs | Get webhook delivery logs |
|
|
19
|
+
| [**list_non_custodial_addresses**](WalletApi.md#list_non_custodial_addresses) | **GET** /api/wallet/non-custodial/addresses | List registered non-custodial addresses |
|
|
20
|
+
| [**list_wallet_webhooks**](WalletApi.md#list_wallet_webhooks) | **GET** /api/wallet/non-custodial/webhooks | List wallet webhooks |
|
|
21
|
+
| [**register_non_custodial_address**](WalletApi.md#register_non_custodial_address) | **POST** /api/wallet/non-custodial/register-address | Register a non-custodial wallet address |
|
|
22
|
+
| [**test_wallet_webhook**](WalletApi.md#test_wallet_webhook) | **POST** /api/wallet/non-custodial/webhooks/test | Test a webhook delivery (sends a single test payload) |
|
|
23
|
+
| [**update_wallet_webhook**](WalletApi.md#update_wallet_webhook) | **PUT** /api/wallet/non-custodial/webhooks/{webhookId} | Update a wallet webhook |
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## broadcast_non_custodial_transaction
|
|
27
|
+
|
|
28
|
+
> <BroadcastNonCustodialTransaction200Response> broadcast_non_custodial_transaction(broadcast_non_custodial_transaction_request)
|
|
29
|
+
|
|
30
|
+
Broadcast a client-signed transaction
|
|
31
|
+
|
|
32
|
+
Broadcast a transaction that has been signed client-side. The transaction must be fully signed before sending. The fromAddress must be registered and belong to your organization (POST /api/wallet/non-custodial/register-address). **Supported chains:** EVM (ethereum, polygon, arbitrum, optimism, base, bsc, binance, avalanche, celo), UTXO (bitcoin, litecoin, dogecoin), and chain-specific (tron, solana, ton, cardano). Use `binance` or `bsc` for BNB Smart Chain. **Testing with custodial:** You can create a wallet via POST /api/wallet/create, get its private key via GET /api/wallet/{walletId}/private-key, register that address with POST /api/wallet/non-custodial/register-address, then build a signed tx (using POST /api/wallet/estimate-network-fee or estimate-gas for fees) and broadcast it here to test the non-custodial flow end-to-end.
|
|
33
|
+
|
|
34
|
+
### Examples
|
|
35
|
+
|
|
36
|
+
```ruby
|
|
37
|
+
require 'time'
|
|
38
|
+
require 'mudbase'
|
|
39
|
+
# setup authorization
|
|
40
|
+
Mudbase.configure do |config|
|
|
41
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
42
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
api_instance = Mudbase::WalletApi.new
|
|
46
|
+
broadcast_non_custodial_transaction_request = Mudbase::BroadcastNonCustodialTransactionRequest.new({chain: 'ethereum', signed_tx: '0x02f8...', from_address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb'}) # BroadcastNonCustodialTransactionRequest | Chain, signed transaction (hex), and fromAddress (must be registered).
|
|
47
|
+
|
|
48
|
+
begin
|
|
49
|
+
# Broadcast a client-signed transaction
|
|
50
|
+
result = api_instance.broadcast_non_custodial_transaction(broadcast_non_custodial_transaction_request)
|
|
51
|
+
p result
|
|
52
|
+
rescue Mudbase::ApiError => e
|
|
53
|
+
puts "Error when calling WalletApi->broadcast_non_custodial_transaction: #{e}"
|
|
54
|
+
end
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
#### Using the broadcast_non_custodial_transaction_with_http_info variant
|
|
58
|
+
|
|
59
|
+
This returns an Array which contains the response data, status code and headers.
|
|
60
|
+
|
|
61
|
+
> <Array(<BroadcastNonCustodialTransaction200Response>, Integer, Hash)> broadcast_non_custodial_transaction_with_http_info(broadcast_non_custodial_transaction_request)
|
|
62
|
+
|
|
63
|
+
```ruby
|
|
64
|
+
begin
|
|
65
|
+
# Broadcast a client-signed transaction
|
|
66
|
+
data, status_code, headers = api_instance.broadcast_non_custodial_transaction_with_http_info(broadcast_non_custodial_transaction_request)
|
|
67
|
+
p status_code # => 2xx
|
|
68
|
+
p headers # => { ... }
|
|
69
|
+
p data # => <BroadcastNonCustodialTransaction200Response>
|
|
70
|
+
rescue Mudbase::ApiError => e
|
|
71
|
+
puts "Error when calling WalletApi->broadcast_non_custodial_transaction_with_http_info: #{e}"
|
|
72
|
+
end
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### Parameters
|
|
76
|
+
|
|
77
|
+
| Name | Type | Description | Notes |
|
|
78
|
+
| ---- | ---- | ----------- | ----- |
|
|
79
|
+
| **broadcast_non_custodial_transaction_request** | [**BroadcastNonCustodialTransactionRequest**](BroadcastNonCustodialTransactionRequest.md) | Chain, signed transaction (hex), and fromAddress (must be registered). | |
|
|
80
|
+
|
|
81
|
+
### Return type
|
|
82
|
+
|
|
83
|
+
[**BroadcastNonCustodialTransaction200Response**](BroadcastNonCustodialTransaction200Response.md)
|
|
84
|
+
|
|
85
|
+
### Authorization
|
|
86
|
+
|
|
87
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
88
|
+
|
|
89
|
+
### HTTP request headers
|
|
90
|
+
|
|
91
|
+
- **Content-Type**: application/json
|
|
92
|
+
- **Accept**: application/json
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
## create_wallet_webhook
|
|
96
|
+
|
|
97
|
+
> <CreateWalletWebhook201Response> create_wallet_webhook(create_wallet_webhook_request)
|
|
98
|
+
|
|
99
|
+
Create a wallet webhook
|
|
100
|
+
|
|
101
|
+
Register a webhook URL to receive wallet events (balance updates, transaction confirmed/failed/detected/broadcast, token balance, address created/deactivated). Optional filters by addresses and chains.
|
|
102
|
+
|
|
103
|
+
### Examples
|
|
104
|
+
|
|
105
|
+
```ruby
|
|
106
|
+
require 'time'
|
|
107
|
+
require 'mudbase'
|
|
108
|
+
# setup authorization
|
|
109
|
+
Mudbase.configure do |config|
|
|
110
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
111
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
api_instance = Mudbase::WalletApi.new
|
|
115
|
+
create_wallet_webhook_request = Mudbase::CreateWalletWebhookRequest.new({url: 'https://your-app.com/webhooks/wallet', events: ["wallet.balance.updated", "wallet.transaction.confirmed"]}) # CreateWalletWebhookRequest | Webhook URL, events array, optional secret and filters (addresses, chains, projectId).
|
|
116
|
+
|
|
117
|
+
begin
|
|
118
|
+
# Create a wallet webhook
|
|
119
|
+
result = api_instance.create_wallet_webhook(create_wallet_webhook_request)
|
|
120
|
+
p result
|
|
121
|
+
rescue Mudbase::ApiError => e
|
|
122
|
+
puts "Error when calling WalletApi->create_wallet_webhook: #{e}"
|
|
123
|
+
end
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
#### Using the create_wallet_webhook_with_http_info variant
|
|
127
|
+
|
|
128
|
+
This returns an Array which contains the response data, status code and headers.
|
|
129
|
+
|
|
130
|
+
> <Array(<CreateWalletWebhook201Response>, Integer, Hash)> create_wallet_webhook_with_http_info(create_wallet_webhook_request)
|
|
131
|
+
|
|
132
|
+
```ruby
|
|
133
|
+
begin
|
|
134
|
+
# Create a wallet webhook
|
|
135
|
+
data, status_code, headers = api_instance.create_wallet_webhook_with_http_info(create_wallet_webhook_request)
|
|
136
|
+
p status_code # => 2xx
|
|
137
|
+
p headers # => { ... }
|
|
138
|
+
p data # => <CreateWalletWebhook201Response>
|
|
139
|
+
rescue Mudbase::ApiError => e
|
|
140
|
+
puts "Error when calling WalletApi->create_wallet_webhook_with_http_info: #{e}"
|
|
141
|
+
end
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Parameters
|
|
145
|
+
|
|
146
|
+
| Name | Type | Description | Notes |
|
|
147
|
+
| ---- | ---- | ----------- | ----- |
|
|
148
|
+
| **create_wallet_webhook_request** | [**CreateWalletWebhookRequest**](CreateWalletWebhookRequest.md) | Webhook URL, events array, optional secret and filters (addresses, chains, projectId). | |
|
|
149
|
+
|
|
150
|
+
### Return type
|
|
151
|
+
|
|
152
|
+
[**CreateWalletWebhook201Response**](CreateWalletWebhook201Response.md)
|
|
153
|
+
|
|
154
|
+
### Authorization
|
|
155
|
+
|
|
156
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
157
|
+
|
|
158
|
+
### HTTP request headers
|
|
159
|
+
|
|
160
|
+
- **Content-Type**: application/json
|
|
161
|
+
- **Accept**: application/json
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
## delete_non_custodial_address
|
|
165
|
+
|
|
166
|
+
> <DeleteFunction200Response> delete_non_custodial_address(address_id)
|
|
167
|
+
|
|
168
|
+
Delete (soft-delete) a non-custodial address
|
|
169
|
+
|
|
170
|
+
Soft-deletes a registered non-custodial address. The address is marked inactive and no longer used for broadcasts or balance/transaction queries.
|
|
171
|
+
|
|
172
|
+
### Examples
|
|
173
|
+
|
|
174
|
+
```ruby
|
|
175
|
+
require 'time'
|
|
176
|
+
require 'mudbase'
|
|
177
|
+
# setup authorization
|
|
178
|
+
Mudbase.configure do |config|
|
|
179
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
180
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
181
|
+
end
|
|
182
|
+
|
|
183
|
+
api_instance = Mudbase::WalletApi.new
|
|
184
|
+
address_id = 'address_id_example' # String | Registered address ID to delete.
|
|
185
|
+
|
|
186
|
+
begin
|
|
187
|
+
# Delete (soft-delete) a non-custodial address
|
|
188
|
+
result = api_instance.delete_non_custodial_address(address_id)
|
|
189
|
+
p result
|
|
190
|
+
rescue Mudbase::ApiError => e
|
|
191
|
+
puts "Error when calling WalletApi->delete_non_custodial_address: #{e}"
|
|
192
|
+
end
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
#### Using the delete_non_custodial_address_with_http_info variant
|
|
196
|
+
|
|
197
|
+
This returns an Array which contains the response data, status code and headers.
|
|
198
|
+
|
|
199
|
+
> <Array(<DeleteFunction200Response>, Integer, Hash)> delete_non_custodial_address_with_http_info(address_id)
|
|
200
|
+
|
|
201
|
+
```ruby
|
|
202
|
+
begin
|
|
203
|
+
# Delete (soft-delete) a non-custodial address
|
|
204
|
+
data, status_code, headers = api_instance.delete_non_custodial_address_with_http_info(address_id)
|
|
205
|
+
p status_code # => 2xx
|
|
206
|
+
p headers # => { ... }
|
|
207
|
+
p data # => <DeleteFunction200Response>
|
|
208
|
+
rescue Mudbase::ApiError => e
|
|
209
|
+
puts "Error when calling WalletApi->delete_non_custodial_address_with_http_info: #{e}"
|
|
210
|
+
end
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Parameters
|
|
214
|
+
|
|
215
|
+
| Name | Type | Description | Notes |
|
|
216
|
+
| ---- | ---- | ----------- | ----- |
|
|
217
|
+
| **address_id** | **String** | Registered address ID to delete. | |
|
|
218
|
+
|
|
219
|
+
### Return type
|
|
220
|
+
|
|
221
|
+
[**DeleteFunction200Response**](DeleteFunction200Response.md)
|
|
222
|
+
|
|
223
|
+
### Authorization
|
|
224
|
+
|
|
225
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
226
|
+
|
|
227
|
+
### HTTP request headers
|
|
228
|
+
|
|
229
|
+
- **Content-Type**: Not defined
|
|
230
|
+
- **Accept**: application/json
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
## delete_wallet_webhook
|
|
234
|
+
|
|
235
|
+
> <DeleteFunction200Response> delete_wallet_webhook(webhook_id)
|
|
236
|
+
|
|
237
|
+
Delete a wallet webhook
|
|
238
|
+
|
|
239
|
+
Permanently delete a wallet webhook. Delivery will stop immediately.
|
|
240
|
+
|
|
241
|
+
### Examples
|
|
242
|
+
|
|
243
|
+
```ruby
|
|
244
|
+
require 'time'
|
|
245
|
+
require 'mudbase'
|
|
246
|
+
# setup authorization
|
|
247
|
+
Mudbase.configure do |config|
|
|
248
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
249
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
250
|
+
end
|
|
251
|
+
|
|
252
|
+
api_instance = Mudbase::WalletApi.new
|
|
253
|
+
webhook_id = 'webhook_id_example' # String | Webhook ID (MongoDB ObjectId) to delete.
|
|
254
|
+
|
|
255
|
+
begin
|
|
256
|
+
# Delete a wallet webhook
|
|
257
|
+
result = api_instance.delete_wallet_webhook(webhook_id)
|
|
258
|
+
p result
|
|
259
|
+
rescue Mudbase::ApiError => e
|
|
260
|
+
puts "Error when calling WalletApi->delete_wallet_webhook: #{e}"
|
|
261
|
+
end
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
#### Using the delete_wallet_webhook_with_http_info variant
|
|
265
|
+
|
|
266
|
+
This returns an Array which contains the response data, status code and headers.
|
|
267
|
+
|
|
268
|
+
> <Array(<DeleteFunction200Response>, Integer, Hash)> delete_wallet_webhook_with_http_info(webhook_id)
|
|
269
|
+
|
|
270
|
+
```ruby
|
|
271
|
+
begin
|
|
272
|
+
# Delete a wallet webhook
|
|
273
|
+
data, status_code, headers = api_instance.delete_wallet_webhook_with_http_info(webhook_id)
|
|
274
|
+
p status_code # => 2xx
|
|
275
|
+
p headers # => { ... }
|
|
276
|
+
p data # => <DeleteFunction200Response>
|
|
277
|
+
rescue Mudbase::ApiError => e
|
|
278
|
+
puts "Error when calling WalletApi->delete_wallet_webhook_with_http_info: #{e}"
|
|
279
|
+
end
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
### Parameters
|
|
283
|
+
|
|
284
|
+
| Name | Type | Description | Notes |
|
|
285
|
+
| ---- | ---- | ----------- | ----- |
|
|
286
|
+
| **webhook_id** | **String** | Webhook ID (MongoDB ObjectId) to delete. | |
|
|
287
|
+
|
|
288
|
+
### Return type
|
|
289
|
+
|
|
290
|
+
[**DeleteFunction200Response**](DeleteFunction200Response.md)
|
|
291
|
+
|
|
292
|
+
### Authorization
|
|
293
|
+
|
|
294
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
295
|
+
|
|
296
|
+
### HTTP request headers
|
|
297
|
+
|
|
298
|
+
- **Content-Type**: Not defined
|
|
299
|
+
- **Accept**: application/json
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
## estimate_non_custodial_gas
|
|
303
|
+
|
|
304
|
+
> <EstimateNonCustodialGas200Response> estimate_non_custodial_gas(estimate_non_custodial_gas_request)
|
|
305
|
+
|
|
306
|
+
Estimate network fee from blockchain (all supported chains; not controlled by Mudbase)
|
|
307
|
+
|
|
308
|
+
**Network fee (from blockchain only).** Returns network fee **estimated directly from the blockchain** via RPC or fee APIs. **Not controlled by Mudbase.** Both POST /api/wallet/estimate-network-fee (or calculate-fee) and this endpoint return network fee only; use either for gas/fee display. This endpoint is chain-oriented and supports full transaction shape for EVM. **EVM chains:** ethereum, polygon, arbitrum, optimism, base, bsc, binance, avalanche, celo — require `transaction` (from, and to/value or tokenAddress/amount). Response includes gasLimit, gasPrice, networkFee, estimatedTime, currency. **Non-EVM chains:** bitcoin, litecoin, dogecoin, solana, tron, ton, cardano — only `chain` is required; `transaction` is optional/ignored. Returns networkFee, estimatedTime, currency (and e.g. satPerVb for UTXO). See docs/FEE_ARCHITECTURE.md. Results cached 15s.
|
|
309
|
+
|
|
310
|
+
### Examples
|
|
311
|
+
|
|
312
|
+
```ruby
|
|
313
|
+
require 'time'
|
|
314
|
+
require 'mudbase'
|
|
315
|
+
# setup authorization
|
|
316
|
+
Mudbase.configure do |config|
|
|
317
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
318
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
319
|
+
end
|
|
320
|
+
|
|
321
|
+
api_instance = Mudbase::WalletApi.new
|
|
322
|
+
estimate_non_custodial_gas_request = Mudbase::EstimateNonCustodialGasRequest.new({chain: 'ethereum'}) # EstimateNonCustodialGasRequest | Chain and optional transaction shape (required for EVM). Returns network fee from blockchain.
|
|
323
|
+
|
|
324
|
+
begin
|
|
325
|
+
# Estimate network fee from blockchain (all supported chains; not controlled by Mudbase)
|
|
326
|
+
result = api_instance.estimate_non_custodial_gas(estimate_non_custodial_gas_request)
|
|
327
|
+
p result
|
|
328
|
+
rescue Mudbase::ApiError => e
|
|
329
|
+
puts "Error when calling WalletApi->estimate_non_custodial_gas: #{e}"
|
|
330
|
+
end
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
#### Using the estimate_non_custodial_gas_with_http_info variant
|
|
334
|
+
|
|
335
|
+
This returns an Array which contains the response data, status code and headers.
|
|
336
|
+
|
|
337
|
+
> <Array(<EstimateNonCustodialGas200Response>, Integer, Hash)> estimate_non_custodial_gas_with_http_info(estimate_non_custodial_gas_request)
|
|
338
|
+
|
|
339
|
+
```ruby
|
|
340
|
+
begin
|
|
341
|
+
# Estimate network fee from blockchain (all supported chains; not controlled by Mudbase)
|
|
342
|
+
data, status_code, headers = api_instance.estimate_non_custodial_gas_with_http_info(estimate_non_custodial_gas_request)
|
|
343
|
+
p status_code # => 2xx
|
|
344
|
+
p headers # => { ... }
|
|
345
|
+
p data # => <EstimateNonCustodialGas200Response>
|
|
346
|
+
rescue Mudbase::ApiError => e
|
|
347
|
+
puts "Error when calling WalletApi->estimate_non_custodial_gas_with_http_info: #{e}"
|
|
348
|
+
end
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
### Parameters
|
|
352
|
+
|
|
353
|
+
| Name | Type | Description | Notes |
|
|
354
|
+
| ---- | ---- | ----------- | ----- |
|
|
355
|
+
| **estimate_non_custodial_gas_request** | [**EstimateNonCustodialGasRequest**](EstimateNonCustodialGasRequest.md) | Chain and optional transaction shape (required for EVM). Returns network fee from blockchain. | |
|
|
356
|
+
|
|
357
|
+
### Return type
|
|
358
|
+
|
|
359
|
+
[**EstimateNonCustodialGas200Response**](EstimateNonCustodialGas200Response.md)
|
|
360
|
+
|
|
361
|
+
### Authorization
|
|
362
|
+
|
|
363
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
364
|
+
|
|
365
|
+
### HTTP request headers
|
|
366
|
+
|
|
367
|
+
- **Content-Type**: application/json
|
|
368
|
+
- **Accept**: application/json
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
## get_cancel_params
|
|
372
|
+
|
|
373
|
+
> <GetCancelParams200Response> get_cancel_params(get_cancel_params_request)
|
|
374
|
+
|
|
375
|
+
Get replacement tx params for cancel (stuck EVM tx)
|
|
376
|
+
|
|
377
|
+
Returns **replacement transaction params** to cancel a stuck EVM transaction (same nonce, to=self, value=0, data=0x, higher gas). Client signs and broadcasts via POST /api/wallet/non-custodial/broadcast. Address must be registered for your organization. EVM chains only.
|
|
378
|
+
|
|
379
|
+
### Examples
|
|
380
|
+
|
|
381
|
+
```ruby
|
|
382
|
+
require 'time'
|
|
383
|
+
require 'mudbase'
|
|
384
|
+
# setup authorization
|
|
385
|
+
Mudbase.configure do |config|
|
|
386
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
387
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
388
|
+
end
|
|
389
|
+
|
|
390
|
+
api_instance = Mudbase::WalletApi.new
|
|
391
|
+
get_cancel_params_request = Mudbase::GetCancelParamsRequest.new({chain: 'ethereum'}) # GetCancelParamsRequest | Stuck transaction identifier (txId or txHash) and EVM chain for cancel.
|
|
392
|
+
|
|
393
|
+
begin
|
|
394
|
+
# Get replacement tx params for cancel (stuck EVM tx)
|
|
395
|
+
result = api_instance.get_cancel_params(get_cancel_params_request)
|
|
396
|
+
p result
|
|
397
|
+
rescue Mudbase::ApiError => e
|
|
398
|
+
puts "Error when calling WalletApi->get_cancel_params: #{e}"
|
|
399
|
+
end
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
#### Using the get_cancel_params_with_http_info variant
|
|
403
|
+
|
|
404
|
+
This returns an Array which contains the response data, status code and headers.
|
|
405
|
+
|
|
406
|
+
> <Array(<GetCancelParams200Response>, Integer, Hash)> get_cancel_params_with_http_info(get_cancel_params_request)
|
|
407
|
+
|
|
408
|
+
```ruby
|
|
409
|
+
begin
|
|
410
|
+
# Get replacement tx params for cancel (stuck EVM tx)
|
|
411
|
+
data, status_code, headers = api_instance.get_cancel_params_with_http_info(get_cancel_params_request)
|
|
412
|
+
p status_code # => 2xx
|
|
413
|
+
p headers # => { ... }
|
|
414
|
+
p data # => <GetCancelParams200Response>
|
|
415
|
+
rescue Mudbase::ApiError => e
|
|
416
|
+
puts "Error when calling WalletApi->get_cancel_params_with_http_info: #{e}"
|
|
417
|
+
end
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### Parameters
|
|
421
|
+
|
|
422
|
+
| Name | Type | Description | Notes |
|
|
423
|
+
| ---- | ---- | ----------- | ----- |
|
|
424
|
+
| **get_cancel_params_request** | [**GetCancelParamsRequest**](GetCancelParamsRequest.md) | Stuck transaction identifier (txId or txHash) and EVM chain for cancel. | |
|
|
425
|
+
|
|
426
|
+
### Return type
|
|
427
|
+
|
|
428
|
+
[**GetCancelParams200Response**](GetCancelParams200Response.md)
|
|
429
|
+
|
|
430
|
+
### Authorization
|
|
431
|
+
|
|
432
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
433
|
+
|
|
434
|
+
### HTTP request headers
|
|
435
|
+
|
|
436
|
+
- **Content-Type**: application/json
|
|
437
|
+
- **Accept**: application/json
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
## get_non_custodial_address
|
|
441
|
+
|
|
442
|
+
> <NonCustodialAddressResponse> get_non_custodial_address(address_id)
|
|
443
|
+
|
|
444
|
+
Get non-custodial address by ID
|
|
445
|
+
|
|
446
|
+
Returns metadata and status for a single registered non-custodial address (ID, address, chain, label, org, project, derivationPath, isActive, timestamps).
|
|
447
|
+
|
|
448
|
+
### Examples
|
|
449
|
+
|
|
450
|
+
```ruby
|
|
451
|
+
require 'time'
|
|
452
|
+
require 'mudbase'
|
|
453
|
+
# setup authorization
|
|
454
|
+
Mudbase.configure do |config|
|
|
455
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
456
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
457
|
+
end
|
|
458
|
+
|
|
459
|
+
api_instance = Mudbase::WalletApi.new
|
|
460
|
+
address_id = 'address_id_example' # String | Registered address ID (MongoDB ObjectId).
|
|
461
|
+
|
|
462
|
+
begin
|
|
463
|
+
# Get non-custodial address by ID
|
|
464
|
+
result = api_instance.get_non_custodial_address(address_id)
|
|
465
|
+
p result
|
|
466
|
+
rescue Mudbase::ApiError => e
|
|
467
|
+
puts "Error when calling WalletApi->get_non_custodial_address: #{e}"
|
|
468
|
+
end
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
#### Using the get_non_custodial_address_with_http_info variant
|
|
472
|
+
|
|
473
|
+
This returns an Array which contains the response data, status code and headers.
|
|
474
|
+
|
|
475
|
+
> <Array(<NonCustodialAddressResponse>, Integer, Hash)> get_non_custodial_address_with_http_info(address_id)
|
|
476
|
+
|
|
477
|
+
```ruby
|
|
478
|
+
begin
|
|
479
|
+
# Get non-custodial address by ID
|
|
480
|
+
data, status_code, headers = api_instance.get_non_custodial_address_with_http_info(address_id)
|
|
481
|
+
p status_code # => 2xx
|
|
482
|
+
p headers # => { ... }
|
|
483
|
+
p data # => <NonCustodialAddressResponse>
|
|
484
|
+
rescue Mudbase::ApiError => e
|
|
485
|
+
puts "Error when calling WalletApi->get_non_custodial_address_with_http_info: #{e}"
|
|
486
|
+
end
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
### Parameters
|
|
490
|
+
|
|
491
|
+
| Name | Type | Description | Notes |
|
|
492
|
+
| ---- | ---- | ----------- | ----- |
|
|
493
|
+
| **address_id** | **String** | Registered address ID (MongoDB ObjectId). | |
|
|
494
|
+
|
|
495
|
+
### Return type
|
|
496
|
+
|
|
497
|
+
[**NonCustodialAddressResponse**](NonCustodialAddressResponse.md)
|
|
498
|
+
|
|
499
|
+
### Authorization
|
|
500
|
+
|
|
501
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
502
|
+
|
|
503
|
+
### HTTP request headers
|
|
504
|
+
|
|
505
|
+
- **Content-Type**: Not defined
|
|
506
|
+
- **Accept**: application/json
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
## get_non_custodial_balance
|
|
510
|
+
|
|
511
|
+
> <GetNonCustodialBalance200Response> get_non_custodial_balance(address_id)
|
|
512
|
+
|
|
513
|
+
Get balance for a non-custodial address
|
|
514
|
+
|
|
515
|
+
Returns native token balance (confirmed, unconfirmed, total, currency) for a registered non-custodial address. Updated periodically from the chain.
|
|
516
|
+
|
|
517
|
+
### Examples
|
|
518
|
+
|
|
519
|
+
```ruby
|
|
520
|
+
require 'time'
|
|
521
|
+
require 'mudbase'
|
|
522
|
+
# setup authorization
|
|
523
|
+
Mudbase.configure do |config|
|
|
524
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
525
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
api_instance = Mudbase::WalletApi.new
|
|
529
|
+
address_id = 'address_id_example' # String | Registered address ID.
|
|
530
|
+
|
|
531
|
+
begin
|
|
532
|
+
# Get balance for a non-custodial address
|
|
533
|
+
result = api_instance.get_non_custodial_balance(address_id)
|
|
534
|
+
p result
|
|
535
|
+
rescue Mudbase::ApiError => e
|
|
536
|
+
puts "Error when calling WalletApi->get_non_custodial_balance: #{e}"
|
|
537
|
+
end
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
#### Using the get_non_custodial_balance_with_http_info variant
|
|
541
|
+
|
|
542
|
+
This returns an Array which contains the response data, status code and headers.
|
|
543
|
+
|
|
544
|
+
> <Array(<GetNonCustodialBalance200Response>, Integer, Hash)> get_non_custodial_balance_with_http_info(address_id)
|
|
545
|
+
|
|
546
|
+
```ruby
|
|
547
|
+
begin
|
|
548
|
+
# Get balance for a non-custodial address
|
|
549
|
+
data, status_code, headers = api_instance.get_non_custodial_balance_with_http_info(address_id)
|
|
550
|
+
p status_code # => 2xx
|
|
551
|
+
p headers # => { ... }
|
|
552
|
+
p data # => <GetNonCustodialBalance200Response>
|
|
553
|
+
rescue Mudbase::ApiError => e
|
|
554
|
+
puts "Error when calling WalletApi->get_non_custodial_balance_with_http_info: #{e}"
|
|
555
|
+
end
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
### Parameters
|
|
559
|
+
|
|
560
|
+
| Name | Type | Description | Notes |
|
|
561
|
+
| ---- | ---- | ----------- | ----- |
|
|
562
|
+
| **address_id** | **String** | Registered address ID. | |
|
|
563
|
+
|
|
564
|
+
### Return type
|
|
565
|
+
|
|
566
|
+
[**GetNonCustodialBalance200Response**](GetNonCustodialBalance200Response.md)
|
|
567
|
+
|
|
568
|
+
### Authorization
|
|
569
|
+
|
|
570
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
571
|
+
|
|
572
|
+
### HTTP request headers
|
|
573
|
+
|
|
574
|
+
- **Content-Type**: Not defined
|
|
575
|
+
- **Accept**: application/json
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
## get_non_custodial_transaction_by_hash
|
|
579
|
+
|
|
580
|
+
> <GetNonCustodialTransactionByHash200Response> get_non_custodial_transaction_by_hash(tx_hash, chain)
|
|
581
|
+
|
|
582
|
+
Get transaction by hash
|
|
583
|
+
|
|
584
|
+
Returns a transaction by its hash. The **chain** query parameter is required because the same hash format can exist on different chains (e.g. 0x-style on EVM chains).
|
|
585
|
+
|
|
586
|
+
### Examples
|
|
587
|
+
|
|
588
|
+
```ruby
|
|
589
|
+
require 'time'
|
|
590
|
+
require 'mudbase'
|
|
591
|
+
# setup authorization
|
|
592
|
+
Mudbase.configure do |config|
|
|
593
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
594
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
595
|
+
end
|
|
596
|
+
|
|
597
|
+
api_instance = Mudbase::WalletApi.new
|
|
598
|
+
tx_hash = 'tx_hash_example' # String | Transaction hash (e.g. 0x... for EVM, or block explorer format for UTXO)
|
|
599
|
+
chain = 'ethereum' # String | Chain the transaction belongs to (required for lookup)
|
|
600
|
+
|
|
601
|
+
begin
|
|
602
|
+
# Get transaction by hash
|
|
603
|
+
result = api_instance.get_non_custodial_transaction_by_hash(tx_hash, chain)
|
|
604
|
+
p result
|
|
605
|
+
rescue Mudbase::ApiError => e
|
|
606
|
+
puts "Error when calling WalletApi->get_non_custodial_transaction_by_hash: #{e}"
|
|
607
|
+
end
|
|
608
|
+
```
|
|
609
|
+
|
|
610
|
+
#### Using the get_non_custodial_transaction_by_hash_with_http_info variant
|
|
611
|
+
|
|
612
|
+
This returns an Array which contains the response data, status code and headers.
|
|
613
|
+
|
|
614
|
+
> <Array(<GetNonCustodialTransactionByHash200Response>, Integer, Hash)> get_non_custodial_transaction_by_hash_with_http_info(tx_hash, chain)
|
|
615
|
+
|
|
616
|
+
```ruby
|
|
617
|
+
begin
|
|
618
|
+
# Get transaction by hash
|
|
619
|
+
data, status_code, headers = api_instance.get_non_custodial_transaction_by_hash_with_http_info(tx_hash, chain)
|
|
620
|
+
p status_code # => 2xx
|
|
621
|
+
p headers # => { ... }
|
|
622
|
+
p data # => <GetNonCustodialTransactionByHash200Response>
|
|
623
|
+
rescue Mudbase::ApiError => e
|
|
624
|
+
puts "Error when calling WalletApi->get_non_custodial_transaction_by_hash_with_http_info: #{e}"
|
|
625
|
+
end
|
|
626
|
+
```
|
|
627
|
+
|
|
628
|
+
### Parameters
|
|
629
|
+
|
|
630
|
+
| Name | Type | Description | Notes |
|
|
631
|
+
| ---- | ---- | ----------- | ----- |
|
|
632
|
+
| **tx_hash** | **String** | Transaction hash (e.g. 0x... for EVM, or block explorer format for UTXO) | |
|
|
633
|
+
| **chain** | **String** | Chain the transaction belongs to (required for lookup) | |
|
|
634
|
+
|
|
635
|
+
### Return type
|
|
636
|
+
|
|
637
|
+
[**GetNonCustodialTransactionByHash200Response**](GetNonCustodialTransactionByHash200Response.md)
|
|
638
|
+
|
|
639
|
+
### Authorization
|
|
640
|
+
|
|
641
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
642
|
+
|
|
643
|
+
### HTTP request headers
|
|
644
|
+
|
|
645
|
+
- **Content-Type**: Not defined
|
|
646
|
+
- **Accept**: application/json
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
## get_non_custodial_transactions
|
|
650
|
+
|
|
651
|
+
> <GetNonCustodialTransactions200Response> get_non_custodial_transactions(address_id, opts)
|
|
652
|
+
|
|
653
|
+
Get transaction history for a non-custodial address
|
|
654
|
+
|
|
655
|
+
Returns paginated transaction history for a registered non-custodial address (incoming/outgoing, status, confirmations, amounts).
|
|
656
|
+
|
|
657
|
+
### Examples
|
|
658
|
+
|
|
659
|
+
```ruby
|
|
660
|
+
require 'time'
|
|
661
|
+
require 'mudbase'
|
|
662
|
+
# setup authorization
|
|
663
|
+
Mudbase.configure do |config|
|
|
664
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
665
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
666
|
+
end
|
|
667
|
+
|
|
668
|
+
api_instance = Mudbase::WalletApi.new
|
|
669
|
+
address_id = 'address_id_example' # String | Registered address ID.
|
|
670
|
+
opts = {
|
|
671
|
+
limit: 56, # Integer | Number of transactions per page.
|
|
672
|
+
page: 56 # Integer | Page number (1-based).
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
begin
|
|
676
|
+
# Get transaction history for a non-custodial address
|
|
677
|
+
result = api_instance.get_non_custodial_transactions(address_id, opts)
|
|
678
|
+
p result
|
|
679
|
+
rescue Mudbase::ApiError => e
|
|
680
|
+
puts "Error when calling WalletApi->get_non_custodial_transactions: #{e}"
|
|
681
|
+
end
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
#### Using the get_non_custodial_transactions_with_http_info variant
|
|
685
|
+
|
|
686
|
+
This returns an Array which contains the response data, status code and headers.
|
|
687
|
+
|
|
688
|
+
> <Array(<GetNonCustodialTransactions200Response>, Integer, Hash)> get_non_custodial_transactions_with_http_info(address_id, opts)
|
|
689
|
+
|
|
690
|
+
```ruby
|
|
691
|
+
begin
|
|
692
|
+
# Get transaction history for a non-custodial address
|
|
693
|
+
data, status_code, headers = api_instance.get_non_custodial_transactions_with_http_info(address_id, opts)
|
|
694
|
+
p status_code # => 2xx
|
|
695
|
+
p headers # => { ... }
|
|
696
|
+
p data # => <GetNonCustodialTransactions200Response>
|
|
697
|
+
rescue Mudbase::ApiError => e
|
|
698
|
+
puts "Error when calling WalletApi->get_non_custodial_transactions_with_http_info: #{e}"
|
|
699
|
+
end
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
### Parameters
|
|
703
|
+
|
|
704
|
+
| Name | Type | Description | Notes |
|
|
705
|
+
| ---- | ---- | ----------- | ----- |
|
|
706
|
+
| **address_id** | **String** | Registered address ID. | |
|
|
707
|
+
| **limit** | **Integer** | Number of transactions per page. | [optional][default to 50] |
|
|
708
|
+
| **page** | **Integer** | Page number (1-based). | [optional][default to 1] |
|
|
709
|
+
|
|
710
|
+
### Return type
|
|
711
|
+
|
|
712
|
+
[**GetNonCustodialTransactions200Response**](GetNonCustodialTransactions200Response.md)
|
|
713
|
+
|
|
714
|
+
### Authorization
|
|
715
|
+
|
|
716
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
717
|
+
|
|
718
|
+
### HTTP request headers
|
|
719
|
+
|
|
720
|
+
- **Content-Type**: Not defined
|
|
721
|
+
- **Accept**: application/json
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
## get_speed_up_params
|
|
725
|
+
|
|
726
|
+
> <GetSpeedUpParams200Response> get_speed_up_params(get_speed_up_params_request)
|
|
727
|
+
|
|
728
|
+
Get replacement tx params for speed-up (stuck EVM tx)
|
|
729
|
+
|
|
730
|
+
Returns **replacement transaction params** for a stuck EVM transaction (same nonce, same to/value/data, higher gas). Client signs the replacement and broadcasts via POST /api/wallet/non-custodial/broadcast. Address must be registered for your organization. Use when a tx has been pending >5 min (stuck). EVM chains only.
|
|
731
|
+
|
|
732
|
+
### Examples
|
|
733
|
+
|
|
734
|
+
```ruby
|
|
735
|
+
require 'time'
|
|
736
|
+
require 'mudbase'
|
|
737
|
+
# setup authorization
|
|
738
|
+
Mudbase.configure do |config|
|
|
739
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
740
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
api_instance = Mudbase::WalletApi.new
|
|
744
|
+
get_speed_up_params_request = Mudbase::GetSpeedUpParamsRequest.new({chain: 'ethereum'}) # GetSpeedUpParamsRequest | Stuck transaction identifier (txId or txHash) and EVM chain.
|
|
745
|
+
|
|
746
|
+
begin
|
|
747
|
+
# Get replacement tx params for speed-up (stuck EVM tx)
|
|
748
|
+
result = api_instance.get_speed_up_params(get_speed_up_params_request)
|
|
749
|
+
p result
|
|
750
|
+
rescue Mudbase::ApiError => e
|
|
751
|
+
puts "Error when calling WalletApi->get_speed_up_params: #{e}"
|
|
752
|
+
end
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
#### Using the get_speed_up_params_with_http_info variant
|
|
756
|
+
|
|
757
|
+
This returns an Array which contains the response data, status code and headers.
|
|
758
|
+
|
|
759
|
+
> <Array(<GetSpeedUpParams200Response>, Integer, Hash)> get_speed_up_params_with_http_info(get_speed_up_params_request)
|
|
760
|
+
|
|
761
|
+
```ruby
|
|
762
|
+
begin
|
|
763
|
+
# Get replacement tx params for speed-up (stuck EVM tx)
|
|
764
|
+
data, status_code, headers = api_instance.get_speed_up_params_with_http_info(get_speed_up_params_request)
|
|
765
|
+
p status_code # => 2xx
|
|
766
|
+
p headers # => { ... }
|
|
767
|
+
p data # => <GetSpeedUpParams200Response>
|
|
768
|
+
rescue Mudbase::ApiError => e
|
|
769
|
+
puts "Error when calling WalletApi->get_speed_up_params_with_http_info: #{e}"
|
|
770
|
+
end
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
### Parameters
|
|
774
|
+
|
|
775
|
+
| Name | Type | Description | Notes |
|
|
776
|
+
| ---- | ---- | ----------- | ----- |
|
|
777
|
+
| **get_speed_up_params_request** | [**GetSpeedUpParamsRequest**](GetSpeedUpParamsRequest.md) | Stuck transaction identifier (txId or txHash) and EVM chain. | |
|
|
778
|
+
|
|
779
|
+
### Return type
|
|
780
|
+
|
|
781
|
+
[**GetSpeedUpParams200Response**](GetSpeedUpParams200Response.md)
|
|
782
|
+
|
|
783
|
+
### Authorization
|
|
784
|
+
|
|
785
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
786
|
+
|
|
787
|
+
### HTTP request headers
|
|
788
|
+
|
|
789
|
+
- **Content-Type**: application/json
|
|
790
|
+
- **Accept**: application/json
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
## get_wallet_webhook_logs
|
|
794
|
+
|
|
795
|
+
> <GetWalletWebhookLogs200Response> get_wallet_webhook_logs(webhook_id, opts)
|
|
796
|
+
|
|
797
|
+
Get webhook delivery logs
|
|
798
|
+
|
|
799
|
+
List delivery attempts for a wallet webhook (success/failure, payload, response, duration). Paginated by limit.
|
|
800
|
+
|
|
801
|
+
### Examples
|
|
802
|
+
|
|
803
|
+
```ruby
|
|
804
|
+
require 'time'
|
|
805
|
+
require 'mudbase'
|
|
806
|
+
# setup authorization
|
|
807
|
+
Mudbase.configure do |config|
|
|
808
|
+
# Configure API key authorization: ApiKeyAuth
|
|
809
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
810
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
811
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
812
|
+
|
|
813
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
814
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
815
|
+
end
|
|
816
|
+
|
|
817
|
+
api_instance = Mudbase::WalletApi.new
|
|
818
|
+
webhook_id = 'webhook_id_example' # String | Webhook ID (MongoDB ObjectId) to get logs for.
|
|
819
|
+
opts = {
|
|
820
|
+
limit: 56 # Integer | Maximum number of log entries to return.
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
begin
|
|
824
|
+
# Get webhook delivery logs
|
|
825
|
+
result = api_instance.get_wallet_webhook_logs(webhook_id, opts)
|
|
826
|
+
p result
|
|
827
|
+
rescue Mudbase::ApiError => e
|
|
828
|
+
puts "Error when calling WalletApi->get_wallet_webhook_logs: #{e}"
|
|
829
|
+
end
|
|
830
|
+
```
|
|
831
|
+
|
|
832
|
+
#### Using the get_wallet_webhook_logs_with_http_info variant
|
|
833
|
+
|
|
834
|
+
This returns an Array which contains the response data, status code and headers.
|
|
835
|
+
|
|
836
|
+
> <Array(<GetWalletWebhookLogs200Response>, Integer, Hash)> get_wallet_webhook_logs_with_http_info(webhook_id, opts)
|
|
837
|
+
|
|
838
|
+
```ruby
|
|
839
|
+
begin
|
|
840
|
+
# Get webhook delivery logs
|
|
841
|
+
data, status_code, headers = api_instance.get_wallet_webhook_logs_with_http_info(webhook_id, opts)
|
|
842
|
+
p status_code # => 2xx
|
|
843
|
+
p headers # => { ... }
|
|
844
|
+
p data # => <GetWalletWebhookLogs200Response>
|
|
845
|
+
rescue Mudbase::ApiError => e
|
|
846
|
+
puts "Error when calling WalletApi->get_wallet_webhook_logs_with_http_info: #{e}"
|
|
847
|
+
end
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
### Parameters
|
|
851
|
+
|
|
852
|
+
| Name | Type | Description | Notes |
|
|
853
|
+
| ---- | ---- | ----------- | ----- |
|
|
854
|
+
| **webhook_id** | **String** | Webhook ID (MongoDB ObjectId) to get logs for. | |
|
|
855
|
+
| **limit** | **Integer** | Maximum number of log entries to return. | [optional][default to 50] |
|
|
856
|
+
|
|
857
|
+
### Return type
|
|
858
|
+
|
|
859
|
+
[**GetWalletWebhookLogs200Response**](GetWalletWebhookLogs200Response.md)
|
|
860
|
+
|
|
861
|
+
### Authorization
|
|
862
|
+
|
|
863
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
864
|
+
|
|
865
|
+
### HTTP request headers
|
|
866
|
+
|
|
867
|
+
- **Content-Type**: Not defined
|
|
868
|
+
- **Accept**: application/json
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
## list_non_custodial_addresses
|
|
872
|
+
|
|
873
|
+
> <ListNonCustodialAddresses200Response> list_non_custodial_addresses(opts)
|
|
874
|
+
|
|
875
|
+
List registered non-custodial addresses
|
|
876
|
+
|
|
877
|
+
Returns all non-custodial addresses registered for the current project/organization. Optional filters by chain and projectId. Addresses must be registered via POST /api/wallet/non-custodial/register-address before use.
|
|
878
|
+
|
|
879
|
+
### Examples
|
|
880
|
+
|
|
881
|
+
```ruby
|
|
882
|
+
require 'time'
|
|
883
|
+
require 'mudbase'
|
|
884
|
+
# setup authorization
|
|
885
|
+
Mudbase.configure do |config|
|
|
886
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
887
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
api_instance = Mudbase::WalletApi.new
|
|
891
|
+
opts = {
|
|
892
|
+
chain: 'ethereum', # String | Filter by chain (optional)
|
|
893
|
+
project_id: 'project_id_example' # String | Filter by project ID (optional).
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
begin
|
|
897
|
+
# List registered non-custodial addresses
|
|
898
|
+
result = api_instance.list_non_custodial_addresses(opts)
|
|
899
|
+
p result
|
|
900
|
+
rescue Mudbase::ApiError => e
|
|
901
|
+
puts "Error when calling WalletApi->list_non_custodial_addresses: #{e}"
|
|
902
|
+
end
|
|
903
|
+
```
|
|
904
|
+
|
|
905
|
+
#### Using the list_non_custodial_addresses_with_http_info variant
|
|
906
|
+
|
|
907
|
+
This returns an Array which contains the response data, status code and headers.
|
|
908
|
+
|
|
909
|
+
> <Array(<ListNonCustodialAddresses200Response>, Integer, Hash)> list_non_custodial_addresses_with_http_info(opts)
|
|
910
|
+
|
|
911
|
+
```ruby
|
|
912
|
+
begin
|
|
913
|
+
# List registered non-custodial addresses
|
|
914
|
+
data, status_code, headers = api_instance.list_non_custodial_addresses_with_http_info(opts)
|
|
915
|
+
p status_code # => 2xx
|
|
916
|
+
p headers # => { ... }
|
|
917
|
+
p data # => <ListNonCustodialAddresses200Response>
|
|
918
|
+
rescue Mudbase::ApiError => e
|
|
919
|
+
puts "Error when calling WalletApi->list_non_custodial_addresses_with_http_info: #{e}"
|
|
920
|
+
end
|
|
921
|
+
```
|
|
922
|
+
|
|
923
|
+
### Parameters
|
|
924
|
+
|
|
925
|
+
| Name | Type | Description | Notes |
|
|
926
|
+
| ---- | ---- | ----------- | ----- |
|
|
927
|
+
| **chain** | **String** | Filter by chain (optional) | [optional] |
|
|
928
|
+
| **project_id** | **String** | Filter by project ID (optional). | [optional] |
|
|
929
|
+
|
|
930
|
+
### Return type
|
|
931
|
+
|
|
932
|
+
[**ListNonCustodialAddresses200Response**](ListNonCustodialAddresses200Response.md)
|
|
933
|
+
|
|
934
|
+
### Authorization
|
|
935
|
+
|
|
936
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
937
|
+
|
|
938
|
+
### HTTP request headers
|
|
939
|
+
|
|
940
|
+
- **Content-Type**: Not defined
|
|
941
|
+
- **Accept**: application/json
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
## list_wallet_webhooks
|
|
945
|
+
|
|
946
|
+
> <ListWalletWebhooks200Response> list_wallet_webhooks(opts)
|
|
947
|
+
|
|
948
|
+
List wallet webhooks
|
|
949
|
+
|
|
950
|
+
Returns all wallet webhooks for the current context, optionally filtered by projectId. Includes delivery stats and active status.
|
|
951
|
+
|
|
952
|
+
### Examples
|
|
953
|
+
|
|
954
|
+
```ruby
|
|
955
|
+
require 'time'
|
|
956
|
+
require 'mudbase'
|
|
957
|
+
# setup authorization
|
|
958
|
+
Mudbase.configure do |config|
|
|
959
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
960
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
961
|
+
end
|
|
962
|
+
|
|
963
|
+
api_instance = Mudbase::WalletApi.new
|
|
964
|
+
opts = {
|
|
965
|
+
project_id: 'project_id_example' # String | Filter by project ID (optional).
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
begin
|
|
969
|
+
# List wallet webhooks
|
|
970
|
+
result = api_instance.list_wallet_webhooks(opts)
|
|
971
|
+
p result
|
|
972
|
+
rescue Mudbase::ApiError => e
|
|
973
|
+
puts "Error when calling WalletApi->list_wallet_webhooks: #{e}"
|
|
974
|
+
end
|
|
975
|
+
```
|
|
976
|
+
|
|
977
|
+
#### Using the list_wallet_webhooks_with_http_info variant
|
|
978
|
+
|
|
979
|
+
This returns an Array which contains the response data, status code and headers.
|
|
980
|
+
|
|
981
|
+
> <Array(<ListWalletWebhooks200Response>, Integer, Hash)> list_wallet_webhooks_with_http_info(opts)
|
|
982
|
+
|
|
983
|
+
```ruby
|
|
984
|
+
begin
|
|
985
|
+
# List wallet webhooks
|
|
986
|
+
data, status_code, headers = api_instance.list_wallet_webhooks_with_http_info(opts)
|
|
987
|
+
p status_code # => 2xx
|
|
988
|
+
p headers # => { ... }
|
|
989
|
+
p data # => <ListWalletWebhooks200Response>
|
|
990
|
+
rescue Mudbase::ApiError => e
|
|
991
|
+
puts "Error when calling WalletApi->list_wallet_webhooks_with_http_info: #{e}"
|
|
992
|
+
end
|
|
993
|
+
```
|
|
994
|
+
|
|
995
|
+
### Parameters
|
|
996
|
+
|
|
997
|
+
| Name | Type | Description | Notes |
|
|
998
|
+
| ---- | ---- | ----------- | ----- |
|
|
999
|
+
| **project_id** | **String** | Filter by project ID (optional). | [optional] |
|
|
1000
|
+
|
|
1001
|
+
### Return type
|
|
1002
|
+
|
|
1003
|
+
[**ListWalletWebhooks200Response**](ListWalletWebhooks200Response.md)
|
|
1004
|
+
|
|
1005
|
+
### Authorization
|
|
1006
|
+
|
|
1007
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
1008
|
+
|
|
1009
|
+
### HTTP request headers
|
|
1010
|
+
|
|
1011
|
+
- **Content-Type**: Not defined
|
|
1012
|
+
- **Accept**: application/json
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
## register_non_custodial_address
|
|
1016
|
+
|
|
1017
|
+
> <NonCustodialAddressResponse> register_non_custodial_address(register_non_custodial_address_request)
|
|
1018
|
+
|
|
1019
|
+
Register a non-custodial wallet address
|
|
1020
|
+
|
|
1021
|
+
Register a public wallet address for balance monitoring, transaction indexing, and webhook notifications. Keys are never sent to the server; generation and signing happen client-side only. Supports EVM, UTXO, Solana, Tron, TON, Cardano, and other chains. Optionally provide derivation path and label for multi-address tracking.
|
|
1022
|
+
|
|
1023
|
+
### Examples
|
|
1024
|
+
|
|
1025
|
+
```ruby
|
|
1026
|
+
require 'time'
|
|
1027
|
+
require 'mudbase'
|
|
1028
|
+
# setup authorization
|
|
1029
|
+
Mudbase.configure do |config|
|
|
1030
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
1031
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1032
|
+
end
|
|
1033
|
+
|
|
1034
|
+
api_instance = Mudbase::WalletApi.new
|
|
1035
|
+
register_non_custodial_address_request = Mudbase::RegisterNonCustodialAddressRequest.new({address: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb', chain: 'ethereum'}) # RegisterNonCustodialAddressRequest | Public address, chain identifier, and optional derivation path and label. projectId scopes the registration to a project.
|
|
1036
|
+
|
|
1037
|
+
begin
|
|
1038
|
+
# Register a non-custodial wallet address
|
|
1039
|
+
result = api_instance.register_non_custodial_address(register_non_custodial_address_request)
|
|
1040
|
+
p result
|
|
1041
|
+
rescue Mudbase::ApiError => e
|
|
1042
|
+
puts "Error when calling WalletApi->register_non_custodial_address: #{e}"
|
|
1043
|
+
end
|
|
1044
|
+
```
|
|
1045
|
+
|
|
1046
|
+
#### Using the register_non_custodial_address_with_http_info variant
|
|
1047
|
+
|
|
1048
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1049
|
+
|
|
1050
|
+
> <Array(<NonCustodialAddressResponse>, Integer, Hash)> register_non_custodial_address_with_http_info(register_non_custodial_address_request)
|
|
1051
|
+
|
|
1052
|
+
```ruby
|
|
1053
|
+
begin
|
|
1054
|
+
# Register a non-custodial wallet address
|
|
1055
|
+
data, status_code, headers = api_instance.register_non_custodial_address_with_http_info(register_non_custodial_address_request)
|
|
1056
|
+
p status_code # => 2xx
|
|
1057
|
+
p headers # => { ... }
|
|
1058
|
+
p data # => <NonCustodialAddressResponse>
|
|
1059
|
+
rescue Mudbase::ApiError => e
|
|
1060
|
+
puts "Error when calling WalletApi->register_non_custodial_address_with_http_info: #{e}"
|
|
1061
|
+
end
|
|
1062
|
+
```
|
|
1063
|
+
|
|
1064
|
+
### Parameters
|
|
1065
|
+
|
|
1066
|
+
| Name | Type | Description | Notes |
|
|
1067
|
+
| ---- | ---- | ----------- | ----- |
|
|
1068
|
+
| **register_non_custodial_address_request** | [**RegisterNonCustodialAddressRequest**](RegisterNonCustodialAddressRequest.md) | Public address, chain identifier, and optional derivation path and label. projectId scopes the registration to a project. | |
|
|
1069
|
+
|
|
1070
|
+
### Return type
|
|
1071
|
+
|
|
1072
|
+
[**NonCustodialAddressResponse**](NonCustodialAddressResponse.md)
|
|
1073
|
+
|
|
1074
|
+
### Authorization
|
|
1075
|
+
|
|
1076
|
+
[ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
1077
|
+
|
|
1078
|
+
### HTTP request headers
|
|
1079
|
+
|
|
1080
|
+
- **Content-Type**: application/json
|
|
1081
|
+
- **Accept**: application/json
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
## test_wallet_webhook
|
|
1085
|
+
|
|
1086
|
+
> <TestWalletWebhook200Response> test_wallet_webhook(test_wallet_webhook_request)
|
|
1087
|
+
|
|
1088
|
+
Test a webhook delivery (sends a single test payload)
|
|
1089
|
+
|
|
1090
|
+
Sends a test payload to the given URL to verify webhook connectivity and signature. Uses the same signing as real deliveries.
|
|
1091
|
+
|
|
1092
|
+
### Examples
|
|
1093
|
+
|
|
1094
|
+
```ruby
|
|
1095
|
+
require 'time'
|
|
1096
|
+
require 'mudbase'
|
|
1097
|
+
# setup authorization
|
|
1098
|
+
Mudbase.configure do |config|
|
|
1099
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1100
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
1101
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1102
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
1103
|
+
|
|
1104
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
1105
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1106
|
+
end
|
|
1107
|
+
|
|
1108
|
+
api_instance = Mudbase::WalletApi.new
|
|
1109
|
+
test_wallet_webhook_request = Mudbase::TestWalletWebhookRequest.new({url: 'url_example'}) # TestWalletWebhookRequest | URL to send the test POST to; optional secret and projectId for scoping; optional event type to simulate.
|
|
1110
|
+
|
|
1111
|
+
begin
|
|
1112
|
+
# Test a webhook delivery (sends a single test payload)
|
|
1113
|
+
result = api_instance.test_wallet_webhook(test_wallet_webhook_request)
|
|
1114
|
+
p result
|
|
1115
|
+
rescue Mudbase::ApiError => e
|
|
1116
|
+
puts "Error when calling WalletApi->test_wallet_webhook: #{e}"
|
|
1117
|
+
end
|
|
1118
|
+
```
|
|
1119
|
+
|
|
1120
|
+
#### Using the test_wallet_webhook_with_http_info variant
|
|
1121
|
+
|
|
1122
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1123
|
+
|
|
1124
|
+
> <Array(<TestWalletWebhook200Response>, Integer, Hash)> test_wallet_webhook_with_http_info(test_wallet_webhook_request)
|
|
1125
|
+
|
|
1126
|
+
```ruby
|
|
1127
|
+
begin
|
|
1128
|
+
# Test a webhook delivery (sends a single test payload)
|
|
1129
|
+
data, status_code, headers = api_instance.test_wallet_webhook_with_http_info(test_wallet_webhook_request)
|
|
1130
|
+
p status_code # => 2xx
|
|
1131
|
+
p headers # => { ... }
|
|
1132
|
+
p data # => <TestWalletWebhook200Response>
|
|
1133
|
+
rescue Mudbase::ApiError => e
|
|
1134
|
+
puts "Error when calling WalletApi->test_wallet_webhook_with_http_info: #{e}"
|
|
1135
|
+
end
|
|
1136
|
+
```
|
|
1137
|
+
|
|
1138
|
+
### Parameters
|
|
1139
|
+
|
|
1140
|
+
| Name | Type | Description | Notes |
|
|
1141
|
+
| ---- | ---- | ----------- | ----- |
|
|
1142
|
+
| **test_wallet_webhook_request** | [**TestWalletWebhookRequest**](TestWalletWebhookRequest.md) | URL to send the test POST to; optional secret and projectId for scoping; optional event type to simulate. | |
|
|
1143
|
+
|
|
1144
|
+
### Return type
|
|
1145
|
+
|
|
1146
|
+
[**TestWalletWebhook200Response**](TestWalletWebhook200Response.md)
|
|
1147
|
+
|
|
1148
|
+
### Authorization
|
|
1149
|
+
|
|
1150
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
1151
|
+
|
|
1152
|
+
### HTTP request headers
|
|
1153
|
+
|
|
1154
|
+
- **Content-Type**: application/json
|
|
1155
|
+
- **Accept**: application/json
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
## update_wallet_webhook
|
|
1159
|
+
|
|
1160
|
+
> <UpdateWalletWebhook200Response> update_wallet_webhook(webhook_id, update_wallet_webhook_request)
|
|
1161
|
+
|
|
1162
|
+
Update a wallet webhook
|
|
1163
|
+
|
|
1164
|
+
Update webhook URL, events, secret, or filters. Partially applied; only provided fields are updated.
|
|
1165
|
+
|
|
1166
|
+
### Examples
|
|
1167
|
+
|
|
1168
|
+
```ruby
|
|
1169
|
+
require 'time'
|
|
1170
|
+
require 'mudbase'
|
|
1171
|
+
# setup authorization
|
|
1172
|
+
Mudbase.configure do |config|
|
|
1173
|
+
# Configure API key authorization: ApiKeyAuth
|
|
1174
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
1175
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
1176
|
+
# config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
1177
|
+
|
|
1178
|
+
# Configure Bearer authorization (JWT): ProjectBearerAuth
|
|
1179
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1180
|
+
end
|
|
1181
|
+
|
|
1182
|
+
api_instance = Mudbase::WalletApi.new
|
|
1183
|
+
webhook_id = 'webhook_id_example' # String | Webhook ID (MongoDB ObjectId) to update.
|
|
1184
|
+
update_wallet_webhook_request = Mudbase::UpdateWalletWebhookRequest.new # UpdateWalletWebhookRequest | Fields to update (url, events, secret, filters). Omitted fields are left unchanged.
|
|
1185
|
+
|
|
1186
|
+
begin
|
|
1187
|
+
# Update a wallet webhook
|
|
1188
|
+
result = api_instance.update_wallet_webhook(webhook_id, update_wallet_webhook_request)
|
|
1189
|
+
p result
|
|
1190
|
+
rescue Mudbase::ApiError => e
|
|
1191
|
+
puts "Error when calling WalletApi->update_wallet_webhook: #{e}"
|
|
1192
|
+
end
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
#### Using the update_wallet_webhook_with_http_info variant
|
|
1196
|
+
|
|
1197
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1198
|
+
|
|
1199
|
+
> <Array(<UpdateWalletWebhook200Response>, Integer, Hash)> update_wallet_webhook_with_http_info(webhook_id, update_wallet_webhook_request)
|
|
1200
|
+
|
|
1201
|
+
```ruby
|
|
1202
|
+
begin
|
|
1203
|
+
# Update a wallet webhook
|
|
1204
|
+
data, status_code, headers = api_instance.update_wallet_webhook_with_http_info(webhook_id, update_wallet_webhook_request)
|
|
1205
|
+
p status_code # => 2xx
|
|
1206
|
+
p headers # => { ... }
|
|
1207
|
+
p data # => <UpdateWalletWebhook200Response>
|
|
1208
|
+
rescue Mudbase::ApiError => e
|
|
1209
|
+
puts "Error when calling WalletApi->update_wallet_webhook_with_http_info: #{e}"
|
|
1210
|
+
end
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
### Parameters
|
|
1214
|
+
|
|
1215
|
+
| Name | Type | Description | Notes |
|
|
1216
|
+
| ---- | ---- | ----------- | ----- |
|
|
1217
|
+
| **webhook_id** | **String** | Webhook ID (MongoDB ObjectId) to update. | |
|
|
1218
|
+
| **update_wallet_webhook_request** | [**UpdateWalletWebhookRequest**](UpdateWalletWebhookRequest.md) | Fields to update (url, events, secret, filters). Omitted fields are left unchanged. | |
|
|
1219
|
+
|
|
1220
|
+
### Return type
|
|
1221
|
+
|
|
1222
|
+
[**UpdateWalletWebhook200Response**](UpdateWalletWebhook200Response.md)
|
|
1223
|
+
|
|
1224
|
+
### Authorization
|
|
1225
|
+
|
|
1226
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [ProjectBearerAuth](../README.md#ProjectBearerAuth)
|
|
1227
|
+
|
|
1228
|
+
### HTTP request headers
|
|
1229
|
+
|
|
1230
|
+
- **Content-Type**: application/json
|
|
1231
|
+
- **Accept**: application/json
|
|
1232
|
+
|