diff --git a/.github/scripts/fetch-frenglish-configuration.js b/.github/scripts/fetch-frenglish-configuration.js new file mode 100644 index 00000000..fffcea21 --- /dev/null +++ b/.github/scripts/fetch-frenglish-configuration.js @@ -0,0 +1,66 @@ +const fs = require('fs'); + +// Use dynamic import +(async () => { + const { FrenglishSDK } = await import('@frenglish/sdk'); + + async function fetchConfigAndSetOutputs() { + const apiKey = process.env.FRENGLISH_API_KEY; + + if (!apiKey) { + console.error('::error::FRENGLISH_API_KEY secret is not set.'); + process.exit(1); + } + + // Check if GITHUB_OUTPUT path is available + if (!process.env.GITHUB_OUTPUT) { + console.error('::error::GITHUB_OUTPUT environment variable is not set. Are you running this script in GitHub Actions?'); + process.exit(1); + } + + try { + console.log('Initializing Frenglish SDK...'); + const frenglish = FrenglishSDK(apiKey); // Assuming this is correct based on your usage + + console.log('Fetching default configuration from Frenglish SDK instance...'); + const config = await frenglish.getDefaultConfiguration(); + + if (!config || !config.originLanguage || !config.languages || !Array.isArray(config.languages)) { + console.error(`::error::Failed to retrieve a valid configuration object from SDK. Received: ${JSON.stringify(config)}`); + process.exit(1); + } + + const originLanguage = config.originLanguage; + const targetLanguages = config.languages; // Assuming 'languages' contains ALL languages including origin + + // It's safer to check if originLanguage is actually in the languages array before filtering + const actualTargetLanguages = targetLanguages.filter(lang => lang !== originLanguage); + + if (actualTargetLanguages.length === 0) { + console.warn('::warning::No target languages found in the configuration after filtering out the origin language.'); + } + + const targetLangsString = actualTargetLanguages.join(' '); // Create space-separated string + + console.log(`Source Language Determined: ${originLanguage}`); + console.log(`Target Languages Determined: ${targetLangsString}`); + + // --- Use GITHUB_OUTPUT to set outputs --- + // Write outputs to the file specified by GITHUB_OUTPUT + fs.appendFileSync(process.env.GITHUB_OUTPUT, `source_lang=${originLanguage}\n`); + fs.appendFileSync(process.env.GITHUB_OUTPUT, `target_langs=${targetLangsString}\n`); + // --- End of GITHUB_OUTPUT usage --- + + console.log('Outputs set successfully.'); + + } catch (error) { + console.error(`::error::Error during Frenglish configuration fetch: ${error.message}`); + process.exit(1); + } + } + + await fetchConfigAndSetOutputs(); +})().catch(error => { + console.error('::error::Fatal error executing script:', error); + process.exit(1); +}); \ No newline at end of file diff --git a/.github/scripts/translate.js b/.github/scripts/translate.js new file mode 100644 index 00000000..0463b15d --- /dev/null +++ b/.github/scripts/translate.js @@ -0,0 +1,217 @@ +const { execSync } = require('child_process'); +const fs = require('fs').promises; +const path = require('path'); + +// ================================================================================================== +// 🔧 REQUIRED CONFIGURATION – YOU MUST MODIFY THESE VALUES TO CONFIGURE THEIR TRANSLATION PATHS 🔧 +// ================================================================================================== + +// Path to your original language files (e.g., English source content) +const ORIGIN_LANGUAGE_DIR = path.resolve('.'); + +// Path where translated files will be saved (Base directory) +const TRANSLATION_OUTPUT_DIR = path.resolve('.'); + +// List of files or directories to exclude from processing +const EXCLUDED_FILES = ['package.json', 'package-lock.json', 'node_modules', 'docs.json']; + +// ============================================================ +// MODIFY BELOW THIS LINE FOR CUSTOM GITHUB ACTIONS +// ============================================================ + +(async () => { + const sdkModule = await import('@frenglish/sdk'); + const FrenglishSDK = sdkModule.FrenglishSDK; + if (!FrenglishSDK) throw new Error('FrenglishSDK not found in module exports.'); + + const FRENGLISH_API_KEY = process.env.FRENGLISH_API_KEY; + if (!FRENGLISH_API_KEY) { + console.error('❌ FRENGLISH_API_KEY environment variable not set. Aborting action.'); + process.exit(1); + } + const frenglish = FrenglishSDK(FRENGLISH_API_KEY); + + async function getDefaultBranch() { + try { + const response = await fetch(`https://api.github.com/repos/${process.env.GITHUB_REPOSITORY}`, { + headers: { + 'Authorization': `token ${process.env.GITHUB_TOKEN}`, + 'Accept': 'application/vnd.github.v3+json' + } + }); + const data = await response.json(); + return data.default_branch; + } catch (error) { + console.error(`❌ Failed to retrieve default branch: ${error.message}`); + return 'main'; + } + } + + async function isSupportedFile(filePath) { + try { + const relativeToOrigin = path.relative(ORIGIN_LANGUAGE_DIR, path.resolve(filePath)); + if (relativeToOrigin.startsWith('..') || relativeToOrigin === '') { + return false; + } + + if (EXCLUDED_FILES.some(excluded => filePath.includes(excluded))) { + console.log(`⏭️ Skipping (excluded): ${filePath}`); + return false; + } + + const config = await frenglish.getDefaultConfiguration(); + const languageCodes = await frenglish.getSupportedLanguages(); + const originLanguage = config.originLanguage.toLowerCase(); + + const pathParts = filePath.split(path.sep); + const languageDirIndex = pathParts.findIndex(part => + part.toLowerCase() === originLanguage || + languageCodes.some(lang => lang.toLowerCase() === part.toLowerCase()) + ); + + if (languageDirIndex !== -1 && pathParts[languageDirIndex].toLowerCase() !== originLanguage) { + console.log(`⏭️ Skipping (translated dir): ${filePath}`); + return false; + } + + const supportedFileTypes = await frenglish.getSupportedFileTypes(); + const validFileTypes = supportedFileTypes.filter(type => type && type.length > 0); + const ext = path.extname(filePath).toLowerCase().replace('.', ''); + + const isSupported = ext && validFileTypes.includes(ext); + return isSupported; + } catch (error) { + console.error(`❌ Error checking file support for ${filePath}: ${error.message}`); + return false; + } + } + + // Compares files changed in a PR (or files changed with a commit directly to default branch) + async function getChangedFiles() { + try { + const isPR = !!process.env.GITHUB_BASE_REF; + const currentBranch = process.env.GITHUB_HEAD_REF || process.env.GITHUB_REF.replace('refs/heads/', ''); + const defaultBranch = await getDefaultBranch(); + + if (!isPR && currentBranch !== defaultBranch) { + return []; + } + + // Figure out what we’re diffing against + const baseBranch = isPR ? process.env.GITHUB_BASE_REF : defaultBranch; + + let baseSha; + if (isPR) { + execSync(`git fetch --depth=1 origin ${baseBranch}:${baseBranch}`); + baseSha = execSync(`git merge-base ${baseBranch} HEAD`).toString().trim(); + } else { + baseSha = process.env.GITHUB_EVENT_BEFORE || execSync('git rev-parse HEAD^').toString().trim(); + } + + console.log(`🔀 Diff base: ${baseBranch} @ ${baseSha}`); + console.log(`🔝 Head : ${currentBranch} @ HEAD`); + + const output = execSync(`git diff --diff-filter=ACM --name-only ${baseSha} HEAD`).toString().trim(); + const changedFiles = output ? output.split('\n') : []; + const supportedFiles = []; + + for (const file of changedFiles) { + if (await isSupportedFile(file)) supportedFiles.push(file); + } + + console.log(`📦 Files queued for translation (${supportedFiles.length}): ${supportedFiles.join(', ') || 'None'}`); + return supportedFiles; + } catch (error) { + console.error(`❌ Error getting changed files: ${error.message}`); + return []; + } + } + + async function translateAndWriteFiles() { + try { + const config = await frenglish.getDefaultConfiguration(); + const originLanguage = config.originLanguage.toLowerCase(); + const filesToTranslate = await getChangedFiles(); + + if (!filesToTranslate.length) { + console.log('ℹ️ No eligible files found for translation. Exiting.'); + return; + } + + const fileContents = await Promise.all(filesToTranslate.map(async (file) => { + try { + const content = await fs.readFile(file, 'utf-8'); + // Use path relative to ORIGIN_LANGUAGE_DIR as the fileId + const fileId = path.relative(ORIGIN_LANGUAGE_DIR, file); + return { fileId: fileId, content: content }; + } catch (readError) { + console.error(`❌ Error reading file ${file}:`, readError.message); + return null; + } + })); + + const validFileContents = fileContents.filter(fc => fc !== null); + if (validFileContents.length === 0) { + console.log('⚠️ No readable file contents detected. Exiting.'); + return; + } + + const filenames = validFileContents.map(file => file.fileId); + const contents = validFileContents.map(file => file.content); + + console.log(`🚀 Initiating translation for ${filenames.length} file(s).`); + const translation = await frenglish.translate(contents, false, filenames); + console.log(`📤 Translation request submitted. ID: ${translation.translationId}`); + + for (const languageData of translation.content) { + const language = languageData.language; + // Skip writing files for the origin language if they are returned + if (language === originLanguage) { + console.log(`⏩ Skipping origin language (${language}).`); + continue; + } + + const languageOutputDir = path.join(TRANSLATION_OUTPUT_DIR, language); + try { + await fs.mkdir(languageOutputDir, { recursive: true }); + } catch (mkdirError) { + console.error(`❌ Unable to create directory ${languageOutputDir}: ${mkdirError.message}`); + continue; + } + + for (const translatedFile of languageData.files) { + const translatedFilePath = path.join(languageOutputDir, translatedFile.fileId); + + try { + await fs.mkdir(path.dirname(translatedFilePath), { recursive: true }); + } catch (mkdirError) { + console.error(`❌ Unable to create subdirectory ${path.dirname(translatedFilePath)}: ${mkdirError.message}`); + continue; + } + + // Write the file content if not empty + if (translatedFile.content && translatedFile.content.length > 0) { + try { + await fs.writeFile(translatedFilePath, translatedFile.content, 'utf8'); + console.log(`✅ Written: ${translatedFilePath}`); + } catch (writeError) { + console.error(`❌ Error writing ${translatedFilePath}: ${writeError.message}`); + } + } else { + console.warn(`⚠️ Empty content for ${translatedFile.fileId} (${language}). Skipping.`); + } + } + } + + console.log('🏁 Translation workflow complete. Git operations will be handled by the Action.'); + } catch (error) { + console.error('❌ Translation process failed:', error); + if (error.response?.data) { + console.error('🔍 Frenglish API details:', error.response.data); + } + process.exit(1); + } + } + + translateAndWriteFiles(); +})(); \ No newline at end of file diff --git a/.github/workflows/frenglish-translations.yaml b/.github/workflows/frenglish-translations.yaml new file mode 100644 index 00000000..532bcdbf --- /dev/null +++ b/.github/workflows/frenglish-translations.yaml @@ -0,0 +1,266 @@ +# ------------------------------------------------------------------------------ +# Frenglish Translation GitHub Action +# +# Workflow summary +# - PRs - Internal: always translate the diff to the PR base. +# • Example 1: Open PR => feature_1 → main +# • Example 2: Open PR => feature_1_fix → feature_1 +# +# - PRs - External: Only translate when external PR is merged +# • Example: merge PR => fork → main (from a contributor fork) +# +# - Default‑branch pushes: translate unless +# a) author is github‑actions[bot], or +# b) the push includes a commit with “chore(i18n): update translations” +# • Example: Hotfix push → main +# +# - Diff logic: compares to fork-point for PRs, or previous commit on main for direct pushes. +# - If changes are found: handles file renames/deletes, runs translation and formatting, +# then commits and pushes a single update from the bot. +# ------------------------------------------------------------------------------ + +name: Frenglish Translation +on: + # Run once per pull‑request (feature → any target) + pull_request: + types: [opened, synchronize, reopened] + + # Run again only when commits land on the default branch (e.g. master/main) + push: + branches: + - '**' # We filter below + +permissions: + contents: read + +jobs: + translate_and_format: + # Run if (a) it’s a PR OR (b) it’s a push *and* the ref equals the repo’s default branch + if: >- + github.event_name == 'pull_request' || + ( + github.event_name == 'push' && + github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && + !contains(github.event.head_commit.author.name, 'github-actions[bot]') && + !startsWith(github.event.head_commit.message, 'Merge ') + ) + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + # We check if commit message include `chore(i18n): update translations` and assume it's been fully translated if so + - name: Detect translation commit in push range + id: detect + if: github.event_name == 'push' # PRs always run + run: | + echo "Looking for 'chore(i18n): update translations' between ${{ github.event.before }}..${{ github.sha }}" + if git log --format=%B ${{ github.event.before }}..${{ github.sha }} | grep -qF 'chore(i18n): update translations'; then + echo "skip=true" >> "$GITHUB_OUTPUT" + else + echo "skip=false" >> "$GITHUB_OUTPUT" + fi + + - name: Checkout code + if: steps.detect.outputs.skip != 'true' + uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + fetch-depth: 0 + + - name: Setup Node.js + if: steps.detect.outputs.skip != 'true' + uses: actions/setup-node@v3 + with: + node-version: '18' # Or your preferred Node.js version >= 16 + + - name: Install dependencies + if: steps.detect.outputs.skip != 'true' + run: | + # Ensure you have a package.json and package-lock.json + # Add @frenglish/sdk to your package.json: npm install @frenglish/sdk --save + npm install + + - name: Setup Git User + if: steps.detect.outputs.skip != 'true' + run: | + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git config --global user.name "github-actions[bot]" + + - name: Get Language Configuration + if: steps.detect.outputs.skip != 'true' + id: get_lang_config + run: node .github/scripts/fetch-frenglish-configuration.js + env: + FRENGLISH_API_KEY: ${{ secrets.FRENGLISH_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + # --- Step to Handle Renamed/Deleted Files --- + - name: Handle Renamed and Deleted Source Files + if: steps.detect.outputs.skip != 'true' + id: handle_changes + run: | + set -e # Exit immediately if a command exits with a non-zero status. + + # Get target languages and commit SHAs + # SOURCE_DIR_RAW from get_lang_config is now IGNORED for path determination + TARGET_DIRS_STRING="${{ steps.get_lang_config.outputs.target_langs }}" + BEFORE_SHA="${{ github.event.before }}" + CURRENT_SHA="${{ github.sha }}" + + # --- Define the source path CONSISTENTLY with translate.js --- + # ORIGIN_LANGUAGE_DIR in translate.js is path.resolve('.'), so we use '.' here. + EFFECTIVE_SOURCE_PATH="." + echo "Source file location for rename/delete check: Root Directory (.)" + + # --- Validate Target Languages --- + if [ -z "$TARGET_DIRS_STRING" ]; then + echo "::warning::No target languages determined. Rename/delete actions for target directories will be skipped." + echo "processed_changes=false" >> $GITHUB_OUTPUT + exit 0 + fi + read -r -a TARGET_DIRS <<< "$TARGET_DIRS_STRING" + if [ ${#TARGET_DIRS[@]} -eq 0 ]; then + echo "::warning::No target languages parsed. Rename/delete actions for target directories will be skipped." + echo "processed_changes=false" >> $GITHUB_OUTPUT + exit 0 + fi + + # --- List of top-level files/dirs to EXCLUDE from rename/delete handling --- + # Add any other known non-locale files/folders residing in your root directory + # Use trailing slash for directories to avoid matching files starting with the same name + EXCLUDED_PATTERNS=( + 'package.json' + 'package-lock.json' + 'node_modules/' + 'frenglish.config.json' + '.github/' + '.git/' + '.gitignore' + 'README.md' + # Add other files/dirs like 'vite.config.js', 'tsconfig.json', etc. if they exist in root + ) + echo "Excluding patterns: ${EXCLUDED_PATTERNS[*]}" + + + # --- Check for Renamed/Deleted Files in the Root Directory --- + echo "Checking for renamed/deleted files in '$EFFECTIVE_SOURCE_PATH' between $BEFORE_SHA and $CURRENT_SHA..." + processed_any_change=false + + # Use NUL delimiters, check within the root directory (.) + git diff --name-status --find-renames -z $BEFORE_SHA $CURRENT_SHA -- "$EFFECTIVE_SOURCE_PATH" | while IFS= read -r -d $'\0' status && IFS= read -r -d $'\0' old_path && IFS= read -r -d $'\0' new_path; do + # Handle cases where new_path might not be present (for deletions) + if [ -z "$new_path" ]; then + new_path=$old_path + fi + + # --- Calculate relative paths (already relative to root) --- + relative_old_path="$old_path" + relative_new_path="$new_path" + + # --- Filter out EXCLUDED top-level files/directories --- + is_excluded=false + for pattern in "${EXCLUDED_PATTERNS[@]}"; do + # Check if old_path starts with or exactly matches the pattern + if [[ "$old_path" == "$pattern"* ]]; then + is_excluded=true + echo "Skipping excluded file/path based on pattern '$pattern': $old_path" + break # Exit inner loop once matched + fi + done + if [ "$is_excluded" = true ]; then + continue # Skip to the next file in the diff + fi + # --- End of exclusion filter --- + + # Proceed only if the file wasn't excluded + echo "Detected potentially relevant change: Status=$status, Old Path=$old_path, New Path=$new_path" + + for TARGET_DIR in "${TARGET_DIRS[@]}"; do # Iterate over array elements correctly + # Ensure target *directory* exists (e.g., 'ja', 'es') + if [ ! -d "$TARGET_DIR" ]; then + echo "::warning::Target directory '$TARGET_DIR' not found. Skipping for this language." + continue + fi + + # Construct target paths using the relative path from root + target_old_path="$TARGET_DIR/$relative_old_path" + + if [[ "$status" == D* ]]; then + # Delete corresponding file in target dir IF it exists + if [ -f "$target_old_path" ]; then + echo "Deleting corresponding file: $target_old_path" + git rm "$target_old_path" + processed_any_change=true + else + # It's okay if the target file doesn't exist, don't warn loudly. + echo "Corresponding file for deletion not found (or already deleted): $target_old_path" + fi + elif [[ "$status" == R* ]]; then + # Rename corresponding file in target dir IF it exists + target_new_path="$TARGET_DIR/$relative_new_path" + target_new_path_dir=$(dirname "$target_new_path") + + if [ -f "$target_old_path" ]; then + # Create parent directory for target if needed + if [ ! -d "$target_new_path_dir" ]; then + echo "Creating directory for renamed file: $target_new_path_dir" + mkdir -p "$target_new_path_dir" + fi + echo "Renaming corresponding file: $target_old_path -> $target_new_path" + git mv "$target_old_path" "$target_new_path" + processed_any_change=true + else + # It's okay if the target file doesn't exist, don't warn loudly. + echo "Corresponding file for rename not found: $target_old_path" + fi + fi # End status check (D or R) + done # end loop target dirs + done # end loop git diff + + # Output based on the flag + echo "processed_changes=$processed_any_change" >> $GITHUB_OUTPUT + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Run translation script (Writes/Updates files) + if: steps.detect.outputs.skip != 'true' + env: + FRENGLISH_API_KEY: ${{ secrets.FRENGLISH_API_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: node .github/scripts/translate.js + + - name: Stage ALL changes (new, modified, deleted, renamed) + if: steps.detect.outputs.skip != 'true' + run: | + echo "Staging all tracked changes (adds, modifications, deletes, renames)..." + git add . # This stages all changes in the working directory + + - name: Commit changes + if: steps.detect.outputs.skip != 'true' + id: commit + run: | + # Check index status after all operations (add, rm, mv) + # Use --cached to check staged changes specifically + if git diff --cached --quiet; then + echo "No changes staged for commit." + echo "changes_committed=false" >> $GITHUB_OUTPUT + else + echo "Committing translation updates, formatting, renames, and deletions..." + # Use the dynamically fetched source language in the commit message + COMMIT_SOURCE_LANG="${{ steps.get_lang_config.outputs.source_lang }}" # Capture output first + git commit -m "chore(i18n): update translations [${COMMIT_SOURCE_LANG:-unknown}]" \ + -m "Sync file structure, format locales. Branch: ${{ github.ref_name }}" + echo "changes_committed=true" >> $GITHUB_OUTPUT + git show --stat # Show commit details + fi + + - name: Push changes + # run only when we actually committed something + if: steps.detect.outputs.skip != 'true' && steps.commit.outputs.changes_committed == 'true' + env: + # use head branch for PRs, ref_name for normal pushes + TARGET_REF: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref_name }} + run: | + echo "Pushing changes to origin/${TARGET_REF}..." + git push origin HEAD:${TARGET_REF} \ No newline at end of file diff --git a/.gitignore b/.gitignore index 9a769dd7..663d6445 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ scripts/node_modules node_modules +.env +.DS_Store \ No newline at end of file diff --git a/api-references/analytics/endpoints/analytics-api.json b/api-references/analytics/endpoints/analytics-api.json index 528418ee..501d6cf0 100644 --- a/api-references/analytics/endpoints/analytics-api.json +++ b/api-references/analytics/endpoints/analytics-api.json @@ -1,20 +1,14 @@ { - "openapi": "3.0.0", - "info": { - "title": "Analytics Api", - "version": "" - }, - "servers": [ - { - "url": "https://api.sequence.app", - "description": "Analytics" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -39,7 +33,12 @@ }, "ErrorWebrpcRequestFailed": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -64,7 +63,12 @@ }, "ErrorWebrpcBadRoute": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -89,7 +93,12 @@ }, "ErrorWebrpcBadMethod": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -114,7 +123,12 @@ }, "ErrorWebrpcBadRequest": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -139,7 +153,12 @@ }, "ErrorWebrpcBadResponse": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -164,7 +183,12 @@ }, "ErrorWebrpcServerPanic": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -189,7 +213,12 @@ }, "ErrorWebrpcInternalError": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -214,7 +243,12 @@ }, "ErrorWebrpcClientDisconnected": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -239,7 +273,12 @@ }, "ErrorWebrpcStreamLost": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -264,7 +303,12 @@ }, "ErrorWebrpcStreamFinished": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -289,7 +333,12 @@ }, "ErrorUnauthorized": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -314,7 +363,12 @@ }, "ErrorPermissionDenied": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -339,7 +393,12 @@ }, "ErrorSessionExpired": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -364,7 +423,12 @@ }, "ErrorMethodNotFound": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -389,7 +453,12 @@ }, "ErrorRequestConflict": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -414,7 +483,12 @@ }, "ErrorServiceDisabled": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -439,7 +513,12 @@ }, "ErrorTimeout": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -464,7 +543,12 @@ }, "ErrorInvalidArgument": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -489,7 +573,12 @@ }, "ErrorNotFound": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -514,7 +603,12 @@ }, "ErrorUserNotFound": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -539,7 +633,12 @@ }, "ErrorProjectNotFound": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -564,7 +663,12 @@ }, "ErrorInvalidTier": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -589,7 +693,12 @@ }, "ErrorEmailTemplateExists": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -614,7 +723,12 @@ }, "ErrorSubscriptionLimit": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -639,7 +753,12 @@ }, "ErrorFeatureNotIncluded": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -664,7 +783,12 @@ }, "ErrorInvalidNetwork": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -689,7 +813,12 @@ }, "ErrorInvitationExpired": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -714,7 +843,12 @@ }, "ErrorAlreadyCollaborator": { "type": "object", - "required": ["error", "code", "msg", "status"], + "required": [ + "error", + "code", + "msg", + "status" + ], "properties": { "error": { "type": "string", @@ -740,12 +874,24 @@ "AuthSessionType": { "type": "string", "description": "Represented as uint16 on the server side", - "enum": ["PUBLIC", "WALLET", "USER", "ADMIN", "SERVICE"] + "enum": [ + "PUBLIC", + "WALLET", + "USER", + "ADMIN", + "SERVICE" + ] }, "SubscriptionTier": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["COMMUNITY", "DEVELOPER", "GROWTH", "PRO", "ENTERPRISE"] + "enum": [ + "COMMUNITY", + "DEVELOPER", + "GROWTH", + "PRO", + "ENTERPRISE" + ] }, "ProjectType": { "type": "string", @@ -766,77 +912,141 @@ "ResourceType": { "type": "string", "description": "Represented as int8 on the server side", - "enum": ["CONTRACTS"] + "enum": [ + "CONTRACTS" + ] }, "SubscriptionProvider": { "type": "string", "description": "Represented as string on the server side", - "enum": ["ADMIN", "STRIPE", "GOOGLE"] + "enum": [ + "ADMIN", + "STRIPE", + "GOOGLE" + ] }, "CollaboratorAccess": { "type": "string", "description": "Represented as uint32 on the server side", - "enum": ["NONE", "READ", "WRITE", "ADMIN"] + "enum": [ + "NONE", + "READ", + "WRITE", + "ADMIN" + ] }, "CollaboratorType": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["USER", "SERVICE_ACCOUNT"] + "enum": [ + "USER", + "SERVICE_ACCOUNT" + ] }, "ContractSourceType": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["LINKED", "DEPLOYED", "SALE"] + "enum": [ + "LINKED", + "DEPLOYED", + "SALE" + ] }, "SortOrder": { "type": "string", "description": "Represented as uint32 on the server side", - "enum": ["DESC", "ASC"] + "enum": [ + "DESC", + "ASC" + ] }, "PaymentProvider": { "type": "string", "description": "Represented as uint16 on the server side", - "enum": ["UNKNOWN", "STRIPE", "MANUAL"] + "enum": [ + "UNKNOWN", + "STRIPE", + "MANUAL" + ] }, "PaymentStatus": { "type": "string", "description": "Represented as uint16 on the server side", - "enum": ["INITIATED", "PENDING", "SUCCEEDED", "FAILED", "PROCESSED"] + "enum": [ + "INITIATED", + "PENDING", + "SUCCEEDED", + "FAILED", + "PROCESSED" + ] }, "MarketplaceWallet": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["UNIVERSAL", "EMBEDDED"] + "enum": [ + "UNIVERSAL", + "EMBEDDED" + ] }, "MarketplaceType": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["AMM", "P2P", "SEQUENCE", "ORDERBOOK"] + "enum": [ + "AMM", + "P2P", + "SEQUENCE", + "ORDERBOOK" + ] }, "TokenType": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["ERC20", "ERC721", "ERC1155"] + "enum": [ + "ERC20", + "ERC721", + "ERC1155" + ] }, "FileScope": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["LOGO", "MARKETPLACE", "AVATAR", "EMAIL", "WALLET", "TOKEN_DIRECTORY"] + "enum": [ + "LOGO", + "MARKETPLACE", + "AVATAR", + "EMAIL", + "WALLET", + "TOKEN_DIRECTORY" + ] }, "EmailTemplateType": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["UNKNOWN", "LOGIN", "GUARD"] + "enum": [ + "UNKNOWN", + "LOGIN", + "GUARD" + ] }, "TaskStatus": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["PENDING", "PAUSED", "FAILED", "COMPLETED", "DISABLED"] + "enum": [ + "PENDING", + "PAUSED", + "FAILED", + "COMPLETED", + "DISABLED" + ] }, "DateInterval": { "type": "string", "description": "Represented as uint16 on the server side", - "enum": ["DAY", "WEEK", "MONTH"] + "enum": [ + "DAY", + "WEEK", + "MONTH" + ] }, "OnboardingStep": { "type": "string", @@ -865,21 +1075,39 @@ "WaasTenantState": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["PENDING", "DEPLOYING", "READY", "FAILED"] + "enum": [ + "PENDING", + "DEPLOYING", + "READY", + "FAILED" + ] }, "TrialType": { "type": "string", "description": "Represented as string on the server side", - "enum": ["ANALYTICS"] + "enum": [ + "ANALYTICS" + ] }, "CustomerTier": { "type": "string", "description": "Represented as uint8 on the server side", - "enum": ["TIER_1", "TIER_2", "TIER_3", "TIER_4", "TIER_5"] + "enum": [ + "TIER_1", + "TIER_2", + "TIER_3", + "TIER_4", + "TIER_5" + ] }, "Version": { "type": "object", - "required": ["webrpcVersion", "schemaVersion", "schemaHash", "appVersion"], + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], "properties": { "webrpcVersion": { "type": "string" @@ -944,7 +1172,12 @@ }, "RuntimeChecks": { "type": "object", - "required": ["quotaControl", "joqueue", "stripe", "cloudCommerce"], + "required": [ + "quotaControl", + "joqueue", + "stripe", + "cloudCommerce" + ], "properties": { "quotaControl": { "type": "boolean" @@ -962,7 +1195,12 @@ }, "Configuration": { "type": "object", - "required": ["name", "title", "chainIds", "domains"], + "required": [ + "name", + "title", + "chainIds", + "domains" + ], "properties": { "name": { "type": "string" @@ -1018,7 +1256,12 @@ }, "AuthState": { "type": "object", - "required": ["jwtToken", "expiresAt", "address", "sessionType"], + "required": [ + "jwtToken", + "expiresAt", + "address", + "sessionType" + ], "properties": { "jwtToken": { "type": "string" @@ -1073,7 +1316,11 @@ }, "UserSettings": { "type": "object", - "required": ["freeProjectsLeft", "totalFreeProjectLimit", "totalPaidProjects"], + "required": [ + "freeProjectsLeft", + "totalFreeProjectLimit", + "totalPaidProjects" + ], "properties": { "freeProjectsLeft": { "type": "number" @@ -1088,7 +1335,13 @@ }, "UserOverride": { "type": "object", - "required": ["id", "address", "extraProjects", "createdAt", "updatedAt"], + "required": [ + "id", + "address", + "extraProjects", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -1201,7 +1454,11 @@ }, "Resource": { "type": "object", - "required": ["type", "total", "detail"], + "required": [ + "type", + "total", + "detail" + ], "properties": { "type": { "$ref": "#/components/schemas/ResourceType" @@ -1220,7 +1477,10 @@ }, "ResourceDetail": { "type": "object", - "required": ["key", "count"], + "required": [ + "key", + "count" + ], "properties": { "key": { "type": "object" @@ -1392,7 +1652,10 @@ }, "ContractLink": { "type": "object", - "required": ["project", "collaborator"], + "required": [ + "project", + "collaborator" + ], "properties": { "contract": { "$ref": "#/components/schemas/Contract" @@ -1434,7 +1697,13 @@ }, "RelayerGasTank": { "type": "object", - "required": ["id", "projectId", "relayerIdMap", "totalPayments", "totalUsage"], + "required": [ + "id", + "projectId", + "relayerIdMap", + "totalPayments", + "totalUsage" + ], "properties": { "id": { "type": "number" @@ -1806,7 +2075,14 @@ }, "ContractFactory": { "type": "object", - "required": ["id", "chainId", "contractAddress", "uid", "createdAt", "updatedAt"], + "required": [ + "id", + "chainId", + "contractAddress", + "uid", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -1839,7 +2115,13 @@ }, "NewContractSource": { "type": "object", - "required": ["uid", "name", "contractType", "bytecode", "abi"], + "required": [ + "uid", + "name", + "contractType", + "bytecode", + "abi" + ], "properties": { "uid": { "type": "string" @@ -1908,7 +2190,9 @@ }, "SortBy": { "type": "object", - "required": ["column"], + "required": [ + "column" + ], "properties": { "column": { "type": "string" @@ -1979,7 +2263,11 @@ }, "BillingProviderSettings": { "type": "object", - "required": ["priceSubscriptionTier", "priceCreditOverage", "disabled"], + "required": [ + "priceSubscriptionTier", + "priceCreditOverage", + "disabled" + ], "properties": { "priceSubscriptionTier": { "type": "string" @@ -2084,7 +2372,10 @@ }, "PaymentHistory": { "type": "object", - "required": ["totalPayments", "payments"], + "required": [ + "totalPayments", + "payments" + ], "properties": { "totalPayments": { "type": "number" @@ -2100,7 +2391,9 @@ }, "Redirect": { "type": "object", - "required": ["url"], + "required": [ + "url" + ], "properties": { "url": { "type": "string" @@ -2109,7 +2402,9 @@ }, "StripeEventData": { "type": "object", - "required": ["object"], + "required": [ + "object" + ], "properties": { "object": { "$ref": "#/components/schemas/StripeEventDataObject" @@ -2118,7 +2413,10 @@ }, "StripeEventDataObject": { "type": "object", - "required": ["id", "object"], + "required": [ + "id", + "object" + ], "properties": { "id": { "type": "string" @@ -2130,7 +2428,13 @@ }, "Payment": { "type": "object", - "required": ["id", "projectId", "provider", "externalTxnID", "createdAt"], + "required": [ + "id", + "projectId", + "provider", + "externalTxnID", + "createdAt" + ], "properties": { "id": { "type": "number" @@ -2157,7 +2461,12 @@ }, "PaymentLog": { "type": "object", - "required": ["id", "paymentID", "data", "createdAt"], + "required": [ + "id", + "paymentID", + "data", + "createdAt" + ], "properties": { "id": { "type": "number" @@ -2175,7 +2484,10 @@ }, "PaymentLogData": { "type": "object", - "required": ["type", "data"], + "required": [ + "type", + "data" + ], "properties": { "type": { "type": "string" @@ -2187,7 +2499,10 @@ }, "InvoicesReturn": { "type": "object", - "required": ["hasMore", "invoices"], + "required": [ + "hasMore", + "invoices" + ], "properties": { "hasMore": { "type": "boolean" @@ -2203,7 +2518,13 @@ }, "Invoice": { "type": "object", - "required": ["id", "date", "amount", "paid", "url"], + "required": [ + "id", + "date", + "amount", + "paid", + "url" + ], "properties": { "id": { "type": "string" @@ -2224,7 +2545,9 @@ }, "SubscriptionPlans": { "type": "object", - "required": ["configs"], + "required": [ + "configs" + ], "properties": { "configs": { "type": "object", @@ -2237,7 +2560,11 @@ }, "SubscriptionPlan": { "type": "object", - "required": ["tier", "settings", "features"], + "required": [ + "tier", + "settings", + "features" + ], "properties": { "tier": { "$ref": "#/components/schemas/SubscriptionTier" @@ -2390,7 +2717,11 @@ }, "MarketplaceConfigSchema": { "type": "object", - "required": ["version", "config", "style"], + "required": [ + "version", + "config", + "style" + ], "properties": { "version": { "type": "number" @@ -2413,7 +2744,14 @@ }, "MarketplaceConfig": { "type": "object", - "required": ["id", "projectId", "version", "config", "settings", "style"], + "required": [ + "id", + "projectId", + "version", + "config", + "settings", + "style" + ], "properties": { "id": { "type": "number" @@ -2451,7 +2789,12 @@ }, "MarketplaceWalletOptions": { "type": "object", - "required": ["walletType", "oidcIssuers", "connectors", "includeEIP6963Wallets"], + "required": [ + "walletType", + "oidcIssuers", + "connectors", + "includeEIP6963Wallets" + ], "properties": { "walletType": { "$ref": "#/components/schemas/MarketplaceWallet" @@ -2706,7 +3049,10 @@ }, "WalletConfigSchema": { "type": "object", - "required": ["version", "config"], + "required": [ + "version", + "config" + ], "properties": { "version": { "type": "number" @@ -2722,7 +3068,12 @@ }, "WalletConfig": { "type": "object", - "required": ["version", "projectId", "platform", "config"], + "required": [ + "version", + "projectId", + "platform", + "config" + ], "properties": { "id": { "type": "number" @@ -2856,7 +3207,11 @@ }, "TaskRunner": { "type": "object", - "required": ["id", "workGroup", "runAt"], + "required": [ + "id", + "workGroup", + "runAt" + ], "properties": { "id": { "type": "number" @@ -2871,7 +3226,14 @@ }, "Task": { "type": "object", - "required": ["id", "queue", "status", "try", "payload", "hash"], + "required": [ + "id", + "queue", + "status", + "try", + "payload", + "hash" + ], "properties": { "id": { "type": "number" @@ -2908,7 +3270,9 @@ }, "QueryFilter": { "type": "object", - "required": ["projectId"], + "required": [ + "projectId" + ], "properties": { "projectId": { "type": "number" @@ -2936,7 +3300,10 @@ }, "Chart": { "type": "object", - "required": ["value", "label"], + "required": [ + "value", + "label" + ], "properties": { "value": { "type": "number" @@ -2948,7 +3315,10 @@ }, "MultiValueChart": { "type": "object", - "required": ["value", "label"], + "required": [ + "value", + "label" + ], "properties": { "value": { "type": "object", @@ -2964,7 +3334,13 @@ }, "QueryResult": { "type": "object", - "required": ["collection", "source", "volumeUSD", "numTokens", "numTxns"], + "required": [ + "collection", + "source", + "volumeUSD", + "numTokens", + "numTxns" + ], "properties": { "collection": { "type": "string" @@ -2988,7 +3364,14 @@ }, "CreditBonus": { "type": "object", - "required": ["id", "projectId", "amount", "balance", "createdAt", "updatedAt"], + "required": [ + "id", + "projectId", + "amount", + "balance", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -3012,7 +3395,10 @@ }, "OpenIdProvider": { "type": "object", - "required": ["iss", "aud"], + "required": [ + "iss", + "aud" + ], "properties": { "iss": { "type": "string" @@ -3075,7 +3461,9 @@ }, "WaasAuthEmailConfig": { "type": "object", - "required": ["enabled"], + "required": [ + "enabled" + ], "properties": { "enabled": { "type": "boolean" @@ -3084,7 +3472,9 @@ }, "WaasAuthGuestConfig": { "type": "object", - "required": ["enabled"], + "required": [ + "enabled" + ], "properties": { "enabled": { "type": "boolean" @@ -3093,7 +3483,9 @@ }, "WaasAuthPlayfabConfig": { "type": "object", - "required": ["enabled"], + "required": [ + "enabled" + ], "properties": { "enabled": { "type": "boolean" @@ -3105,7 +3497,9 @@ }, "WaasAuthStytchConfig": { "type": "object", - "required": ["enabled"], + "required": [ + "enabled" + ], "properties": { "enabled": { "type": "boolean" @@ -3134,7 +3528,11 @@ }, "WaasWalletStatus": { "type": "object", - "required": ["chainId", "address", "deployed"], + "required": [ + "chainId", + "address", + "deployed" + ], "properties": { "chainId": { "type": "number" @@ -3149,7 +3547,9 @@ }, "RawData": { "type": "object", - "required": ["data"], + "required": [ + "data" + ], "properties": { "data": { "type": "object", @@ -3162,7 +3562,14 @@ }, "Audience": { "type": "object", - "required": ["id", "projectId", "name", "contactCount", "createdAt", "updatedAt"], + "required": [ + "id", + "projectId", + "name", + "contactCount", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -3189,7 +3596,13 @@ }, "AudienceContact": { "type": "object", - "required": ["id", "audienceId", "address", "createdAt", "updatedAt"], + "required": [ + "id", + "audienceId", + "address", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -3216,7 +3629,13 @@ }, "Trial": { "type": "object", - "required": ["id", "projectId", "type", "startAt", "endAt"], + "required": [ + "id", + "projectId", + "type", + "startAt", + "endAt" + ], "properties": { "id": { "type": "number" @@ -3268,7 +3687,14 @@ }, "Customer": { "type": "object", - "required": ["id", "name", "tier", "metadata", "createdAt", "updatedAt"], + "required": [ + "id", + "name", + "tier", + "metadata", + "createdAt", + "updatedAt" + ], "properties": { "id": { "type": "number" @@ -4196,6 +4622,11 @@ } } }, + "info": { + "title": "Analytics Api", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/Analytics/TotalCompute": { "post": { @@ -4356,7 +4787,9 @@ } } }, - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -4524,7 +4957,9 @@ } }, "description": "Get compute statistics by service", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -4692,7 +5127,9 @@ } }, "description": "Get daily compute statistics by type", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -4834,7 +5271,9 @@ }, "security": [ { - "ApiKeyAuth": ["AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI"] + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] } ] } @@ -4971,7 +5410,9 @@ }, "security": [ { - "ApiKeyAuth": ["AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI"] + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] } ] } @@ -5134,7 +5575,9 @@ } }, "description": "Get total wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -5303,7 +5746,9 @@ } }, "description": "Get daily wallet statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -5472,7 +5917,9 @@ } }, "description": "Get monthly wallet statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -5640,7 +6087,9 @@ } }, "description": "Get wallet statistics by country", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -5808,7 +6257,9 @@ } }, "description": "Get wallet statistics by device", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -5976,7 +6427,9 @@ } }, "description": "Get wallet statistics by browser", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6144,7 +6597,9 @@ } }, "description": "Get wallet statistics by operating system", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6308,7 +6763,9 @@ } }, "description": "Get total transaction statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6476,7 +6933,9 @@ } }, "description": "Get daily transaction statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6644,7 +7103,9 @@ } }, "description": "Get monthly transaction statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6808,7 +7269,9 @@ } }, "description": "Get total market transaction events", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -6975,7 +7438,9 @@ } }, "description": "Get daily market transaction events", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7143,7 +7608,9 @@ } }, "description": "Get monthly market transaction statistics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7307,7 +7774,9 @@ } }, "description": "Get total market wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7475,7 +7944,9 @@ } }, "description": "Get daily market wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7643,7 +8114,9 @@ } }, "description": "Get monthly market wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7807,7 +8280,9 @@ } }, "description": "Get total wallet transaction conversion rate", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -7975,7 +8450,9 @@ } }, "description": "Get daily wallet transaction conversion rate", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8143,7 +8620,9 @@ } }, "description": "Get monthly market conversions on your marketplace", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8311,7 +8790,9 @@ } }, "description": "Get daily new wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8479,7 +8960,9 @@ } }, "description": "Get monthly new wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8647,7 +9130,9 @@ } }, "description": "Get Total Wallets over a time interval", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8815,7 +9300,9 @@ } }, "description": "Get average daily active users", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -8983,7 +9470,9 @@ } }, "description": "Get rolling stickiness metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9151,7 +9640,9 @@ } }, "description": "Get average stickiness metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9319,7 +9810,9 @@ } }, "description": "Get D1 retention by cohort", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9487,7 +9980,9 @@ } }, "description": "Get D3 retention by cohort", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9655,7 +10150,9 @@ } }, "description": "Get D7 retention by cohort", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9823,7 +10320,9 @@ } }, "description": "Get D14 retention by cohort", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -9991,7 +10490,9 @@ } }, "description": "Get D28 retention by cohort", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -10159,7 +10660,9 @@ } }, "description": "Get average D1 retention metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -10327,7 +10830,9 @@ } }, "description": "Get average D3 retention metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -10495,7 +11000,9 @@ } }, "description": "Get average D7 retention metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -10663,7 +11170,9 @@ } }, "description": "Get average D14 retention metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -10831,7 +11340,9 @@ } }, "description": "Get average D28 retention metrics", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -11011,7 +11522,9 @@ } }, "description": "Get monthly active wallets by segment", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -11191,7 +11704,9 @@ } }, "description": "Get monthly transacting wallets by segment", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -11359,7 +11874,9 @@ } }, "description": "Get weekly active wallets", - "tags": ["secret"], + "tags": [ + "secret" + ], "security": [ { "BearerAuth": [ @@ -11370,6 +11887,12 @@ } } }, + "servers": [ + { + "url": "https://api.sequence.app", + "description": "Analytics" + } + ], "tags": [ { "name": "public", diff --git a/api-references/builder/endpoints/builder-api.json b/api-references/builder/endpoints/builder-api.json index a0be622f..9c641592 100644 --- a/api-references/builder/endpoints/builder-api.json +++ b/api-references/builder/endpoints/builder-api.json @@ -1,15 +1,4 @@ { - "openapi": "3.0.0", - "info": { - "title": "Builder Api", - "version": "" - }, - "servers": [ - { - "url": "https://api.sequence.app", - "description": "Builder" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -3922,6 +3911,11 @@ } } }, + "info": { + "title": "Builder Api", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/Builder/GetContract": { "post": { @@ -5315,5 +5309,11 @@ ] } } - } -} \ No newline at end of file + }, + "servers": [ + { + "url": "https://api.sequence.app", + "description": "Builder" + } + ] +} diff --git a/api-references/indexer/endpoints/indexer.json b/api-references/indexer/endpoints/indexer.json index a4c697e5..ef886b77 100644 --- a/api-references/indexer/endpoints/indexer.json +++ b/api-references/indexer/endpoints/indexer.json @@ -1,171 +1,4 @@ { - "openapi": "3.0.0", - "info": { - "title": "Sequence Indexer", - "version": "" - }, - "servers": [ - { - "url": "https://amoy-indexer.sequence.app", - "description": "Amoy Mainnet" - }, - { - "url": "https://apechain-mainnet-indexer.sequence.app", - "description": "Apechain-Mainnet Mainnet" - }, - { - "url": "https://apechain-testnet-indexer.sequence.app", - "description": "Apechain-Testnet Mainnet" - }, - { - "url": "https://arbitrum-indexer.sequence.app", - "description": "Arbitrum Mainnet" - }, - { - "url": "https://arbitrum-nova-indexer.sequence.app", - "description": "Arbitrum-Nova Mainnet" - }, - { - "url": "https://arbitrum-sepolia-indexer.sequence.app", - "description": "Arbitrum-Sepolia Mainnet" - }, - { - "url": "https://astar-zkevm-indexer.sequence.app", - "description": "Astar-Zkevm Mainnet" - }, - { - "url": "https://astar-zkyoto-indexer.sequence.app", - "description": "Astar-Zkyoto Mainnet" - }, - { - "url": "https://avalanche-indexer.sequence.app", - "description": "Avalanche Mainnet" - }, - { - "url": "https://avalanche-testnet-indexer.sequence.app", - "description": "Avalanche-Testnet Mainnet" - }, - { - "url": "https://b3-indexer.sequence.app", - "description": "B3 Mainnet" - }, - { - "url": "https://b3-sepolia-indexer.sequence.app", - "description": "B3-Sepolia Mainnet" - }, - { - "url": "https://base-indexer.sequence.app", - "description": "Base Mainnet" - }, - { - "url": "https://base-sepolia-indexer.sequence.app", - "description": "Base-Sepolia Mainnet" - }, - { - "url": "https://blast-indexer.sequence.app", - "description": "Blast Mainnet" - }, - { - "url": "https://blast-sepolia-indexer.sequence.app", - "description": "Blast-Sepolia Mainnet" - }, - { - "url": "https://borne-testnet-indexer.sequence.app", - "description": "Borne-Testnet Mainnet" - }, - { - "url": "https://bsc-indexer.sequence.app", - "description": "Bsc Mainnet" - }, - { - "url": "https://bsc-testnet-indexer.sequence.app", - "description": "Bsc-Testnet Mainnet" - }, - { - "url": "https://gnosis-indexer.sequence.app", - "description": "Gnosis Mainnet" - }, - { - "url": "https://homeverse-indexer.sequence.app", - "description": "Homeverse Mainnet" - }, - { - "url": "https://homeverse-testnet-indexer.sequence.app", - "description": "Homeverse-Testnet Mainnet" - }, - { - "url": "https://immutable-zkevm-indexer.sequence.app", - "description": "Immutable-Zkevm Mainnet" - }, - { - "url": "https://immutable-zkevm-testnet-indexer.sequence.app", - "description": "Immutable-Zkevm-Testnet Mainnet" - }, - { - "url": "https://imx-indexer.sequence.app", - "description": "Imx Mainnet" - }, - { - "url": "https://imx-testnet-indexer.sequence.app", - "description": "Imx-Testnet Mainnet" - }, - { - "url": "https://mainnet-indexer.sequence.app", - "description": "Mainnet Mainnet" - }, - { - "url": "https://optimism-indexer.sequence.app", - "description": "Optimism Mainnet" - }, - { - "url": "https://optimism-sepolia-indexer.sequence.app", - "description": "Optimism-Sepolia Mainnet" - }, - { - "url": "https://polygon-indexer.sequence.app", - "description": "Polygon Mainnet" - }, - { - "url": "https://polygon-zkevm-indexer.sequence.app", - "description": "Polygon-Zkevm Mainnet" - }, - { - "url": "https://rootnet-indexer.sequence.app", - "description": "Rootnet Mainnet" - }, - { - "url": "https://rootnet-porcini-indexer.sequence.app", - "description": "Rootnet-Porcini Mainnet" - }, - { - "url": "https://sepolia-indexer.sequence.app", - "description": "Sepolia Mainnet" - }, - { - "url": "https://skale-nebula-testnet-indexer.sequence.app", - "description": "Skale-Nebula-Testnet Mainnet" - }, - { - "url": "https://soneium-minato-indexer.sequence.app", - "description": "Soneium-Minato Mainnet" - }, - { - "url": "https://toy-testnet-indexer.sequence.app", - "description": "Toy-Testnet Mainnet" - }, - { - "url": "https://xai-indexer.sequence.app", - "description": "Xai Mainnet" - }, - { - "url": "https://xai-sepolia-indexer.sequence.app", - "description": "Xai-Sepolia Mainnet" - }, - { - "url": "https://xr-sepolia-indexer.sequence.app", - "description": "Xr-Sepolia Mainnet" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -3052,6 +2885,11 @@ } } }, + "info": { + "title": "Sequence Indexer", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/Indexer/GetEtherBalance": { "post": { @@ -6830,6 +6668,168 @@ } } }, + "servers": [ + { + "url": "https://amoy-indexer.sequence.app", + "description": "Amoy Mainnet" + }, + { + "url": "https://apechain-mainnet-indexer.sequence.app", + "description": "Apechain-Mainnet Mainnet" + }, + { + "url": "https://apechain-testnet-indexer.sequence.app", + "description": "Apechain-Testnet Mainnet" + }, + { + "url": "https://arbitrum-indexer.sequence.app", + "description": "Arbitrum Mainnet" + }, + { + "url": "https://arbitrum-nova-indexer.sequence.app", + "description": "Arbitrum-Nova Mainnet" + }, + { + "url": "https://arbitrum-sepolia-indexer.sequence.app", + "description": "Arbitrum-Sepolia Mainnet" + }, + { + "url": "https://astar-zkevm-indexer.sequence.app", + "description": "Astar-Zkevm Mainnet" + }, + { + "url": "https://astar-zkyoto-indexer.sequence.app", + "description": "Astar-Zkyoto Mainnet" + }, + { + "url": "https://avalanche-indexer.sequence.app", + "description": "Avalanche Mainnet" + }, + { + "url": "https://avalanche-testnet-indexer.sequence.app", + "description": "Avalanche-Testnet Mainnet" + }, + { + "url": "https://b3-indexer.sequence.app", + "description": "B3 Mainnet" + }, + { + "url": "https://b3-sepolia-indexer.sequence.app", + "description": "B3-Sepolia Mainnet" + }, + { + "url": "https://base-indexer.sequence.app", + "description": "Base Mainnet" + }, + { + "url": "https://base-sepolia-indexer.sequence.app", + "description": "Base-Sepolia Mainnet" + }, + { + "url": "https://blast-indexer.sequence.app", + "description": "Blast Mainnet" + }, + { + "url": "https://blast-sepolia-indexer.sequence.app", + "description": "Blast-Sepolia Mainnet" + }, + { + "url": "https://borne-testnet-indexer.sequence.app", + "description": "Borne-Testnet Mainnet" + }, + { + "url": "https://bsc-indexer.sequence.app", + "description": "Bsc Mainnet" + }, + { + "url": "https://bsc-testnet-indexer.sequence.app", + "description": "Bsc-Testnet Mainnet" + }, + { + "url": "https://gnosis-indexer.sequence.app", + "description": "Gnosis Mainnet" + }, + { + "url": "https://homeverse-indexer.sequence.app", + "description": "Homeverse Mainnet" + }, + { + "url": "https://homeverse-testnet-indexer.sequence.app", + "description": "Homeverse-Testnet Mainnet" + }, + { + "url": "https://immutable-zkevm-indexer.sequence.app", + "description": "Immutable-Zkevm Mainnet" + }, + { + "url": "https://immutable-zkevm-testnet-indexer.sequence.app", + "description": "Immutable-Zkevm-Testnet Mainnet" + }, + { + "url": "https://imx-indexer.sequence.app", + "description": "Imx Mainnet" + }, + { + "url": "https://imx-testnet-indexer.sequence.app", + "description": "Imx-Testnet Mainnet" + }, + { + "url": "https://mainnet-indexer.sequence.app", + "description": "Mainnet Mainnet" + }, + { + "url": "https://optimism-indexer.sequence.app", + "description": "Optimism Mainnet" + }, + { + "url": "https://optimism-sepolia-indexer.sequence.app", + "description": "Optimism-Sepolia Mainnet" + }, + { + "url": "https://polygon-indexer.sequence.app", + "description": "Polygon Mainnet" + }, + { + "url": "https://polygon-zkevm-indexer.sequence.app", + "description": "Polygon-Zkevm Mainnet" + }, + { + "url": "https://rootnet-indexer.sequence.app", + "description": "Rootnet Mainnet" + }, + { + "url": "https://rootnet-porcini-indexer.sequence.app", + "description": "Rootnet-Porcini Mainnet" + }, + { + "url": "https://sepolia-indexer.sequence.app", + "description": "Sepolia Mainnet" + }, + { + "url": "https://skale-nebula-testnet-indexer.sequence.app", + "description": "Skale-Nebula-Testnet Mainnet" + }, + { + "url": "https://soneium-minato-indexer.sequence.app", + "description": "Soneium-Minato Mainnet" + }, + { + "url": "https://toy-testnet-indexer.sequence.app", + "description": "Toy-Testnet Mainnet" + }, + { + "url": "https://xai-indexer.sequence.app", + "description": "Xai Mainnet" + }, + { + "url": "https://xai-sepolia-indexer.sequence.app", + "description": "Xai-Sepolia Mainnet" + }, + { + "url": "https://xr-sepolia-indexer.sequence.app", + "description": "Xr-Sepolia Mainnet" + } + ], "tags": [ { "name": "public", @@ -6840,4 +6840,4 @@ "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." } ] -} \ No newline at end of file +} diff --git a/api-references/indexer/installation.mdx b/api-references/indexer/installation.mdx index e7986795..47ce891f 100644 --- a/api-references/indexer/installation.mdx +++ b/api-references/indexer/installation.mdx @@ -85,5 +85,5 @@ _, tokenBalances, err := seqIndexer.GetTokenBalances(context.Background(), &acco ### Unity or Unreal Installation -The Sequence Indexer is integrated directly inside of the respective [Sequence Unity](/sdk/unity/) and [Sequence Unreal](/sdk/unreal/introduction) SDKs. +The Sequence Indexer is integrated directly inside of the respective [Sequence Unity](/sdk/unity/) and [Sequence Unreal](/sdk/unreal/overview) SDKs. diff --git a/api-references/infrastructure/endpoints/sequence-api.json b/api-references/infrastructure/endpoints/sequence-api.json index e673385a..78461f4d 100644 --- a/api-references/infrastructure/endpoints/sequence-api.json +++ b/api-references/infrastructure/endpoints/sequence-api.json @@ -1,15 +1,4 @@ { - "openapi": "3.0.0", - "info": { - "title": "Sequence Api", - "version": "" - }, - "servers": [ - { - "url": "https://api.sequence.app/", - "description": "Api" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -2333,6 +2322,11 @@ } } }, + "info": { + "title": "Sequence Api", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/API/IsValidSignature": { "post": { @@ -3500,5 +3494,11 @@ ] } } - } -} \ No newline at end of file + }, + "servers": [ + { + "url": "https://api.sequence.app/", + "description": "Api" + } + ] +} diff --git a/api-references/marketplace/endpoints/sequence-marketplace.json b/api-references/marketplace/endpoints/sequence-marketplace.json index 230b97a2..25486fbe 100644 --- a/api-references/marketplace/endpoints/sequence-marketplace.json +++ b/api-references/marketplace/endpoints/sequence-marketplace.json @@ -1,7331 +1,7331 @@ { - "openapi": "3.0.0", - "info": { - "title": "Marketplace Api", - "version": "" + "components": { + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key", + "x-example": "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + } }, - "servers": [ - { - "url": "https://marketplace-api.sequence.app/amoy/", - "description": "Amoy" + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUserNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "UserNotFound" + }, + "code": { + "type": "number", + "example": 3001 + }, + "msg": { + "type": "string", + "example": "User not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvalidTier": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidTier" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Invalid subscription tier" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } }, - { - "url": "https://marketplace-api.sequence.app/apechain-mainnet/", - "description": "Apechain Mainnet" + "ErrorProjectLimitReached": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectLimitReached" + }, + "code": { + "type": "number", + "example": 3005 + }, + "msg": { + "type": "string", + "example": "Project limit reached" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } }, - { - "url": "https://marketplace-api.sequence.app/apechain-testnet/", - "description": "Apechain Testnet" + "ErrorNotImplemented": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotImplemented" + }, + "code": { + "type": "number", + "example": 9999 + }, + "msg": { + "type": "string", + "example": "Not Implemented" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } }, - { - "url": "https://marketplace-api.sequence.app/arbitrum/", - "description": "Arbitrum" + "TokenMetadata": { + "type": "object", + "required": [ + "tokenId", + "name", + "attributes" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "video": { + "type": "string" + }, + "audio": { + "type": "string" + }, + "properties": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "attributes": { + "type": "array", + "description": "[]map", + "items": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + }, + "imageData": { + "type": "string" + }, + "externalUrl": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } }, - { - "url": "https://marketplace-api.sequence.app/arbitrum-nova/", - "description": "Arbitrum Nova" + "Asset": { + "type": "object", + "required": [ + "id", + "collectionId", + "tokenId", + "metadataField" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "metadataField": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "filesize": { + "type": "number" + }, + "mimeType": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } }, - { - "url": "https://marketplace-api.sequence.app/arbitrum-sepolia/", - "description": "Arbitrum Sepolia" + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] }, - { - "url": "https://marketplace-api.sequence.app/astar-zkevm/", - "description": "Astar zkEVM" + "PropertyType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "INT", + "STRING", + "ARRAY", + "GENERIC" + ] }, - { - "url": "https://marketplace-api.sequence.app/astar-zkyoto/", - "description": "Astar zKyoto" + "MarketplaceKind": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "sequence_marketplace_v1", + "sequence_marketplace_v2", + "blur", + "zerox", + "opensea", + "looks_rare", + "x2y2", + "alienswap", + "payment_processor", + "mintify", + "magic_eden" + ] }, - { - "url": "https://marketplace-api.sequence.app/avalanche/", - "description": "Avalanche" + "OrderbookKind": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sequence_marketplace_v1", + "sequence_marketplace_v2", + "blur", + "opensea", + "looks_rare", + "reservoir", + "x2y2" + ] }, - { - "url": "https://marketplace-api.sequence.app/avalanche-testnet/", - "description": "Avalanche Testnet" + "SourceKind": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "external", + "sequence_marketplace_v1", + "sequence_marketplace_v2" + ] }, - { - "url": "https://marketplace-api.sequence.app/b3/", - "description": "B3" + "OrderSide": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "listing", + "offer" + ] }, - { - "url": "https://marketplace-api.sequence.app/b3-sepolia/", - "description": "B3 Sepolia" + "OrderStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive", + "expired", + "cancelled", + "filled", + "decimals_missing" + ] }, - { - "url": "https://marketplace-api.sequence.app/base/", - "description": "Base" + "ContractType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "ERC20", + "ERC721", + "ERC1155" + ] }, - { - "url": "https://marketplace-api.sequence.app/base-sepolia/", - "description": "Base Sepolia" - }, - { - "url": "https://marketplace-api.sequence.app/blast/", - "description": "Blast" - }, - { - "url": "https://marketplace-api.sequence.app/blast-sepolia/", - "description": "Blast Sepolia" - }, - { - "url": "https://marketplace-api.sequence.app/borne-testnet/", - "description": "Borne Testnet" - }, - { - "url": "https://marketplace-api.sequence.app/bsc/", - "description": "BSC" - }, - { - "url": "https://marketplace-api.sequence.app/bsc-testnet/", - "description": "BSC Testnet" - }, - { - "url": "https://marketplace-api.sequence.app/gnosis/", - "description": "Gnosis" - }, - { - "url": "https://marketplace-api.sequence.app/homeverse/", - "description": "Homeverse" - }, - { - "url": "https://marketplace-api.sequence.app/homeverse-testnet/", - "description": "Homeverse Testnet" - }, - { - "url": "https://marketplace-api.sequence.app/immutable-zkevm/", - "description": "Immutable zkEVM" - }, - { - "url": "https://marketplace-api.sequence.app/immutable-zkevm-testnet/", - "description": "Immutable zkEVM Testnet" - }, - { - "url": "https://marketplace-api.sequence.app/imx/", - "description": "IMX" - }, - { - "url": "https://marketplace-api.sequence.app/imx-testnet/", - "description": "IMX Testnet" + "CollectionPriority": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "low", + "normal", + "high" + ] }, - { - "url": "https://marketplace-api.sequence.app/mainnet/", - "description": "Mainnet" + "CollectionStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "created", + "syncing_contract_metadata", + "synced_contract_metadata", + "syncing_metadata", + "synced_metadata", + "syncing_tokens", + "synced_tokens", + "syncing_orders", + "active", + "failed", + "inactive", + "incompatible_type" + ] }, - { - "url": "https://marketplace-api.sequence.app/optimism/", - "description": "Optimism" + "ProjectStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive" + ] }, - { - "url": "https://marketplace-api.sequence.app/optimism-sepolia/", - "description": "Optimism Sepolia" + "CollectibleStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive" + ] }, - { - "url": "https://marketplace-api.sequence.app/polygon/", - "description": "Polygon" + "CurrencyStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "created", + "syncing_metadata", + "active", + "failed" + ] }, - { - "url": "https://marketplace-api.sequence.app/polygon-zkevm/", - "description": "Polygon zkEVM" + "WalletKind": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "sequence" + ] }, - { - "url": "https://marketplace-api.sequence.app/rootnet/", - "description": "Rootnet" + "StepType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "tokenApproval", + "buy", + "sell", + "createListing", + "createOffer", + "signEIP712", + "signEIP191", + "cancel" + ] }, - { - "url": "https://marketplace-api.sequence.app/rootnet-porcini/", - "description": "Rootnet Porcini" + "TransactionCrypto": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "none", + "partially", + "all" + ] }, - { - "url": "https://marketplace-api.sequence.app/sepolia/", - "description": "Sepolia" + "TransactionNFTCheckoutProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sardine", + "transak" + ] }, - { - "url": "https://marketplace-api.sequence.app/skale-nebula-testnet/", - "description": "SKALE Nebula Testnet" + "TransactionOnRampProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sardine", + "transak" + ] }, - { - "url": "https://marketplace-api.sequence.app/soneium-minato/", - "description": "Soneium Minato" + "TransactionSwapProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "zerox" + ] }, - { - "url": "https://marketplace-api.sequence.app/toy-testnet/", - "description": "Toy Testnet" + "ExecuteType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "order" + ] }, - { - "url": "https://marketplace-api.sequence.app/xai/", - "description": "Xai" + "ActivityAction": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "listing", + "offer", + "mint", + "sale", + "listingCancel", + "offerCancel", + "transfer" + ] }, - { - "url": "https://marketplace-api.sequence.app/xai-sepolia/", - "description": "Xai Sepolia" - } - ], - "components": { - "securitySchemes": { - "ApiKeyAuth": { - "type": "apiKey", - "in": "header", - "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", - "name": "X-Access-Key", - "x-example": "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" - } - }, - "schemas": { - "ErrorWebrpcEndpoint": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcEndpoint" - }, - "code": { - "type": "number", - "example": 0 - }, - "msg": { - "type": "string", - "example": "endpoint error" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 + "Page": { + "type": "object", + "required": [ + "page", + "pageSize" + ], + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "more": { + "type": "boolean" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" } } - }, - "ErrorWebrpcRequestFailed": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcRequestFailed" - }, - "code": { - "type": "number", - "example": -1 - }, - "msg": { - "type": "string", - "example": "request failed" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 - } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column", + "order" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" } - }, - "ErrorWebrpcBadRoute": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], + } + }, + "Filter": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, "properties": { - "error": { - "type": "string", - "example": "WebrpcBadRoute" - }, - "code": { - "type": "number", - "example": -2 - }, - "msg": { - "type": "string", - "example": "bad route" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 404 + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" } } - }, - "ErrorWebrpcBadMethod": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcBadMethod" - }, - "code": { - "type": "number", - "example": -3 - }, - "msg": { - "type": "string", - "example": "bad method" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 405 + } + }, + "PropertyFilter": { + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/PropertyType" + }, + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "values": { + "type": "array", + "description": "[]any", + "items": { + "type": "object" } } - }, - "ErrorWebrpcBadRequest": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], + } + }, + "CollectiblesFilter": { + "type": "object", + "required": [ + "includeEmpty" + ], + "properties": { + "includeEmpty": { + "type": "boolean" + }, + "searchText": { + "type": "string" + }, "properties": { - "error": { - "type": "string", - "example": "WebrpcBadRequest" - }, - "code": { - "type": "number", - "example": -4 - }, - "msg": { - "type": "string", - "example": "bad request" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" } - } - }, - "ErrorWebrpcBadResponse": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcBadResponse" - }, - "code": { - "type": "number", - "example": -5 - }, - "msg": { - "type": "string", - "example": "bad response" - }, - "cause": { + }, + "marketplaces": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" + } + }, + "inAccounts": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 500 } - } - }, - "ErrorWebrpcServerPanic": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcServerPanic" - }, - "code": { - "type": "number", - "example": -6 - }, - "msg": { - "type": "string", - "example": "server panic" - }, - "cause": { + }, + "notInAccounts": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 500 } - } - }, - "ErrorWebrpcInternalError": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcInternalError" - }, - "code": { - "type": "number", - "example": -7 - }, - "msg": { - "type": "string", - "example": "internal error" - }, - "cause": { + }, + "ordersCreatedBy": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 500 } - } - }, - "ErrorWebrpcClientDisconnected": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcClientDisconnected" - }, - "code": { - "type": "number", - "example": -8 - }, - "msg": { - "type": "string", - "example": "client disconnected" - }, - "cause": { + }, + "ordersNotCreatedBy": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 400 } - } - }, - "ErrorWebrpcStreamLost": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcStreamLost" - }, - "code": { - "type": "number", - "example": -9 - }, - "msg": { - "type": "string", - "example": "stream lost" - }, - "cause": { + }, + "inCurrencyAddresses": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 400 } - } - }, - "ErrorWebrpcStreamFinished": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "WebrpcStreamFinished" - }, - "code": { - "type": "number", - "example": -10 - }, - "msg": { - "type": "string", - "example": "stream finished" - }, - "cause": { + }, + "notInCurrencyAddresses": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 200 } } - }, - "ErrorUnauthorized": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "Unauthorized" - }, - "code": { - "type": "number", - "example": 1000 - }, - "msg": { - "type": "string", - "example": "Unauthorized access" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 401 + } + }, + "Order": { + "type": "object", + "required": [ + "id", + "collectionId", + "orderId", + "marketplace", + "source", + "side", + "status", + "chainId", + "originName", + "collectionContractAddress", + "createdBy", + "priceAmount", + "priceAmountFormatted", + "priceAmountNet", + "priceAmountNetFormatted", + "priceCurrencyAddress", + "priceDecimals", + "priceUSD", + "priceUSDFormatted", + "quantityInitial", + "quantityInitialFormatted", + "quantityRemaining", + "quantityRemainingFormatted", + "quantityAvailable", + "quantityAvailableFormatted", + "quantityDecimals", + "feeBps", + "feeBreakdown", + "validFrom", + "validUntil", + "blockNumber", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "collectibleId": { + "type": "number" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "source": { + "$ref": "#/components/schemas/SourceKind" + }, + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "status": { + "$ref": "#/components/schemas/OrderStatus" + }, + "chainId": { + "type": "number" + }, + "originName": { + "type": "string" + }, + "collectionContractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "priceAmount": { + "type": "string" + }, + "priceAmountFormatted": { + "type": "string" + }, + "priceAmountNet": { + "type": "string" + }, + "priceAmountNetFormatted": { + "type": "string" + }, + "priceCurrencyAddress": { + "type": "string" + }, + "priceDecimals": { + "type": "number" + }, + "priceUSD": { + "type": "number" + }, + "priceUSDFormatted": { + "type": "string" + }, + "quantityInitial": { + "type": "string" + }, + "quantityInitialFormatted": { + "type": "string" + }, + "quantityRemaining": { + "type": "string" + }, + "quantityRemainingFormatted": { + "type": "string" + }, + "quantityAvailable": { + "type": "string" + }, + "quantityAvailableFormatted": { + "type": "string" + }, + "quantityDecimals": { + "type": "number" + }, + "feeBps": { + "type": "number" + }, + "feeBreakdown": { + "type": "array", + "description": "[]FeeBreakdown", + "items": { + "$ref": "#/components/schemas/FeeBreakdown" } + }, + "validFrom": { + "type": "string" + }, + "validUntil": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "orderCreatedAt": { + "type": "string" + }, + "orderUpdatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } - }, - "ErrorPermissionDenied": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "PermissionDenied" - }, - "code": { - "type": "number", - "example": 1001 - }, - "msg": { - "type": "string", - "example": "Permission denied" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 403 - } + } + }, + "FeeBreakdown": { + "type": "object", + "required": [ + "kind", + "recipientAddress", + "bps" + ], + "properties": { + "kind": { + "type": "string" + }, + "recipientAddress": { + "type": "string" + }, + "bps": { + "type": "number" } - }, - "ErrorSessionExpired": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "SessionExpired" - }, - "code": { - "type": "number", - "example": 1002 - }, - "msg": { - "type": "string", - "example": "Session expired" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 403 - } + } + }, + "CollectibleOrder": { + "type": "object", + "required": [ + "metadata" + ], + "properties": { + "metadata": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "listing": { + "$ref": "#/components/schemas/Order" + }, + "offer": { + "$ref": "#/components/schemas/Order" } - }, - "ErrorMethodNotFound": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "MethodNotFound" - }, - "code": { - "type": "number", - "example": 1003 - }, - "msg": { - "type": "string", - "example": "Method not found" - }, - "cause": { + } + }, + "OrderFilter": { + "type": "object", + "properties": { + "createdBy": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 404 } - } - }, - "ErrorTimeout": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "Timeout" - }, - "code": { - "type": "number", - "example": 2000 - }, - "msg": { - "type": "string", - "example": "Request timed out" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 408 + }, + "marketplace": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" } - } - }, - "ErrorInvalidArgument": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "InvalidArgument" - }, - "code": { - "type": "number", - "example": 2001 - }, - "msg": { - "type": "string", - "example": "Invalid argument" - }, - "cause": { + }, + "currencies": { + "type": "array", + "description": "[]string", + "items": { "type": "string" - }, - "status": { - "type": "number", - "example": 400 } } - }, - "ErrorNotFound": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "NotFound" - }, - "code": { - "type": "number", - "example": 3000 - }, - "msg": { - "type": "string", - "example": "Resource not found" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 - } + } + }, + "Collection": { + "type": "object", + "required": [ + "id", + "status", + "chainId", + "contractAddress", + "contractType", + "priority", + "tokenQuantityDecimals", + "config", + "syncContractMetadataJob", + "refreshMetadataJob", + "refreshMetadataTimestamp", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/CollectionStatus" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "priority": { + "$ref": "#/components/schemas/CollectionPriority" + }, + "tokenQuantityDecimals": { + "type": "number" + }, + "config": { + "$ref": "#/components/schemas/CollectionConfig" + }, + "syncContractMetadataJob": { + "type": "number" + }, + "refreshMetadataJob": { + "type": "number" + }, + "refreshMetadataTimestamp": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } - }, - "ErrorUserNotFound": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "UserNotFound" - }, - "code": { - "type": "number", - "example": 3001 - }, - "msg": { - "type": "string", - "example": "User not found" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 + } + }, + "CollectionConfig": { + "type": "object", + "required": [ + "lastSynced", + "collectiblesSynced", + "activitiesSynced", + "activitiesSyncedContinuity" + ], + "properties": { + "lastSynced": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/CollectionLastSynced" } + }, + "collectiblesSynced": { + "type": "string" + }, + "activitiesSynced": { + "type": "string" + }, + "activitiesSyncedContinuity": { + "type": "string" } - }, - "ErrorProjectNotFound": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "ProjectNotFound" - }, - "code": { - "type": "number", - "example": 3002 - }, - "msg": { - "type": "string", - "example": "Project not found" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 - } + } + }, + "CollectionLastSynced": { + "type": "object", + "required": [ + "allOrders", + "newOrders" + ], + "properties": { + "allOrders": { + "type": "string" + }, + "newOrders": { + "type": "string" } - }, - "ErrorInvalidTier": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "InvalidTier" - }, - "code": { - "type": "number", - "example": 3003 - }, - "msg": { - "type": "string", - "example": "Invalid subscription tier" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 400 - } + } + }, + "Project": { + "type": "object", + "required": [ + "id", + "projectId", + "collectionId", + "chainId", + "contractAddress", + "status", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/ProjectStatus" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } - }, - "ErrorProjectLimitReached": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "ProjectLimitReached" - }, - "code": { - "type": "number", - "example": 3005 - }, - "msg": { - "type": "string", - "example": "Project limit reached" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 402 - } + } + }, + "Collectible": { + "type": "object", + "required": [ + "id", + "collectionId", + "chainId", + "contractAddress", + "status", + "tokenId", + "decimals", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CollectibleStatus" + }, + "tokenId": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } - }, - "ErrorNotImplemented": { - "type": "object", - "required": [ - "error", - "code", - "msg", - "status" - ], - "properties": { - "error": { - "type": "string", - "example": "NotImplemented" - }, - "code": { - "type": "number", - "example": 9999 - }, - "msg": { - "type": "string", - "example": "Not Implemented" - }, - "cause": { - "type": "string" - }, - "status": { - "type": "number", - "example": 500 - } + } + }, + "Currency": { + "type": "object", + "required": [ + "id", + "chainId", + "contractAddress", + "status", + "name", + "symbol", + "decimals", + "imageUrl", + "exchangeRate", + "defaultChainCurrency", + "nativeCurrency", + "createdAt", + "updatedAt", + "refreshMetadataJob" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CurrencyStatus" + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "imageUrl": { + "type": "string" + }, + "exchangeRate": { + "type": "number" + }, + "defaultChainCurrency": { + "type": "boolean" + }, + "nativeCurrency": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + }, + "refreshMetadataJob": { + "type": "number" } - }, - "TokenMetadata": { - "type": "object", - "required": [ - "tokenId", - "name", - "attributes" - ], - "properties": { - "tokenId": { - "type": "string" - }, - "name": { - "type": "string" - }, - "description": { - "type": "string" - }, - "image": { - "type": "string" - }, - "video": { - "type": "string" - }, - "audio": { - "type": "string" - }, - "properties": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } - }, - "attributes": { - "type": "array", - "description": "[]map", - "items": { - "type": "object", - "description": "map", - "additionalProperties": { - "type": "object" - } - } - }, - "imageData": { - "type": "string" - }, - "externalUrl": { - "type": "string" - }, - "backgroundColor": { - "type": "string" - }, - "animationUrl": { - "type": "string" - }, - "decimals": { - "type": "number" - }, - "updatedAt": { - "type": "string" - }, - "assets": { - "type": "array", - "description": "[]Asset", - "items": { - "$ref": "#/components/schemas/Asset" - } - } + } + }, + "OrderData": { + "type": "object", + "required": [ + "orderId", + "quantity" + ], + "properties": { + "orderId": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "tokenId": { + "type": "string" } - }, - "Asset": { - "type": "object", - "required": [ - "id", - "collectionId", - "tokenId", - "metadataField" - ], - "properties": { - "id": { - "type": "number" - }, - "collectionId": { - "type": "number" - }, - "tokenId": { - "type": "string" - }, - "url": { - "type": "string" - }, - "metadataField": { - "type": "string" - }, - "filename": { - "type": "string" - }, - "filesize": { - "type": "number" - }, - "mimeType": { - "type": "string" - }, - "width": { - "type": "number" - }, - "height": { - "type": "number" - }, - "updatedAt": { - "type": "string" - } + } + }, + "AdditionalFee": { + "type": "object", + "required": [ + "amount", + "receiver" + ], + "properties": { + "amount": { + "type": "string" + }, + "receiver": { + "type": "string" } - }, - "SortOrder": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "DESC", - "ASC" - ] - }, - "PropertyType": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "INT", - "STRING", - "ARRAY", - "GENERIC" - ] - }, - "MarketplaceKind": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "sequence_marketplace_v1", - "sequence_marketplace_v2", - "blur", - "zerox", - "opensea", - "looks_rare", - "x2y2", - "alienswap", - "payment_processor", - "mintify", - "magic_eden" - ] - }, - "OrderbookKind": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "sequence_marketplace_v1", - "sequence_marketplace_v2", - "blur", - "opensea", - "looks_rare", - "reservoir", - "x2y2" - ] - }, - "SourceKind": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "external", - "sequence_marketplace_v1", - "sequence_marketplace_v2" - ] - }, - "OrderSide": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "listing", - "offer" - ] - }, - "OrderStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "active", - "inactive", - "expired", - "cancelled", - "filled", - "decimals_missing" - ] - }, - "ContractType": { - "type": "string", - "description": "Represented as uint16 on the server side", - "enum": [ - "UNKNOWN", - "ERC20", - "ERC721", - "ERC1155" - ] - }, - "CollectionPriority": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "low", - "normal", - "high" - ] - }, - "CollectionStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "created", - "syncing_contract_metadata", - "synced_contract_metadata", - "syncing_metadata", - "synced_metadata", - "syncing_tokens", - "synced_tokens", - "syncing_orders", - "active", - "failed", - "inactive", - "incompatible_type" - ] - }, - "ProjectStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "active", - "inactive" - ] - }, - "CollectibleStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "active", - "inactive" - ] - }, - "CurrencyStatus": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "created", - "syncing_metadata", - "active", - "failed" - ] - }, - "WalletKind": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "sequence" - ] - }, - "StepType": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "tokenApproval", - "buy", - "sell", - "createListing", - "createOffer", - "signEIP712", - "signEIP191", - "cancel" - ] - }, - "TransactionCrypto": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "none", - "partially", - "all" - ] - }, - "TransactionNFTCheckoutProvider": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "sardine", - "transak" - ] - }, - "TransactionOnRampProvider": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "sardine", - "transak" - ] - }, - "TransactionSwapProvider": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "zerox" - ] - }, - "ExecuteType": { - "type": "string", - "description": "Represented as uint32 on the server side", - "enum": [ - "unknown", - "order" - ] - }, - "ActivityAction": { - "type": "string", - "description": "Represented as uint8 on the server side", - "enum": [ - "unknown", - "listing", - "offer", - "mint", - "sale", - "listingCancel", - "offerCancel", - "transfer" - ] - }, - "Page": { - "type": "object", - "required": [ - "page", - "pageSize" - ], - "properties": { - "page": { - "type": "number" - }, - "pageSize": { - "type": "number" - }, - "more": { - "type": "boolean" - }, - "sort": { - "type": "array", - "description": "[]SortBy", - "items": { - "$ref": "#/components/schemas/SortBy" - } - } + } + }, + "Step": { + "type": "object", + "required": [ + "id", + "data", + "to", + "value", + "price" + ], + "properties": { + "id": { + "$ref": "#/components/schemas/StepType" + }, + "data": { + "type": "string" + }, + "to": { + "type": "string" + }, + "value": { + "type": "string" + }, + "price": { + "type": "string" + }, + "signature": { + "$ref": "#/components/schemas/Signature" + }, + "post": { + "$ref": "#/components/schemas/PostRequest" + }, + "executeType": { + "$ref": "#/components/schemas/ExecuteType" } - }, - "SortBy": { - "type": "object", - "required": [ - "column", - "order" - ], - "properties": { - "column": { - "type": "string" - }, - "order": { - "$ref": "#/components/schemas/SortOrder" - } + } + }, + "PostRequest": { + "type": "object", + "required": [ + "endpoint", + "method", + "body" + ], + "properties": { + "endpoint": { + "type": "string" + }, + "method": { + "type": "string" + }, + "body": { + "type": "object" } - }, - "Filter": { - "type": "object", - "properties": { - "text": { - "type": "string" - }, - "properties": { - "type": "array", - "description": "[]PropertyFilter", - "items": { - "$ref": "#/components/schemas/PropertyFilter" - } - } - } - }, - "PropertyFilter": { - "type": "object", - "required": [ - "name", - "type" - ], - "properties": { - "name": { - "type": "string" - }, - "type": { - "$ref": "#/components/schemas/PropertyType" - }, - "min": { - "type": "number" - }, - "max": { - "type": "number" - }, - "values": { - "type": "array", - "description": "[]any", - "items": { - "type": "object" - } - } - } - }, - "CollectiblesFilter": { - "type": "object", - "required": [ - "includeEmpty" - ], - "properties": { - "includeEmpty": { - "type": "boolean" - }, - "searchText": { - "type": "string" - }, - "properties": { - "type": "array", - "description": "[]PropertyFilter", - "items": { - "$ref": "#/components/schemas/PropertyFilter" - } - }, - "marketplaces": { - "type": "array", - "description": "[]MarketplaceKind", - "items": { - "$ref": "#/components/schemas/MarketplaceKind" - } - }, - "inAccounts": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "notInAccounts": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "ordersCreatedBy": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "ordersNotCreatedBy": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "inCurrencyAddresses": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "notInCurrencyAddresses": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - } - } - }, - "Order": { - "type": "object", - "required": [ - "id", - "collectionId", - "orderId", - "marketplace", - "source", - "side", - "status", - "chainId", - "originName", - "collectionContractAddress", - "createdBy", - "priceAmount", - "priceAmountFormatted", - "priceAmountNet", - "priceAmountNetFormatted", - "priceCurrencyAddress", - "priceDecimals", - "priceUSD", - "priceUSDFormatted", - "quantityInitial", - "quantityInitialFormatted", - "quantityRemaining", - "quantityRemainingFormatted", - "quantityAvailable", - "quantityAvailableFormatted", - "quantityDecimals", - "feeBps", - "feeBreakdown", - "validFrom", - "validUntil", - "blockNumber", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { - "type": "number" - }, - "collectionId": { - "type": "number" - }, - "collectibleId": { - "type": "number" - }, - "orderId": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - }, - "source": { - "$ref": "#/components/schemas/SourceKind" - }, - "side": { - "$ref": "#/components/schemas/OrderSide" - }, - "status": { - "$ref": "#/components/schemas/OrderStatus" - }, - "chainId": { - "type": "number" - }, - "originName": { - "type": "string" - }, - "collectionContractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "createdBy": { - "type": "string" - }, - "priceAmount": { - "type": "string" - }, - "priceAmountFormatted": { - "type": "string" - }, - "priceAmountNet": { - "type": "string" - }, - "priceAmountNetFormatted": { - "type": "string" - }, - "priceCurrencyAddress": { - "type": "string" - }, - "priceDecimals": { - "type": "number" - }, - "priceUSD": { - "type": "number" - }, - "priceUSDFormatted": { - "type": "string" - }, - "quantityInitial": { - "type": "string" - }, - "quantityInitialFormatted": { - "type": "string" - }, - "quantityRemaining": { - "type": "string" - }, - "quantityRemainingFormatted": { - "type": "string" - }, - "quantityAvailable": { - "type": "string" - }, - "quantityAvailableFormatted": { - "type": "string" - }, - "quantityDecimals": { - "type": "number" - }, - "feeBps": { - "type": "number" - }, - "feeBreakdown": { - "type": "array", - "description": "[]FeeBreakdown", - "items": { - "$ref": "#/components/schemas/FeeBreakdown" - } - }, - "validFrom": { - "type": "string" - }, - "validUntil": { - "type": "string" - }, - "blockNumber": { - "type": "number" - }, - "orderCreatedAt": { - "type": "string" - }, - "orderUpdatedAt": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - } - } - }, - "FeeBreakdown": { - "type": "object", - "required": [ - "kind", - "recipientAddress", - "bps" - ], - "properties": { - "kind": { - "type": "string" - }, - "recipientAddress": { - "type": "string" - }, - "bps": { - "type": "number" - } - } - }, - "CollectibleOrder": { - "type": "object", - "required": [ - "metadata" - ], - "properties": { - "metadata": { - "$ref": "#/components/schemas/TokenMetadata" - }, - "order": { - "$ref": "#/components/schemas/Order" - }, - "listing": { - "$ref": "#/components/schemas/Order" - }, - "offer": { - "$ref": "#/components/schemas/Order" - } - } - }, - "OrderFilter": { - "type": "object", - "properties": { - "createdBy": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - }, - "marketplace": { - "type": "array", - "description": "[]MarketplaceKind", - "items": { - "$ref": "#/components/schemas/MarketplaceKind" - } - }, - "currencies": { - "type": "array", - "description": "[]string", - "items": { - "type": "string" - } - } - } - }, - "Collection": { - "type": "object", - "required": [ - "id", - "status", - "chainId", - "contractAddress", - "contractType", - "priority", - "tokenQuantityDecimals", - "config", - "syncContractMetadataJob", - "refreshMetadataJob", - "refreshMetadataTimestamp", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { - "type": "number" - }, - "status": { - "$ref": "#/components/schemas/CollectionStatus" - }, - "chainId": { - "type": "number" - }, - "contractAddress": { - "type": "string" - }, - "contractType": { - "$ref": "#/components/schemas/ContractType" - }, - "priority": { - "$ref": "#/components/schemas/CollectionPriority" - }, - "tokenQuantityDecimals": { - "type": "number" - }, - "config": { - "$ref": "#/components/schemas/CollectionConfig" - }, - "syncContractMetadataJob": { - "type": "number" - }, - "refreshMetadataJob": { - "type": "number" - }, - "refreshMetadataTimestamp": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - } - } - }, - "CollectionConfig": { - "type": "object", - "required": [ - "lastSynced", - "collectiblesSynced", - "activitiesSynced", - "activitiesSyncedContinuity" - ], - "properties": { - "lastSynced": { - "type": "object", - "description": "map", - "additionalProperties": { - "$ref": "#/components/schemas/CollectionLastSynced" - } - }, - "collectiblesSynced": { - "type": "string" - }, - "activitiesSynced": { - "type": "string" - }, - "activitiesSyncedContinuity": { - "type": "string" - } - } - }, - "CollectionLastSynced": { - "type": "object", - "required": [ - "allOrders", - "newOrders" - ], - "properties": { - "allOrders": { - "type": "string" - }, - "newOrders": { - "type": "string" - } - } - }, - "Project": { - "type": "object", - "required": [ - "id", - "projectId", - "collectionId", - "chainId", - "contractAddress", - "status", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { - "type": "number" - }, - "projectId": { - "type": "number" - }, - "collectionId": { - "type": "number" - }, - "chainId": { - "type": "number" - }, - "contractAddress": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/ProjectStatus" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - } - } - }, - "Collectible": { - "type": "object", - "required": [ - "id", - "collectionId", - "chainId", - "contractAddress", - "status", - "tokenId", - "decimals", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { - "type": "number" - }, - "collectionId": { - "type": "number" - }, - "chainId": { - "type": "number" - }, - "contractAddress": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/CollectibleStatus" - }, - "tokenId": { - "type": "string" - }, - "decimals": { - "type": "number" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - } - } - }, - "Currency": { - "type": "object", - "required": [ - "id", - "chainId", - "contractAddress", - "status", - "name", - "symbol", - "decimals", - "imageUrl", - "exchangeRate", - "defaultChainCurrency", - "nativeCurrency", - "createdAt", - "updatedAt", - "refreshMetadataJob" - ], - "properties": { - "id": { - "type": "number" - }, - "chainId": { - "type": "number" - }, - "contractAddress": { - "type": "string" - }, - "status": { - "$ref": "#/components/schemas/CurrencyStatus" - }, - "name": { - "type": "string" - }, - "symbol": { - "type": "string" - }, - "decimals": { - "type": "number" - }, - "imageUrl": { - "type": "string" - }, - "exchangeRate": { - "type": "number" - }, - "defaultChainCurrency": { - "type": "boolean" - }, - "nativeCurrency": { - "type": "boolean" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - }, - "refreshMetadataJob": { - "type": "number" - } - } - }, - "OrderData": { - "type": "object", - "required": [ - "orderId", - "quantity" - ], - "properties": { - "orderId": { - "type": "string" - }, - "quantity": { - "type": "string" - }, - "tokenId": { - "type": "string" - } - } - }, - "AdditionalFee": { - "type": "object", - "required": [ - "amount", - "receiver" - ], - "properties": { - "amount": { - "type": "string" - }, - "receiver": { - "type": "string" - } - } - }, - "Step": { - "type": "object", - "required": [ - "id", - "data", - "to", - "value", - "price" - ], - "properties": { - "id": { - "$ref": "#/components/schemas/StepType" - }, - "data": { - "type": "string" - }, - "to": { - "type": "string" - }, - "value": { - "type": "string" - }, - "price": { - "type": "string" - }, - "signature": { - "$ref": "#/components/schemas/Signature" - }, - "post": { - "$ref": "#/components/schemas/PostRequest" - }, - "executeType": { - "$ref": "#/components/schemas/ExecuteType" - } - } - }, - "PostRequest": { - "type": "object", - "required": [ - "endpoint", - "method", - "body" - ], - "properties": { - "endpoint": { - "type": "string" - }, - "method": { - "type": "string" - }, - "body": { - "type": "object" - } - } - }, - "CreateReq": { - "type": "object", - "required": [ - "tokenId", - "quantity", - "expiry", - "currencyAddress", - "pricePerToken" - ], - "properties": { - "tokenId": { - "type": "string" - }, - "quantity": { - "type": "string" - }, - "expiry": { - "type": "string" - }, - "currencyAddress": { - "type": "string" - }, - "pricePerToken": { - "type": "string" - } - } - }, - "GetOrdersInput": { - "type": "object", - "required": [ - "contractAddress", - "orderId", - "marketplace" - ], - "properties": { - "contractAddress": { - "type": "string" - }, - "orderId": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - } - } - }, - "Signature": { - "type": "object", - "required": [ - "domain", - "types", - "primaryType", - "value" - ], - "properties": { - "domain": { - "$ref": "#/components/schemas/Domain" - }, - "types": { - "type": "object" - }, - "primaryType": { - "type": "string" - }, - "value": { - "type": "object" - } - } - }, - "Domain": { - "type": "object", - "required": [ - "name", - "version", - "chainId", - "verifyingContract" - ], - "properties": { - "name": { - "type": "string" - }, - "version": { - "type": "string" - }, - "chainId": { - "type": "number" - }, - "verifyingContract": { - "type": "string" - } + } + }, + "CreateReq": { + "type": "object", + "required": [ + "tokenId", + "quantity", + "expiry", + "currencyAddress", + "pricePerToken" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "expiry": { + "type": "string" + }, + "currencyAddress": { + "type": "string" + }, + "pricePerToken": { + "type": "string" } - }, - "CheckoutOptionsMarketplaceOrder": { - "type": "object", - "required": [ - "contractAddress", - "orderId", - "marketplace" - ], - "properties": { - "contractAddress": { - "type": "string" - }, - "orderId": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - } + } + }, + "GetOrdersInput": { + "type": "object", + "required": [ + "contractAddress", + "orderId", + "marketplace" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" } - }, - "CheckoutOptionsItem": { - "type": "object", - "required": [ - "tokenId", - "quantity" - ], - "properties": { - "tokenId": { - "type": "string" - }, - "quantity": { - "type": "string" - } + } + }, + "Signature": { + "type": "object", + "required": [ + "domain", + "types", + "primaryType", + "value" + ], + "properties": { + "domain": { + "$ref": "#/components/schemas/Domain" + }, + "types": { + "type": "object" + }, + "primaryType": { + "type": "string" + }, + "value": { + "type": "object" } - }, - "CheckoutOptions": { - "type": "object", - "required": [ - "crypto", - "swap", - "nftCheckout", - "onRamp" - ], - "properties": { - "crypto": { - "$ref": "#/components/schemas/TransactionCrypto" - }, - "swap": { - "type": "array", - "description": "[]TransactionSwapProvider", - "items": { - "$ref": "#/components/schemas/TransactionSwapProvider" - } - }, - "nftCheckout": { - "type": "array", - "description": "[]TransactionNFTCheckoutProvider", - "items": { - "$ref": "#/components/schemas/TransactionNFTCheckoutProvider" - } - }, - "onRamp": { - "type": "array", - "description": "[]TransactionOnRampProvider", - "items": { - "$ref": "#/components/schemas/TransactionOnRampProvider" - } - } + } + }, + "Domain": { + "type": "object", + "required": [ + "name", + "version", + "chainId", + "verifyingContract" + ], + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "verifyingContract": { + "type": "string" } - }, - "Activity": { - "type": "object", - "required": [ - "id", - "collectionId", - "collectibleId", - "chainId", - "contractAddress", - "tokenId", - "action", - "txHash", - "source", - "from", - "quantity", - "quantityDecimals", - "activityCreatedAt", - "logIndex", - "uniqueHash", - "createdAt", - "updatedAt" - ], - "properties": { - "id": { - "type": "number" - }, - "collectionId": { - "type": "number" - }, - "collectibleId": { - "type": "number" - }, - "chainId": { - "type": "number" - }, - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "action": { - "$ref": "#/components/schemas/ActivityAction" - }, - "txHash": { - "type": "string" - }, - "source": { - "$ref": "#/components/schemas/SourceKind" - }, - "from": { - "type": "string" - }, - "to": { - "type": "string" - }, - "quantity": { - "type": "string" - }, - "quantityDecimals": { - "type": "number" - }, - "priceAmount": { - "type": "string" - }, - "priceAmountFormatted": { - "type": "string" - }, - "priceCurrencyAddress": { - "type": "string" - }, - "priceDecimals": { - "type": "number" - }, - "activityCreatedAt": { - "type": "string" - }, - "logIndex": { - "type": "number" - }, - "uniqueHash": { - "type": "string" - }, - "createdAt": { - "type": "string" - }, - "updatedAt": { - "type": "string" - }, - "deletedAt": { - "type": "string" - } + } + }, + "CheckoutOptionsMarketplaceOrder": { + "type": "object", + "required": [ + "contractAddress", + "orderId", + "marketplace" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" } - }, - "Marketplace_ListCurrencies_Request": { - "type": "object" - }, - "Marketplace_GetCollectionDetail_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - } + } + }, + "CheckoutOptionsItem": { + "type": "object", + "required": [ + "tokenId", + "quantity" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "quantity": { + "type": "string" } - }, - "Marketplace_GetCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" + } + }, + "CheckoutOptions": { + "type": "object", + "required": [ + "crypto", + "swap", + "nftCheckout", + "onRamp" + ], + "properties": { + "crypto": { + "$ref": "#/components/schemas/TransactionCrypto" + }, + "swap": { + "type": "array", + "description": "[]TransactionSwapProvider", + "items": { + "$ref": "#/components/schemas/TransactionSwapProvider" } - } - }, - "Marketplace_GetLowestPriceOfferForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" + }, + "nftCheckout": { + "type": "array", + "description": "[]TransactionNFTCheckoutProvider", + "items": { + "$ref": "#/components/schemas/TransactionNFTCheckoutProvider" } - } - }, - "Marketplace_GetHighestPriceOfferForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" + }, + "onRamp": { + "type": "array", + "description": "[]TransactionOnRampProvider", + "items": { + "$ref": "#/components/schemas/TransactionOnRampProvider" } } - }, - "Marketplace_GetLowestPriceListingForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Activity": { + "type": "object", + "required": [ + "id", + "collectionId", + "collectibleId", + "chainId", + "contractAddress", + "tokenId", + "action", + "txHash", + "source", + "from", + "quantity", + "quantityDecimals", + "activityCreatedAt", + "logIndex", + "uniqueHash", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "collectibleId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "action": { + "$ref": "#/components/schemas/ActivityAction" + }, + "txHash": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/SourceKind" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "quantityDecimals": { + "type": "number" + }, + "priceAmount": { + "type": "string" + }, + "priceAmountFormatted": { + "type": "string" + }, + "priceCurrencyAddress": { + "type": "string" + }, + "priceDecimals": { + "type": "number" + }, + "activityCreatedAt": { + "type": "string" + }, + "logIndex": { + "type": "number" + }, + "uniqueHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" } - }, - "Marketplace_GetHighestPriceListingForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_ListCurrencies_Request": { + "type": "object" + }, + "Marketplace_GetCollectionDetail_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" } - }, - "Marketplace_ListListingsForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" } - }, - "Marketplace_ListOffersForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetLowestPriceOfferForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GetCountOfListingsForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_GetHighestPriceOfferForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GetCountOfOffersForCollectible_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_GetLowestPriceListingForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GetCollectibleLowestOffer_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_GetHighestPriceListingForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GetCollectibleHighestOffer_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_ListListingsForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetCollectibleLowestListing_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_ListOffersForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetCollectibleHighestListing_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - } + } + }, + "Marketplace_GetCountOfListingsForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_ListCollectibleListings_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfOffersForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_ListCollectibleOffers_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/OrderFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCollectibleLowestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GenerateBuyTransaction_Request": { - "type": "object", - "properties": { - "collectionAddress": { - "type": "string" - }, - "buyer": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - }, - "ordersData": { - "type": "array", - "description": "[]OrderData", - "items": { - "$ref": "#/components/schemas/OrderData" - } - }, - "additionalFees": { - "type": "array", - "description": "[]AdditionalFee", - "items": { - "$ref": "#/components/schemas/AdditionalFee" - } - }, - "walletType": { - "$ref": "#/components/schemas/WalletKind" - } + } + }, + "Marketplace_GetCollectibleHighestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GenerateSellTransaction_Request": { - "type": "object", - "properties": { - "collectionAddress": { - "type": "string" - }, - "seller": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - }, - "ordersData": { - "type": "array", - "description": "[]OrderData", - "items": { - "$ref": "#/components/schemas/OrderData" - } - }, - "additionalFees": { - "type": "array", - "description": "[]AdditionalFee", - "items": { - "$ref": "#/components/schemas/AdditionalFee" - } - }, - "walletType": { - "$ref": "#/components/schemas/WalletKind" - } + } + }, + "Marketplace_GetCollectibleLowestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GenerateListingTransaction_Request": { - "type": "object", - "properties": { - "collectionAddress": { - "type": "string" - }, - "owner": { - "type": "string" - }, - "contractType": { - "$ref": "#/components/schemas/ContractType" - }, - "orderbook": { - "$ref": "#/components/schemas/OrderbookKind" - }, - "listing": { - "$ref": "#/components/schemas/CreateReq" - }, - "walletType": { - "$ref": "#/components/schemas/WalletKind" - } + } + }, + "Marketplace_GetCollectibleHighestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" } - }, - "Marketplace_GenerateOfferTransaction_Request": { - "type": "object", - "properties": { - "collectionAddress": { - "type": "string" - }, - "maker": { - "type": "string" - }, - "contractType": { - "$ref": "#/components/schemas/ContractType" - }, - "orderbook": { - "$ref": "#/components/schemas/OrderbookKind" - }, - "offer": { - "$ref": "#/components/schemas/CreateReq" - }, - "walletType": { - "$ref": "#/components/schemas/WalletKind" - } + } + }, + "Marketplace_ListCollectibleListings_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GenerateCancelTransaction_Request": { - "type": "object", - "properties": { - "collectionAddress": { - "type": "string" - }, - "maker": { - "type": "string" - }, - "marketplace": { - "$ref": "#/components/schemas/MarketplaceKind" - }, - "orderId": { - "type": "string" - } + } + }, + "Marketplace_ListCollectibleOffers_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_Execute_Request": { - "type": "object", - "properties": { - "signature": { - "type": "string" - }, - "method": { - "type": "string" - }, - "endpoint": { - "type": "string" - }, - "executeType": { - "$ref": "#/components/schemas/ExecuteType" - }, - "body": { - "type": "object" + } + }, + "Marketplace_GenerateBuyTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "buyer": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "ordersData": { + "type": "array", + "description": "[]OrderData", + "items": { + "$ref": "#/components/schemas/OrderData" } - } - }, - "Marketplace_ListCollectibles_Request": { - "type": "object", - "properties": { - "side": { - "$ref": "#/components/schemas/OrderSide" - }, - "contractAddress": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/CollectiblesFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" + }, + "additionalFees": { + "type": "array", + "description": "[]AdditionalFee", + "items": { + "$ref": "#/components/schemas/AdditionalFee" } + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" } - }, - "Marketplace_GetCountOfAllCollectibles_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" + } + }, + "Marketplace_GenerateSellTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "seller": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "ordersData": { + "type": "array", + "description": "[]OrderData", + "items": { + "$ref": "#/components/schemas/OrderData" } - } - }, - "Marketplace_GetCountOfFilteredCollectibles_Request": { - "type": "object", - "properties": { - "side": { - "$ref": "#/components/schemas/OrderSide" - }, - "contractAddress": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/CollectiblesFilter" + }, + "additionalFees": { + "type": "array", + "description": "[]AdditionalFee", + "items": { + "$ref": "#/components/schemas/AdditionalFee" } + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" } - }, - "Marketplace_GetFloorOrder_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/CollectiblesFilter" - } + } + }, + "Marketplace_GenerateListingTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "orderbook": { + "$ref": "#/components/schemas/OrderbookKind" + }, + "listing": { + "$ref": "#/components/schemas/CreateReq" + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" } - }, - "Marketplace_ListCollectionActivities_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GenerateOfferTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "maker": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "orderbook": { + "$ref": "#/components/schemas/OrderbookKind" + }, + "offer": { + "$ref": "#/components/schemas/CreateReq" + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" } - }, - "Marketplace_ListCollectibleActivities_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "tokenId": { - "type": "string" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GenerateCancelTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "maker": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "orderId": { + "type": "string" } - }, - "Marketplace_ListCollectiblesWithLowestListing_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/CollectiblesFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_Execute_Request": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "method": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "executeType": { + "$ref": "#/components/schemas/ExecuteType" + }, + "body": { + "type": "object" } - }, - "Marketplace_ListCollectiblesWithHighestOffer_Request": { - "type": "object", - "properties": { - "contractAddress": { - "type": "string" - }, - "filter": { - "$ref": "#/components/schemas/CollectiblesFilter" - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_ListCollectibles_Request": { + "type": "object", + "properties": { + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetOrders_Request": { - "type": "object", - "properties": { - "input": { - "type": "array", - "description": "[]GetOrdersInput", - "items": { - "$ref": "#/components/schemas/GetOrdersInput" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfAllCollectibles_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" } - }, - "Marketplace_CheckoutOptionsMarketplace_Request": { - "type": "object", - "properties": { - "wallet": { - "type": "string" - }, - "orders": { - "type": "array", - "description": "[]CheckoutOptionsMarketplaceOrder", - "items": { - "$ref": "#/components/schemas/CheckoutOptionsMarketplaceOrder" - } - }, - "additionalFee": { - "type": "number" - } + } + }, + "Marketplace_GetCountOfFilteredCollectibles_Request": { + "type": "object", + "properties": { + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" } - }, - "Marketplace_CheckoutOptionsSalesContract_Request": { - "type": "object", - "properties": { - "wallet": { - "type": "string" - }, - "contractAddress": { - "type": "string" - }, - "collectionAddress": { - "type": "string" - }, - "items": { - "type": "array", - "description": "[]CheckoutOptionsItem", - "items": { - "$ref": "#/components/schemas/CheckoutOptionsItem" - } - } + } + }, + "Marketplace_GetFloorOrder_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" } - }, - "Marketplace_SupportedMarketplaces_Request": { - "type": "object" - }, - "Marketplace_ListCurrencies_Response": { - "type": "object", - "properties": { - "currencies": { - "type": "array", - "description": "[]Currency", - "items": { - "$ref": "#/components/schemas/Currency" - } - } + } + }, + "Marketplace_ListCollectionActivities_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetCollectionDetail_Response": { - "type": "object", - "properties": { - "collection": { - "$ref": "#/components/schemas/Collection" - } + } + }, + "Marketplace_ListCollectibleActivities_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetCollectible_Response": { - "type": "object", - "properties": { - "metadata": { - "$ref": "#/components/schemas/TokenMetadata" - } + } + }, + "Marketplace_ListCollectiblesWithLowestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetLowestPriceOfferForCollectible_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" - } + } + }, + "Marketplace_ListCollectiblesWithHighestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetHighestPriceOfferForCollectible_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" + } + }, + "Marketplace_GetOrders_Request": { + "type": "object", + "properties": { + "input": { + "type": "array", + "description": "[]GetOrdersInput", + "items": { + "$ref": "#/components/schemas/GetOrdersInput" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetLowestPriceListingForCollectible_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" + } + }, + "Marketplace_CheckoutOptionsMarketplace_Request": { + "type": "object", + "properties": { + "wallet": { + "type": "string" + }, + "orders": { + "type": "array", + "description": "[]CheckoutOptionsMarketplaceOrder", + "items": { + "$ref": "#/components/schemas/CheckoutOptionsMarketplaceOrder" } + }, + "additionalFee": { + "type": "number" } - }, - "Marketplace_GetHighestPriceListingForCollectible_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" + } + }, + "Marketplace_CheckoutOptionsSalesContract_Request": { + "type": "object", + "properties": { + "wallet": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "collectionAddress": { + "type": "string" + }, + "items": { + "type": "array", + "description": "[]CheckoutOptionsItem", + "items": { + "$ref": "#/components/schemas/CheckoutOptionsItem" } } - }, - "Marketplace_ListListingsForCollectible_Response": { - "type": "object", - "properties": { - "listings": { - "type": "array", - "description": "[]Order", - "items": { - "$ref": "#/components/schemas/Order" - } - }, - "page": { - "$ref": "#/components/schemas/Page" + } + }, + "Marketplace_SupportedMarketplaces_Request": { + "type": "object" + }, + "Marketplace_ListCurrencies_Response": { + "type": "object", + "properties": { + "currencies": { + "type": "array", + "description": "[]Currency", + "items": { + "$ref": "#/components/schemas/Currency" } } - }, - "Marketplace_ListOffersForCollectible_Response": { - "type": "object", - "properties": { - "offers": { - "type": "array", - "description": "[]Order", - "items": { - "$ref": "#/components/schemas/Order" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCollectionDetail_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" } - }, - "Marketplace_GetCountOfListingsForCollectible_Response": { - "type": "object", - "properties": { - "count": { - "type": "number" - } + } + }, + "Marketplace_GetCollectible_Response": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/components/schemas/TokenMetadata" } - }, - "Marketplace_GetCountOfOffersForCollectible_Response": { - "type": "object", - "properties": { - "count": { - "type": "number" - } + } + }, + "Marketplace_GetLowestPriceOfferForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" } - }, - "Marketplace_GetCollectibleLowestOffer_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" - } + } + }, + "Marketplace_GetHighestPriceOfferForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" } - }, - "Marketplace_GetCollectibleHighestOffer_Response": { - "type": "object", - "properties": { - "order": { - "$ref": "#/components/schemas/Order" - } + } + }, + "Marketplace_GetLowestPriceListingForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" } - }, - "Marketplace_GetCollectibleLowestListing_Response": { - "type": "object", - "properties": { - "order": { + } + }, + "Marketplace_GetHighestPriceListingForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_ListListingsForCollectible_Response": { + "type": "object", + "properties": { + "listings": { + "type": "array", + "description": "[]Order", + "items": { "$ref": "#/components/schemas/Order" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetCollectibleHighestListing_Response": { - "type": "object", - "properties": { - "order": { + } + }, + "Marketplace_ListOffersForCollectible_Response": { + "type": "object", + "properties": { + "offers": { + "type": "array", + "description": "[]Order", + "items": { "$ref": "#/components/schemas/Order" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_ListCollectibleListings_Response": { - "type": "object", - "properties": { - "listings": { - "type": "array", - "description": "[]Order", - "items": { - "$ref": "#/components/schemas/Order" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfListingsForCollectible_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" } - }, - "Marketplace_ListCollectibleOffers_Response": { - "type": "object", - "properties": { - "offers": { - "type": "array", - "description": "[]Order", - "items": { - "$ref": "#/components/schemas/Order" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfOffersForCollectible_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" } - }, - "Marketplace_GenerateBuyTransaction_Response": { - "type": "object", - "properties": { - "steps": { - "type": "array", - "description": "[]Step", - "items": { - "$ref": "#/components/schemas/Step" - } - } + } + }, + "Marketplace_GetCollectibleLowestOffer_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" } - }, - "Marketplace_GenerateSellTransaction_Response": { - "type": "object", - "properties": { - "steps": { - "type": "array", - "description": "[]Step", - "items": { - "$ref": "#/components/schemas/Step" - } - } + } + }, + "Marketplace_GetCollectibleHighestOffer_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" } - }, - "Marketplace_GenerateListingTransaction_Response": { - "type": "object", - "properties": { - "steps": { - "type": "array", - "description": "[]Step", - "items": { - "$ref": "#/components/schemas/Step" - } + } + }, + "Marketplace_GetCollectibleLowestListing_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetCollectibleHighestListing_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_ListCollectibleListings_Response": { + "type": "object", + "properties": { + "listings": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GenerateOfferTransaction_Response": { - "type": "object", - "properties": { - "steps": { - "type": "array", - "description": "[]Step", - "items": { - "$ref": "#/components/schemas/Step" - } + } + }, + "Marketplace_ListCollectibleOffers_Response": { + "type": "object", + "properties": { + "offers": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GenerateCancelTransaction_Response": { - "type": "object", - "properties": { - "steps": { - "type": "array", - "description": "[]Step", - "items": { - "$ref": "#/components/schemas/Step" - } + } + }, + "Marketplace_GenerateBuyTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" } } - }, - "Marketplace_Execute_Response": { - "type": "object", - "properties": { - "orderId": { - "type": "string" + } + }, + "Marketplace_GenerateSellTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" } } - }, - "Marketplace_ListCollectibles_Response": { - "type": "object", - "properties": { - "collectibles": { - "type": "array", - "description": "[]CollectibleOrder", - "items": { - "$ref": "#/components/schemas/CollectibleOrder" - } - }, - "page": { - "$ref": "#/components/schemas/Page" + } + }, + "Marketplace_GenerateListingTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" } } - }, - "Marketplace_GetCountOfAllCollectibles_Response": { - "type": "object", - "properties": { - "count": { - "type": "number" + } + }, + "Marketplace_GenerateOfferTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" } } - }, - "Marketplace_GetCountOfFilteredCollectibles_Response": { - "type": "object", - "properties": { - "count": { - "type": "number" + } + }, + "Marketplace_GenerateCancelTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" } } - }, - "Marketplace_GetFloorOrder_Response": { - "type": "object", - "properties": { - "collectible": { + } + }, + "Marketplace_Execute_Response": { + "type": "object", + "properties": { + "orderId": { + "type": "string" + } + } + }, + "Marketplace_ListCollectibles_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { "$ref": "#/components/schemas/CollectibleOrder" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_ListCollectionActivities_Response": { - "type": "object", - "properties": { - "activities": { - "type": "array", - "description": "[]Activity", - "items": { - "$ref": "#/components/schemas/Activity" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfAllCollectibles_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" } - }, - "Marketplace_ListCollectibleActivities_Response": { - "type": "object", - "properties": { - "activities": { - "type": "array", - "description": "[]Activity", - "items": { - "$ref": "#/components/schemas/Activity" - } - }, - "page": { - "$ref": "#/components/schemas/Page" - } + } + }, + "Marketplace_GetCountOfFilteredCollectibles_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" } - }, - "Marketplace_ListCollectiblesWithLowestListing_Response": { - "type": "object", - "properties": { - "collectibles": { - "type": "array", - "description": "[]CollectibleOrder", - "items": { - "$ref": "#/components/schemas/CollectibleOrder" - } - }, - "page": { - "$ref": "#/components/schemas/Page" + } + }, + "Marketplace_GetFloorOrder_Response": { + "type": "object", + "properties": { + "collectible": { + "$ref": "#/components/schemas/CollectibleOrder" + } + } + }, + "Marketplace_ListCollectionActivities_Response": { + "type": "object", + "properties": { + "activities": { + "type": "array", + "description": "[]Activity", + "items": { + "$ref": "#/components/schemas/Activity" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_ListCollectiblesWithHighestOffer_Response": { - "type": "object", - "properties": { - "collectibles": { - "type": "array", - "description": "[]CollectibleOrder", - "items": { - "$ref": "#/components/schemas/CollectibleOrder" - } - }, - "page": { - "$ref": "#/components/schemas/Page" + } + }, + "Marketplace_ListCollectibleActivities_Response": { + "type": "object", + "properties": { + "activities": { + "type": "array", + "description": "[]Activity", + "items": { + "$ref": "#/components/schemas/Activity" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_GetOrders_Response": { - "type": "object", - "properties": { - "orders": { - "type": "array", - "description": "[]Order", - "items": { - "$ref": "#/components/schemas/Order" - } - }, - "page": { - "$ref": "#/components/schemas/Page" + } + }, + "Marketplace_ListCollectiblesWithLowestListing_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { + "$ref": "#/components/schemas/CollectibleOrder" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_CheckoutOptionsMarketplace_Response": { - "type": "object", - "properties": { - "options": { - "$ref": "#/components/schemas/CheckoutOptions" + } + }, + "Marketplace_ListCollectiblesWithHighestOffer_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { + "$ref": "#/components/schemas/CollectibleOrder" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_CheckoutOptionsSalesContract_Response": { - "type": "object", - "properties": { - "options": { - "$ref": "#/components/schemas/CheckoutOptions" + } + }, + "Marketplace_GetOrders_Response": { + "type": "object", + "properties": { + "orders": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" } + }, + "page": { + "$ref": "#/components/schemas/Page" } - }, - "Marketplace_SupportedMarketplaces_Response": { - "type": "object", - "properties": { - "marketplaces": { - "type": "array", - "description": "[]MarketplaceKind", - "items": { - "$ref": "#/components/schemas/MarketplaceKind" - } + } + }, + "Marketplace_CheckoutOptionsMarketplace_Response": { + "type": "object", + "properties": { + "options": { + "$ref": "#/components/schemas/CheckoutOptions" + } + } + }, + "Marketplace_CheckoutOptionsSalesContract_Response": { + "type": "object", + "properties": { + "options": { + "$ref": "#/components/schemas/CheckoutOptions" + } + } + }, + "Marketplace_SupportedMarketplaces_Response": { + "type": "object", + "properties": { + "marketplaces": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" } } } } - }, - "paths": { - "/rpc/Marketplace/ListCurrencies": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "info": { + "title": "Marketplace Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Marketplace/ListCurrencies": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCurrencies_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCurrencies_Request" + "$ref": "#/components/schemas/Marketplace_ListCurrencies_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCurrencies_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectionDetail": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectionDetail": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetLowestPriceOfferForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetLowestPriceOfferForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetHighestPriceOfferForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetHighestPriceOfferForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetLowestPriceListingForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetLowestPriceListingForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetHighestPriceListingForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetHighestPriceListingForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListListingsForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListListingsForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListOffersForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListOffersForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCountOfListingsForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCountOfListingsForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCountOfOffersForCollectible": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCountOfOffersForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Request" + "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectibleLowestOffer": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use GetLowestPriceOfferForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectibleLowestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetLowestPriceOfferForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectibleHighestOffer": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use GetHighestPriceOfferForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectibleHighestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetHighestPriceOfferForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectibleLowestListing": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use GetLowestPriceListingForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectibleLowestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetLowestPriceListingForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCollectibleHighestListing": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use GetHighestPriceListingForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCollectibleHighestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetHighestPriceListingForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Request" + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectibleListings": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use ListListingsForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectibleListings": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use ListListingsForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectibleOffers": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "Deprecated: Please use ListOffersForCollectible instead.", - "deprecated": true, - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectibleOffers": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use ListOffersForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GenerateBuyTransaction": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "checkout process", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GenerateBuyTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "checkout process", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Request" + "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GenerateSellTransaction": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GenerateSellTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Request" + "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GenerateListingTransaction": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GenerateListingTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Request" + "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GenerateOfferTransaction": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GenerateOfferTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Request" + "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GenerateCancelTransaction": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GenerateCancelTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Request" + "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectibles": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "list of collectibles with best order for each collectible, by default this only returns collectibles with an order", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "list of collectibles with best order for each collectible, by default this only returns collectibles with an order", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibles_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibles_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectibles_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibles_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCountOfAllCollectibles": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCountOfAllCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Request" + "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetCountOfFilteredCollectibles": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetCountOfFilteredCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Request" + "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetFloorOrder": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetFloorOrder": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Request" + "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectionActivities": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectionActivities": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectibleActivities": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectibleActivities": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectiblesWithLowestListing": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectiblesWithLowestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/ListCollectiblesWithHighestOffer": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/ListCollectiblesWithHighestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Request" + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/GetOrders": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/GetOrders": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetOrders_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_GetOrders_Request" + "$ref": "#/components/schemas/Marketplace_GetOrders_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_GetOrders_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/CheckoutOptionsMarketplace": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/CheckoutOptionsMarketplace": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Request" + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/CheckoutOptionsSalesContract": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/CheckoutOptionsSalesContract": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Request" + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } - }, - "/rpc/Marketplace/SupportedMarketplaces": { - "post": { - "tags": [ - "Marketplace" - ], - "summary": "", - "security": [ - { - "ApiKeyAuth": [ + } + }, + "/rpc/Marketplace/SupportedMarketplaces": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Request" + } } - ], - "requestBody": { + } + }, + "responses": { + "200": { + "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Request" + "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Response" } } } }, - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Response" - } - } - } - }, - "4XX": { - "description": "Client error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcEndpoint" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRoute" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadMethod" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcBadRequest" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcStreamLost" - }, - { - "$ref": "#/components/schemas/ErrorUnauthorized" - }, - { - "$ref": "#/components/schemas/ErrorPermissionDenied" - }, - { - "$ref": "#/components/schemas/ErrorSessionExpired" - }, - { - "$ref": "#/components/schemas/ErrorMethodNotFound" - }, - { - "$ref": "#/components/schemas/ErrorTimeout" - }, - { - "$ref": "#/components/schemas/ErrorInvalidArgument" - }, - { - "$ref": "#/components/schemas/ErrorNotFound" - }, - { - "$ref": "#/components/schemas/ErrorUserNotFound" - }, - { - "$ref": "#/components/schemas/ErrorProjectNotFound" - }, - { - "$ref": "#/components/schemas/ErrorInvalidTier" - }, - { - "$ref": "#/components/schemas/ErrorProjectLimitReached" - } - ] - } + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] } } - }, - "5XX": { - "description": "Server error", - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ErrorWebrpcBadResponse" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcServerPanic" - }, - { - "$ref": "#/components/schemas/ErrorWebrpcInternalError" - }, - { - "$ref": "#/components/schemas/ErrorNotImplemented" - } - ] - } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] } } } } } } + } + }, + "security": [ + { + "ApiKeyAuth": [] + } + ], + "servers": [ + { + "url": "https://marketplace-api.sequence.app/amoy/", + "description": "Amoy" }, - "security": [ - { - "ApiKeyAuth": [] - } - ] - } \ No newline at end of file + { + "url": "https://marketplace-api.sequence.app/apechain-mainnet/", + "description": "Apechain Mainnet" + }, + { + "url": "https://marketplace-api.sequence.app/apechain-testnet/", + "description": "Apechain Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum/", + "description": "Arbitrum" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum-nova/", + "description": "Arbitrum Nova" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum-sepolia/", + "description": "Arbitrum Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/astar-zkevm/", + "description": "Astar zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/astar-zkyoto/", + "description": "Astar zKyoto" + }, + { + "url": "https://marketplace-api.sequence.app/avalanche/", + "description": "Avalanche" + }, + { + "url": "https://marketplace-api.sequence.app/avalanche-testnet/", + "description": "Avalanche Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/b3/", + "description": "B3" + }, + { + "url": "https://marketplace-api.sequence.app/b3-sepolia/", + "description": "B3 Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/base/", + "description": "Base" + }, + { + "url": "https://marketplace-api.sequence.app/base-sepolia/", + "description": "Base Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/blast/", + "description": "Blast" + }, + { + "url": "https://marketplace-api.sequence.app/blast-sepolia/", + "description": "Blast Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/borne-testnet/", + "description": "Borne Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/bsc/", + "description": "BSC" + }, + { + "url": "https://marketplace-api.sequence.app/bsc-testnet/", + "description": "BSC Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/gnosis/", + "description": "Gnosis" + }, + { + "url": "https://marketplace-api.sequence.app/homeverse/", + "description": "Homeverse" + }, + { + "url": "https://marketplace-api.sequence.app/homeverse-testnet/", + "description": "Homeverse Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/immutable-zkevm/", + "description": "Immutable zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/immutable-zkevm-testnet/", + "description": "Immutable zkEVM Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/imx/", + "description": "IMX" + }, + { + "url": "https://marketplace-api.sequence.app/imx-testnet/", + "description": "IMX Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/mainnet/", + "description": "Mainnet" + }, + { + "url": "https://marketplace-api.sequence.app/optimism/", + "description": "Optimism" + }, + { + "url": "https://marketplace-api.sequence.app/optimism-sepolia/", + "description": "Optimism Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/polygon/", + "description": "Polygon" + }, + { + "url": "https://marketplace-api.sequence.app/polygon-zkevm/", + "description": "Polygon zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/rootnet/", + "description": "Rootnet" + }, + { + "url": "https://marketplace-api.sequence.app/rootnet-porcini/", + "description": "Rootnet Porcini" + }, + { + "url": "https://marketplace-api.sequence.app/sepolia/", + "description": "Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/skale-nebula-testnet/", + "description": "SKALE Nebula Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/soneium-minato/", + "description": "Soneium Minato" + }, + { + "url": "https://marketplace-api.sequence.app/toy-testnet/", + "description": "Toy Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/xai/", + "description": "Xai" + }, + { + "url": "https://marketplace-api.sequence.app/xai-sepolia/", + "description": "Xai Sepolia" + } + ] +} diff --git a/api-references/metadata/endpoints/sequence-metadata.json b/api-references/metadata/endpoints/sequence-metadata.json index fc5af984..352f2ecf 100644 --- a/api-references/metadata/endpoints/sequence-metadata.json +++ b/api-references/metadata/endpoints/sequence-metadata.json @@ -1,15 +1,4 @@ { - "openapi": "3.0.0", - "info": { - "title": "Sequence Metadata", - "version": "" - }, - "servers": [ - { - "url": "https://metadata.sequence.app/", - "description": "Metadata" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -2709,6 +2698,11 @@ } } }, + "info": { + "title": "Sequence Metadata", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/Metadata/RefreshTokenMetadata": { "post": { @@ -10740,6 +10734,12 @@ } } }, + "servers": [ + { + "url": "https://metadata.sequence.app/", + "description": "Metadata" + } + ], "tags": [ { "name": "public", @@ -10750,4 +10750,4 @@ "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." } ] -} \ No newline at end of file +} diff --git a/api-references/metadata/overview.mdx b/api-references/metadata/overview.mdx index 5969508e..0f2cb77c 100644 --- a/api-references/metadata/overview.mdx +++ b/api-references/metadata/overview.mdx @@ -56,4 +56,4 @@ contractInfo, err := seqMetadata.GetContractInfo(context.Background(), "polygon" ### Unity or Unreal Installation -The Sequence Metadata is integrated directly inside of the respective [Sequence Unity](/sdk/unity/overview) and [Sequence Unreal](/sdk/unreal/introduction) SDKs. +The Sequence Metadata is integrated directly inside of the respective [Sequence Unity](/sdk/unity/overview) and [Sequence Unreal](/sdk/unreal/overview) SDKs. diff --git a/api-references/transactions/endpoints/relayer-api.json b/api-references/transactions/endpoints/relayer-api.json index 9c3ce4cd..767fc0e3 100644 --- a/api-references/transactions/endpoints/relayer-api.json +++ b/api-references/transactions/endpoints/relayer-api.json @@ -1,163 +1,4 @@ { - "openapi": "3.0.0", - "info": { - "title": "Relayer Api", - "version": "" - }, - "servers": [ - { - "url": "https://amoy-relayer.sequence.app", - "description": "Amoy Relayer" - }, - { - "url": "https://apechain-relayer.sequence.app", - "description": "Apechain Relayer" - }, - { - "url": "https://apechain-testnet-relayer.sequence.app", - "description": "Apechain-Testnet Relayer" - }, - { - "url": "https://arbitrum-relayer.sequence.app", - "description": "Arbitrum Relayer" - }, - { - "url": "https://arbitrum-nova-relayer.sequence.app", - "description": "Arbitrum-Nova Relayer" - }, - { - "url": "https://arbitrum-sepolia-relayer.sequence.app", - "description": "Arbitrum-Sepolia Relayer" - }, - { - "url": "https://avalanche-relayer.sequence.app", - "description": "Avalanche Relayer" - }, - { - "url": "https://avalanche-testnet-relayer.sequence.app", - "description": "Avalanche-Testnet Relayer" - }, - { - "url": "https://b3-relayer.sequence.app", - "description": "B3 Relayer" - }, - { - "url": "https://b3-sepolia-relayer.sequence.app", - "description": "B3-Sepolia Relayer" - }, - { - "url": "https://base-relayer.sequence.app", - "description": "Base Relayer" - }, - { - "url": "https://base-sepolia-relayer.sequence.app", - "description": "Base-Sepolia Relayer" - }, - { - "url": "https://blast-relayer.sequence.app", - "description": "Blast Relayer" - }, - { - "url": "https://blast-sepolia-relayer.sequence.app", - "description": "Blast-Sepolia Relayer" - }, - { - "url": "https://bsc-relayer.sequence.app", - "description": "Bsc Relayer" - }, - { - "url": "https://bsc-testnet-relayer.sequence.app", - "description": "Bsc-Testnet Relayer" - }, - { - "url": "https://gnosis-relayer.sequence.app", - "description": "Gnosis Relayer" - }, - { - "url": "https://homeverse-relayer.sequence.app", - "description": "Homeverse Relayer" - }, - { - "url": "https://homeverse-testnet-relayer.sequence.app", - "description": "Homeverse-Testnet Relayer" - }, - { - "url": "https://immutable-zkevm-relayer.sequence.app", - "description": "Immutable-Zkevm Relayer" - }, - { - "url": "https://immutable-zkevm-testnet-relayer.sequence.app", - "description": "Immutable-Zkevm-Testnet Relayer" - }, - { - "url": "https://laos-relayer.sequence.app", - "description": "Laos Relayer" - }, - { - "url": "https://laos-sigma-testnet-relayer.sequence.app", - "description": "Laos-Sigma-Testnet Relayer" - }, - { - "url": "https://mainnet-relayer.sequence.app", - "description": "Mainnet Relayer" - }, - { - "url": "https://optimism-relayer.sequence.app", - "description": "Optimism Relayer" - }, - { - "url": "https://optimism-sepolia-relayer.sequence.app", - "description": "Optimism-Sepolia Relayer" - }, - { - "url": "https://polygon-relayer.sequence.app", - "description": "Polygon Relayer" - }, - { - "url": "https://polygon-zkevm-relayer.sequence.app", - "description": "Polygon-Zkevm Relayer" - }, - { - "url": "https://rootnet-relayer.sequence.app", - "description": "Rootnet Relayer" - }, - { - "url": "https://rootnet-porcini-relayer.sequence.app", - "description": "Rootnet-Porcini Relayer" - }, - { - "url": "https://sepolia-relayer.sequence.app", - "description": "Sepolia Relayer" - }, - { - "url": "https://skale-nebula-relayer.sequence.app", - "description": "Skale-Nebula Relayer" - }, - { - "url": "https://skale-nebula-testnet-relayer.sequence.app", - "description": "Skale-Nebula-Testnet Relayer" - }, - { - "url": "https://soneium-minato-relayer.sequence.app", - "description": "Soneium-Minato Relayer" - }, - { - "url": "https://toy-testnet-relayer.sequence.app", - "description": "Toy-Testnet Relayer" - }, - { - "url": "https://xai-relayer.sequence.app", - "description": "Xai Relayer" - }, - { - "url": "https://xai-sepolia-relayer.sequence.app", - "description": "Xai-Sepolia Relayer" - }, - { - "url": "https://xr-sepolia-relayer.sequence.app", - "description": "Xr-Sepolia Relayer" - } - ], "components": { "schemas": { "ErrorWebrpcEndpoint": { @@ -1683,6 +1524,11 @@ } } }, + "info": { + "title": "Relayer Api", + "version": "" + }, + "openapi": "3.0.0", "paths": { "/rpc/Relayer/GetChainID": { "post": { @@ -2038,5 +1884,159 @@ ] } } - } -} \ No newline at end of file + }, + "servers": [ + { + "url": "https://amoy-relayer.sequence.app", + "description": "Amoy Relayer" + }, + { + "url": "https://apechain-relayer.sequence.app", + "description": "Apechain Relayer" + }, + { + "url": "https://apechain-testnet-relayer.sequence.app", + "description": "Apechain-Testnet Relayer" + }, + { + "url": "https://arbitrum-relayer.sequence.app", + "description": "Arbitrum Relayer" + }, + { + "url": "https://arbitrum-nova-relayer.sequence.app", + "description": "Arbitrum-Nova Relayer" + }, + { + "url": "https://arbitrum-sepolia-relayer.sequence.app", + "description": "Arbitrum-Sepolia Relayer" + }, + { + "url": "https://avalanche-relayer.sequence.app", + "description": "Avalanche Relayer" + }, + { + "url": "https://avalanche-testnet-relayer.sequence.app", + "description": "Avalanche-Testnet Relayer" + }, + { + "url": "https://b3-relayer.sequence.app", + "description": "B3 Relayer" + }, + { + "url": "https://b3-sepolia-relayer.sequence.app", + "description": "B3-Sepolia Relayer" + }, + { + "url": "https://base-relayer.sequence.app", + "description": "Base Relayer" + }, + { + "url": "https://base-sepolia-relayer.sequence.app", + "description": "Base-Sepolia Relayer" + }, + { + "url": "https://blast-relayer.sequence.app", + "description": "Blast Relayer" + }, + { + "url": "https://blast-sepolia-relayer.sequence.app", + "description": "Blast-Sepolia Relayer" + }, + { + "url": "https://bsc-relayer.sequence.app", + "description": "Bsc Relayer" + }, + { + "url": "https://bsc-testnet-relayer.sequence.app", + "description": "Bsc-Testnet Relayer" + }, + { + "url": "https://gnosis-relayer.sequence.app", + "description": "Gnosis Relayer" + }, + { + "url": "https://homeverse-relayer.sequence.app", + "description": "Homeverse Relayer" + }, + { + "url": "https://homeverse-testnet-relayer.sequence.app", + "description": "Homeverse-Testnet Relayer" + }, + { + "url": "https://immutable-zkevm-relayer.sequence.app", + "description": "Immutable-Zkevm Relayer" + }, + { + "url": "https://immutable-zkevm-testnet-relayer.sequence.app", + "description": "Immutable-Zkevm-Testnet Relayer" + }, + { + "url": "https://laos-relayer.sequence.app", + "description": "Laos Relayer" + }, + { + "url": "https://laos-sigma-testnet-relayer.sequence.app", + "description": "Laos-Sigma-Testnet Relayer" + }, + { + "url": "https://mainnet-relayer.sequence.app", + "description": "Mainnet Relayer" + }, + { + "url": "https://optimism-relayer.sequence.app", + "description": "Optimism Relayer" + }, + { + "url": "https://optimism-sepolia-relayer.sequence.app", + "description": "Optimism-Sepolia Relayer" + }, + { + "url": "https://polygon-relayer.sequence.app", + "description": "Polygon Relayer" + }, + { + "url": "https://polygon-zkevm-relayer.sequence.app", + "description": "Polygon-Zkevm Relayer" + }, + { + "url": "https://rootnet-relayer.sequence.app", + "description": "Rootnet Relayer" + }, + { + "url": "https://rootnet-porcini-relayer.sequence.app", + "description": "Rootnet-Porcini Relayer" + }, + { + "url": "https://sepolia-relayer.sequence.app", + "description": "Sepolia Relayer" + }, + { + "url": "https://skale-nebula-relayer.sequence.app", + "description": "Skale-Nebula Relayer" + }, + { + "url": "https://skale-nebula-testnet-relayer.sequence.app", + "description": "Skale-Nebula-Testnet Relayer" + }, + { + "url": "https://soneium-minato-relayer.sequence.app", + "description": "Soneium-Minato Relayer" + }, + { + "url": "https://toy-testnet-relayer.sequence.app", + "description": "Toy-Testnet Relayer" + }, + { + "url": "https://xai-relayer.sequence.app", + "description": "Xai Relayer" + }, + { + "url": "https://xai-sepolia-relayer.sequence.app", + "description": "Xai-Sepolia Relayer" + }, + { + "url": "https://xr-sepolia-relayer.sequence.app", + "description": "Xr-Sepolia Relayer" + } + ] +} diff --git a/docs.json b/docs.json index 58205369..07807799 100644 --- a/docs.json +++ b/docs.json @@ -1,966 +1,2571 @@ -{ - "$schema": "https://mintlify.com/docs.json", - "theme": "mint", - "name": "Sequence Docs", - "colors": { - "primary": "#111111", - "light": "#B1A9FF", - "dark": "#111111" - }, - "background": { - "decoration": "gradient" - }, - "appearance": { - "default": "dark", - "strict": true - }, - "fonts": { - "body": { - "family": "Inter" - }, - "heading": { - "family": "Inter" - } - }, - "favicon": "/favicon.png", - "navigation": { - "languages": [ - { - "language": "en", - "tabs": [ - { - "tab": "Home", - "pages": [ - "home" - ] - }, - { - "tab": "Solutions", - "groups": [ - { - "group": " ", - "pages": [ - "solutions/overview", - "solutions/getting-started" - ] - }, - { - "group": "Onboard", - "pages": [ - "solutions/wallets/overview", - { - "group": "Ecosystem Wallets", - "pages": [ - "solutions/wallets/ecosystem/overview", - "solutions/wallets/ecosystem/configuration", - "solutions/wallets/ecosystem/cross-app" - ] - }, - { - "group": "Embedded Wallets", - "pages": [ - "solutions/wallets/embedded-wallet/overview", - "solutions/wallets/embedded-wallet/quickstart", - { - "group": "Setup", - "pages": [ - "solutions/builder/embedded-wallet/configuration", - "solutions/builder/embedded-wallet/google-configuration", - "solutions/builder/embedded-wallet/apple-configuration", - "solutions/builder/embedded-wallet/playfab-configuration", - "solutions/builder/embedded-wallet/stytch-configuration", - "solutions/builder/embedded-wallet/guest-wallet-configuration" - ] - }, - { - "group": "Architecture", - "pages": [ - "solutions/wallets/embedded-wallet/architecture/overview", - "/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", - "solutions/wallets/embedded-wallet/architecture/enclave-verification", - "solutions/wallets/embedded-wallet/architecture/intents" - ] - }, - "solutions/wallets/embedded-wallet/migration", - "solutions/wallets/embedded-wallet/faq" - ] - } - ] - }, - { - "group": "Power", - "pages": [ - "solutions/power-overview", - { - "group": "Deployable Contracts", - "pages": [ - "solutions/builder/contracts", - "solutions/collectibles/contracts/deploy-an-item-collection", - "solutions/collectibles/contracts/deploy-ERC20-currency", - "solutions/collectibles/contracts/deploy-soulbound-token", - "solutions/collectibles/contracts/deploy-primary-sales-contract" - ] - }, - "solutions/builder/collections", - { - "group": "Querying Blockchain Data", - "pages": [ - "solutions/builder/indexer", - "solutions/builder/webhooks" - ] - }, - { - "group": "Sidekick", - "pages": [ - "solutions/sidekick/overview", - { - "group": "Guides", - "pages": [ - "solutions/sidekick/guides/mint-nft" - ] - } - ] - }, - "solutions/builder/analytics", - "solutions/builder/gas-tank", - "solutions/builder/node-gateway" - ] - }, - { - "group": "Monetize", - "pages": [ - "solutions/monetization-overview", - { - "group": "White-label Marketplace", - "pages": [ - "solutions/marketplaces/white-label-marketplace/overview", - "solutions/marketplaces/white-label-marketplace/guide" - ] - }, - { - "group": "Build your Custom Marketplace", - "pages": [ - "solutions/marketplaces/custom-marketplace/overview", - "solutions/marketplaces/custom-marketplace/getting-started", - "solutions/marketplaces/custom-marketplace/supported-marketplaces" - ] - }, - { - "group": "Sequence Pay", - "pages": [ - "solutions/payments/overview" - ] - } - ] - }, - { - "group": "Technical References", - "pages": [ - "solutions/technical-references/SequenceMCP", - "solutions/technical-references/wallet-contracts/why", - { - "group": "Contract Internals", - "pages": [ - "solutions/technical-references/internals/deployment", - { - "group": "Sequence v1", - "pages": [ - "solutions/technical-references/internals/v1/deploy", - "solutions/technical-references/internals/v1/wallet-factory", - "solutions/technical-references/internals/v1/wallet-configuration", - "solutions/technical-references/internals/v1/signature-encoding", - "solutions/technical-references/internals/v1/wallet-context" - ] - }, - { - "group": "Sequence v2", - "pages": [ - "solutions/technical-references/internals/v2/deploy", - "solutions/technical-references/internals/v2/configuration" - ] - }, - "solutions/technical-references/internals/contract-audits" - ] - } - ] - } - ] - }, - { - "tab": "SDKs", - "groups": [ - { - "group": " ", - "pages": [ - "sdk/overview" - ] - }, - { - "group": "Web SDK", - "pages": [ - "sdk/web/overview", - "sdk/web/getting-started", - "sdk/web/migration", - { - "group": "Guides", - "pages": [ - "sdk/web/guides/send-sponsored-tx", - "sdk/web/guides/pay-gas-in-erc20", - "sdk/web/guides/on-ramp", - "sdk/web/guides/smart-swaps", - "sdk/web/guides/on-ramp-and-swap", - "sdk/web/guides/checkout" - ] - }, - { - "group": "Hooks", - "pages": [ - "sdk/web/hooks/useAddFundsModal", - "sdk/web/hooks/useChain", - "sdk/web/hooks/useCheckoutModal", - "sdk/web/hooks/useCheckWaasFeeOptions", - "sdk/web/hooks/useERC1155SaleContractCheckout", - "sdk/web/hooks/useGetCoinPrices", - "sdk/web/hooks/useGetCollectiblePrices", - "sdk/web/hooks/useListAccounts", - "sdk/web/hooks/useGetContractInfo", - "sdk/web/hooks/useGetExchangeRate", - "sdk/web/hooks/useGetSwapPrices", - "sdk/web/hooks/useGetSwapQuote", - "sdk/web/hooks/useGetTransactionHistory", - "sdk/web/hooks/useGetMultipleContractsInfo", - "sdk/web/hooks/useGetSwapPrices", - "sdk/web/hooks/useGetSwapQuote", - "sdk/web/hooks/useGetTokenMetadata", - "sdk/web/hooks/useGetTransactionHistory", - "sdk/web/hooks/useMetadataClient", - "sdk/web/hooks/useGetNativeTokenBalance", - "sdk/web/hooks/useGetSingleTokenBalanceSummary", - "sdk/web/hooks/useGetTransactionHistory", - "sdk/web/hooks/useGetTransactionHistorySummary", - "sdk/web/hooks/useIndexerClient", - "sdk/web/hooks/useGetSwapPrices", - "sdk/web/hooks/useGetSwapQuote", - "sdk/web/hooks/useGetTokenBalancesByContract", - "sdk/web/hooks/useGetTokenBalancesDetails", - "sdk/web/hooks/useGetTokenBalancesSummary", - "sdk/web/hooks/useGetTransactionHistory", - "sdk/web/hooks/useIndexerGatewayClient", - "sdk/web/hooks/useOpenConnectModal", - "sdk/web/hooks/useOpenWalletModal", - "sdk/web/hooks/useSelectPaymentModal", - "sdk/web/hooks/useSignInEmail", - "sdk/web/hooks/useStorage", - "sdk/web/hooks/useSwapModal", - "sdk/web/hooks/useTheme", - "sdk/web/hooks/useWaasFeeOptions", - "sdk/web/hooks/useWalletNavigation", - "sdk/web/hooks/useWalletSettings", - "sdk/web/hooks/useWallets" - ] - }, - { - "group": "Secondary Sales Marketplace", - "pages": [ - "sdk/marketplace-sdk/overview", - "sdk/marketplace-sdk/getting-started", - { - "group": "Hooks", - "pages": [ - "sdk/marketplace-sdk/hooks/marketplace-actions", - "sdk/marketplace-sdk/hooks/marketplace-data-hooks" - ] - } - ] - }, - "sdk/web/custom-configuration", - "sdk/web/custom-connectors" - ] - }, - { - "group": "Game Engine SDKs", - "pages": [ - { - "group": "Unity", - "pages": [ - "sdk/unity/overview", - "sdk/unity/quickstart", - "sdk/unity/installation", - "sdk/unity/setup", - "sdk/unity/bootstrap_game", - { - "group": "Onboard", - "pages": [ - { - "group": "Authentication", - "pages": [ - "sdk/unity/onboard/authentication/intro", - "sdk/unity/onboard/authentication/email", - "sdk/unity/onboard/authentication/oidc", - "sdk/unity/onboard/authentication/playfab", - "sdk/unity/onboard/authentication/guest", - "sdk/unity/onboard/authentication/federated-accounts" - ] - }, - "sdk/unity/onboard/recovering-sessions", - "sdk/unity/onboard/session-management", - "sdk/unity/onboard/connecting-external-wallets" - ] - }, - { - "group": "Power", - "pages": [ - "sdk/unity/power/read-from-blockchain", - "sdk/unity/power/write-to-blockchain", - "sdk/unity/power/sign-messages", - "sdk/unity/power/deploy-contracts", - "sdk/unity/power/contract-events", - "sdk/unity/power/wallet-ui", - { - "group": "Advanced Blockchain Interactions", - "pages": [ - "sdk/unity/power/advanced/introduction", - "sdk/unity/power/advanced/wallets", - "sdk/unity/power/advanced/clients", - "sdk/unity/power/advanced/transfers", - "sdk/unity/power/advanced/contracts", - "sdk/unity/power/advanced/tokens" - ] - } - ] - }, - { - "group": "Monetization", - "pages": [ - "sdk/unity/monetization/intro", - "sdk/unity/monetization/checkout-ui", - { - "group": "Primary Sales", - "pages": [ - "sdk/unity/monetization/primary-sales/intro", - "sdk/unity/monetization/primary-sales/credit-card-checkout" - ] - }, - { - "group": "Secondary Sales Marketplace", - "pages": [ - "sdk/unity/monetization/secondary-sales/intro", - "sdk/unity/monetization/secondary-sales/building-a-marketplace", - "sdk/unity/monetization/secondary-sales/creating-listings", - "sdk/unity/monetization/secondary-sales/creating-offers", - "sdk/unity/monetization/secondary-sales/accepting-offers", - { - "group": "How it Works", - "pages": [ - "sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", - "sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", - "sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" - ] - } - ] - }, - "sdk/unity/monetization/currency-swaps", - "sdk/unity/monetization/onboard-user-funds" - ] - }, - "sdk/unity/v2-to-v3-upgrade-guide" - ] - }, - { - "group": "Unreal", - "pages": [ - "sdk/unreal/introduction", - "sdk/unreal/quickstart", - "sdk/unreal/installation", - "sdk/unreal/configuration", - "sdk/unreal/subsystems", - "sdk/unreal/bootstrap_game", - "sdk/unreal/user_interfaces", - "sdk/unreal/authentication", - "sdk/unreal/write-to-blockchain", - "sdk/unreal/read-from-blockchain", - "sdk/unreal/onboard-user-funds", - "sdk/unreal/advanced", - "sdk/unreal/platforms" - ] - } - ] - }, - { - "group": "Other SDKs", - "pages": [ - { - "group": "Typescript", - "pages": [ - "sdk/typescript/overview", - { - "group": "Backend Integration", - "pages": [ - "sdk/typescript/guides/backend/integration" - ] - }, - { - "group": "Frontend Integration", - "pages": [ - "sdk/headless-wallet/quickstart", - "sdk/headless-wallet/authentication", - "sdk/headless-wallet/use-wallets", - "sdk/headless-wallet/account-federation", - "sdk/headless-wallet/manage-sessions", - "sdk/headless-wallet/on-ramp", - "sdk/headless-wallet/fee-options", - "sdk/headless-wallet/verification", - "sdk/headless-wallet/transaction-receipts" - ] - } - ] - }, - { - "group": "Go", - "pages": [ - "sdk/go/overview" - ] - }, - { - "group": "Mobile", - "pages": [ - "sdk/mobile" - ] - } - ] - } - ] - }, - { - "tab": "APIs", - "groups": [ - { - "group": " ", - "pages": [ - "api-references/overview" - ] - }, - { - "group": "Indexer", - "pages": [ - "api-references/indexer/overview", - "api-references/indexer/installation", - { - "group": "Endpoints", - "pages": [ - { - "group": "public", - "pages": [ - "api-references/indexer/endpoints/public/get-native-token-balance", - "api-references/indexer/endpoints/public/get-token-balances-summary", - "api-references/indexer/endpoints/public/get-token-balances-details", - "api-references/indexer/endpoints/public/get-token-balances-by-contract", - "api-references/indexer/endpoints/public/get-token-balances", - "api-references/indexer/endpoints/public/get-token-supplies", - "api-references/indexer/endpoints/public/get-token-supplies-map", - "api-references/indexer/endpoints/public/get-balance-updates", - "api-references/indexer/endpoints/public/get-transaction-history", - "api-references/indexer/endpoints/public/fetch-transaction-receipt", - "api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", - "api-references/indexer/endpoints/public/subscribe-receipts", - "api-references/indexer/endpoints/public/subscribe-events", - "api-references/indexer/endpoints/public/subscribe-balance-updates" - ] - }, - { - "group": "secret", - "pages": [ - "api-references/indexer/endpoints/secret/get-all-webhook-listeners", - "api-references/indexer/endpoints/secret/add-webhook-listener", - "api-references/indexer/endpoints/secret/update-webhook-listener", - "api-references/indexer/endpoints/secret/remove-webhook-listener", - "api-references/indexer/endpoints/secret/toggle-webhook-listener", - "api-references/indexer/endpoints/secret/pause-all-webhook-listeners", - "api-references/indexer/endpoints/secret/resume-all-webhook-listeners", - "api-references/indexer/endpoints/default/get-webhook-listener" - ] - } - ] - }, - { - "group": "Examples", - "pages": [ - "api-references/indexer/examples/fetch-tokens", - "api-references/indexer/examples/transaction-history", - "api-references/indexer/examples/unique-tokens", - "api-references/indexer/examples/transation-history-token-contract", - "api-references/indexer/examples/native-network-balance", - "api-references/indexer/examples/metadata-tips", - "api-references/indexer/examples/webhook-listener", - "api-references/indexer/examples/subscriptions" - ] - } - ] - }, - { - "group": "Indexer Gateway", - "pages": [ - "api-references/indexer-gateway/overview", - "api-references/indexer-gateway/installation", - { - "group": "Examples", - "pages": [ - "api-references/indexer-gateway/examples/get-token-balances", - "api-references/indexer-gateway/examples/get-native-token-balances", - "api-references/indexer-gateway/examples/get-balance-updates", - "api-references/indexer-gateway/examples/get-token-balances-details", - "api-references/indexer-gateway/examples/get-token-balances-by-contract" - ] - } - ] - }, - { - "group": "Analytics", - "pages": [ - "api-references/analytics/overview", - { - "group": "Endpoints", - "pages": [ - { - "group": "secret", - "pages": [ - "api-references/analytics/endpoints/secret/average-d-a-u", - "api-references/analytics/endpoints/secret/average-d1-retention", - "api-references/analytics/endpoints/secret/average-d14-retention", - "api-references/analytics/endpoints/secret/average-d28-retention", - "api-references/analytics/endpoints/secret/average-d3-retention", - "api-references/analytics/endpoints/secret/average-d7-retention", - "api-references/analytics/endpoints/secret/average-stickiness", - "api-references/analytics/endpoints/secret/compute-by-service", - "api-references/analytics/endpoints/secret/d1-retention-by-cohort", - "api-references/analytics/endpoints/secret/d14-retention-by-cohort", - "api-references/analytics/endpoints/secret/d28-retention-by-cohort", - "api-references/analytics/endpoints/secret/d3-retention-by-cohort", - "api-references/analytics/endpoints/secret/d7-retention-by-cohort", - "api-references/analytics/endpoints/secret/daily-compute-by-type", - "api-references/analytics/endpoints/secret/daily-new-wallets", - "api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", - "api-references/analytics/endpoints/secret/market-txn-event-daily", - "api-references/analytics/endpoints/secret/market-txn-event-monthly", - "api-references/analytics/endpoints/secret/market-txn-event-total", - "api-references/analytics/endpoints/secret/market-wallets-daily", - "api-references/analytics/endpoints/secret/market-wallets-monthly", - "api-references/analytics/endpoints/secret/market-wallets-total", - "api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", - "api-references/analytics/endpoints/secret/monthly-new-wallets", - "api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", - "api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", - "api-references/analytics/endpoints/secret/rolling-stickiness", - "api-references/analytics/endpoints/secret/total-compute", - "api-references/analytics/endpoints/secret/total-new-wallets", - "api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", - "api-references/analytics/endpoints/secret/wallets-by-browser", - "api-references/analytics/endpoints/secret/wallets-by-country", - "api-references/analytics/endpoints/secret/wallets-by-device", - "api-references/analytics/endpoints/secret/wallets-by-o-s", - "api-references/analytics/endpoints/secret/wallets-daily", - "api-references/analytics/endpoints/secret/wallets-monthly", - "api-references/analytics/endpoints/secret/wallets-total", - "api-references/analytics/endpoints/secret/wallets-txn-sent-daily", - "api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", - "api-references/analytics/endpoints/secret/wallets-txn-sent-total", - "api-references/analytics/endpoints/secret/weekly-active-wallets" - ] - }, - { - "group": "default", - "pages": [ - "api-references/analytics/endpoints/default/daily-compute-by-service", - "api-references/analytics/endpoints/default/get-orderbook-collections" - ] - } - ] - }, - { - "group": "Examples", - "pages": [ - "api-references/analytics/examples/wallets", - "api-references/analytics/examples/marketplace" - ] - } - ] - }, - { - "group": "Metadata", - "pages": [ - "api-references/metadata/overview", - { - "group": "Endpoints", - "pages": [ - { - "group": "public", - "pages": [ - "api-references/metadata/endpoints/public/directory-get-collections", - "api-references/metadata/endpoints/public/directory-get-networks", - "api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", - "api-references/metadata/endpoints/public/get-contract-info-batch", - "api-references/metadata/endpoints/public/get-contract-info", - "api-references/metadata/endpoints/public/get-token-metadata-batch", - "api-references/metadata/endpoints/public/get-token-metadata", - "api-references/metadata/endpoints/public/refresh-token-metadata", - "api-references/metadata/endpoints/public/search-contract-info-batch", - "api-references/metadata/endpoints/public/search-contract-info", - "api-references/metadata/endpoints/public/search-token-i-ds", - "api-references/metadata/endpoints/public/search-token-metadata", - "api-references/metadata/endpoints/public/search-tokens", - "api-references/metadata/endpoints/public/token-collection-filters", - "api-references/metadata/endpoints/public/refresh-all-contract-tokens", - "api-references/metadata/endpoints/public/refresh-contract-info", - "api-references/metadata/endpoints/public/refresh-contract-tokens", - "api-references/metadata/endpoints/public/search-contracts", - "api-references/metadata/endpoints/public/search-metadata" - ] - }, - { - "group": "secret", - "pages": [ - "api-references/metadata/endpoints/secret/create-asset", - "api-references/metadata/endpoints/secret/create-collection", - "api-references/metadata/endpoints/secret/create-contract-collection", - "api-references/metadata/endpoints/secret/create-token", - "api-references/metadata/endpoints/secret/delete-asset", - "api-references/metadata/endpoints/secret/delete-collection", - "api-references/metadata/endpoints/secret/delete-contract-collection", - "api-references/metadata/endpoints/secret/delete-token", - "api-references/metadata/endpoints/secret/get-asset", - "api-references/metadata/endpoints/secret/get-collection", - "api-references/metadata/endpoints/secret/get-contract-collection", - "api-references/metadata/endpoints/secret/get-token", - "api-references/metadata/endpoints/secret/list-collections", - "api-references/metadata/endpoints/secret/list-contract-collections", - "api-references/metadata/endpoints/secret/list-tokens", - "api-references/metadata/endpoints/secret/publish-collection", - "api-references/metadata/endpoints/secret/unpublish-collection", - "api-references/metadata/endpoints/secret/update-asset", - "api-references/metadata/endpoints/secret/update-collection", - "api-references/metadata/endpoints/secret/update-contract-collection", - "api-references/metadata/endpoints/secret/update-token" - ] - } - ] - }, - { - "group": "Examples", - "pages": [ - "api-references/metadata/examples/token-metadata", - "api-references/metadata/examples/contract-metadata", - "api-references/metadata/examples/rest-api" - ] - } - ] - }, - { - "group": "Infrastructure", - "pages": [ - "api-references/infrastructure/overview", - { - "group": "Endpoints", - "pages": [ - "api-references/infrastructure/endpoints/get-linked-wallets", - "api-references/infrastructure/endpoints/get-swap-price", - "api-references/infrastructure/endpoints/get-swap-prices", - "api-references/infrastructure/endpoints/get-swap-quote", - "api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", - "api-references/infrastructure/endpoints/is-valid-message-signature", - "api-references/infrastructure/endpoints/is-valid-signature", - "api-references/infrastructure/endpoints/is-valid-typed-data-signature", - "api-references/infrastructure/endpoints/link-wallet", - "api-references/infrastructure/endpoints/remove-linked-wallet" - ] - } - ] - }, - { - "group": "Builder", - "pages": [ - "api-references/builder/overview", - { - "group": "Endpoints", - "pages": [ - "api-references/builder/endpoints/add-audience-contacts", - "api-references/builder/endpoints/create-audience", - "api-references/builder/endpoints/delete-audience", - "api-references/builder/endpoints/get-audience", - "api-references/builder/endpoints/get-contract", - "api-references/builder/endpoints/list-audiences", - "api-references/builder/endpoints/list-contract-sources", - "api-references/builder/endpoints/list-contracts", - "api-references/builder/endpoints/remove-audience-contacts", - "api-references/builder/endpoints/update-audience" - ] - } - ] - }, - { - "group": "Marketplace", - "pages": [ - "api-references/marketplace/overview", - { - "group": "Endpoints", - "pages": [ - "api-references/marketplace/endpoints/checkout-options-marketplace", - "api-references/marketplace/endpoints/checkout-options-sales-contract", - "api-references/marketplace/endpoints/generate-buy-transaction", - "api-references/marketplace/endpoints/generate-listing-transaction", - "api-references/marketplace/endpoints/generate-offer-transaction", - "api-references/marketplace/endpoints/generate-sell-transaction", - "api-references/marketplace/endpoints/generate-cancel-transaction", - "api-references/marketplace/endpoints/get-collectible", - "api-references/marketplace/endpoints/get-count-of-all-collectibles", - "api-references/marketplace/endpoints/get-count-of-filtered-collectibles", - "api-references/marketplace/endpoints/get-floor-order", - "api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", - "api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", - "api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", - "api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", - "api-references/marketplace/endpoints/get-orders", - "api-references/marketplace/endpoints/list-collectibles", - "api-references/marketplace/endpoints/list-currencies", - "api-references/marketplace/endpoints/list-listings-for-collectible", - "api-references/marketplace/endpoints/list-offers-for-collectible" - ] - } - ] - }, - { - "group": "Transactions", - "pages": [ - "api-references/transactions/overview", - "api-references/transactions/installation", - { - "group": "Endpoints", - "pages": [ - "api-references/transactions/endpoints/get-chain-id", - "api-references/transactions/endpoints/fee-tokens", - "api-references/transactions/endpoints/fee-options" - ] - }, - { - "group": "Examples", - "pages": [ - "api-references/transactions/examples/fetch-fee-options", - "api-references/transactions/examples/send-transactions", - "api-references/transactions/examples/fetch-transaction-receipts" - ] - } - ] - }, - { - "group": "Blockchain RPC", - "pages": [ - "api-references/node-gateway" - ] - } - ] - }, - { - "tab": "Resources", - "groups": [ - { - "group": "Guides", - "pages": [ - "guides/guide-overview", - { - "group": "Game Developers", - "pages": [ - "guides/webgl-guide", - "guides/jelly-forest-unity-guide", - "guides/building-transaction-heavy-games-with-unity", - "guides/unreal-ew-guide", - "guides/using-unity-iap-to-sell-nfts", - "guides/unity-primary-sales", - "guides/unity-webgl-telegram", - "guides/telegram-integration" - ] - }, - { - "group": "Blockchain Integrations", - "pages": [ - "guides/mint-collectibles-serverless", - "guides/metadata-guide", - "guides/treasure-chest-guide", - "guides/typed-on-chain-signatures", - "guides/building-relaying-server", - "guides/analytics-guide", - "guides/build-embedding-wallet" - ] - }, - { - "group": "Marketplaces & Primary Sales", - "pages": [ - "guides/custom-marketplace", - "guides/primary-sales", - "guides/primary-drop-sales-erc721" - ] - } - ] - }, - { - "group": "Boilerplates", - "pages": [ - "guides/template-overview" - ] - } - ] - }, - { - "tab": "Support", - "groups": [ - { - "group": "Support", - "pages": [ - "support", - "support/changelog", - "support/restricted-regions", - "support/faq", - "support/token-directory", - "support/discord", - "support/hiring", - "support/contact-us" - ] - }, - { - "group": "Sequence Builder Admin", - "pages": [ - "support/builder/project-management", - "support/builder/project-settings" - ] - } - ] - } - ] - } - ], - "global": { - "anchors": [ - { - "anchor": "Interactive Demo", - "href": "https://blueprints.sequence-demos.xyz/", - "icon": "wrench" - }, - { - "anchor": "Supported Chains", - "href": "https://status.sequence.info/", - "icon": "heart-pulse" - }, - { - "anchor": "Changelog", - "href": "https://0xsequence.featurebase.app/changelog", - "icon": "map" - } - ] - } - }, - "logo": { - "light": "/logo/sequence-composite-light.svg", - "dark": "/logo/sequence-composite-dark.svg" - }, - "navbar": { - "primary": { - "type": "button", - "label": "Sign In", - "href": "https://sequence.build" - } - }, - "footer": { - "socials": { - "x": "https://twitter.com/0xsequence", - "github": "https://github.com/0xsequence", - "discord": "https://discord.gg/sequence" - } - }, - "contextual": { - "options": ["copy", "view", "chatgpt", "claude"] - }, - "redirects": [ - { - "source": "/404", - "destination": "/404.html" - }, - { - "source": "/solutions/wallets/link-wallets/overview", - "destination": "/sdk/web/hooks/useWallets" - }, - { - "source": "/solutions/technical-references/chain-support/", - "destination": "https://status.sequence.info" - }, - { - "source": "/solutions/technical-references/chain-support", - "destination": "https://status.sequence.info" - }, - { - "source": "/solutions/wallets/sequence-kit/overview", - "destination": "/sdk/web/overview" - }, - { - "source": "/solutions/wallets/sequence-kit/getting-started", - "destination": "/sdk/web/getting-started" - }, - { - "source": "/solutions/wallets/sequence-kit/custom-configuration", - "destination": "/sdk/web/custom-configuration" - }, - { - "source": "/solutions/wallets/sequence-kit/checkout", - "destination": "/sdk/web/checkout" - }, - { - "source": "/solutions/wallets/sequence-kit/smart-swaps", - "destination": "/sdk/web/smart-swaps" - }, - { - "source": "/solutions/wallets/sequence-kit/on-ramp", - "destination": "/sdk/web/on-ramp" - }, - { - "source": "/solutions/wallets/sequence-kit/custom-connectors", - "destination": "/sdk/web/custom-connectors" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/authentication", - "destination": "/sdk/headless-wallet/authentication" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/use-wallets", - "destination": "/sdk/headless-wallet/use-wallets" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/account-federation", - "destination": "/sdk/headless-wallet/account-federation" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/manage-sessions", - "destination": "/sdk/headless-wallet/manage-sessions" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/on-ramp", - "destination": "/sdk/headless-wallet/on-ramp" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/fee-options", - "destination": "/sdk/headless-wallet/fee-options" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/verification", - "destination": "/sdk/headless-wallet/verification" - }, - { - "source": "/solutions/wallets/embedded-wallet/examples/transaction-receipts", - "destination": "/sdk/headless-wallet/transaction-receipts" - }, - { - "source": "/solutions/builder/embedded-wallet", - "destination": "/solutions/builder/embedded-wallet/configuration" - }, - { - "source": "/solutions/builder/overview", - "destination": "/solutions/getting-started" - } - ] -} \ No newline at end of file +{ + "$schema": "https://mintlify.com/docs.json", + "appearance": { + "default": "dark", + "strict": true + }, + "background": { + "decoration": "gradient" + }, + "colors": { + "primary": "#111111", + "light": "#B1A9FF", + "dark": "#111111" + }, + "contextual": { + "options": ["copy", "view", "chatgpt", "claude"] + }, + "favicon": "/favicon.png", + "fonts": { + "body": { + "family": "Inter" + }, + "heading": { + "family": "Inter" + } + }, + "footer": { + "socials": { + "x": "https://twitter.com/0xsequence", + "github": "https://github.com/0xsequence", + "discord": "https://discord.gg/sequence" + } + }, + "logo": { + "light": "/logo/sequence-composite-light.svg", + "dark": "/logo/sequence-composite-dark.svg" + }, + "name": "Sequence Docs", + "navbar": { + "primary": { + "type": "button", + "label": "Sign In", + "href": "https://sequence.build" + } + }, + "navigation": { + "languages": [ + { + "language": "en", + "tabs": [ + { + "tab": "Home", + "pages": ["home"] + }, + { + "tab": "Solutions", + "groups": [ + { + "group": " ", + "pages": ["solutions/overview", "solutions/getting-started"] + }, + { + "group": "Onboard", + "pages": [ + "solutions/wallets/overview", + { + "group": "Ecosystem Wallets", + "pages": [ + "solutions/wallets/ecosystem/overview", + "solutions/wallets/ecosystem/configuration", + "solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "Embedded Wallets", + "pages": [ + "solutions/wallets/embedded-wallet/overview", + "solutions/wallets/embedded-wallet/quickstart", + { + "group": "Setup", + "pages": [ + "solutions/builder/embedded-wallet/configuration", + "solutions/builder/embedded-wallet/google-configuration", + "solutions/builder/embedded-wallet/apple-configuration", + "solutions/builder/embedded-wallet/playfab-configuration", + "solutions/builder/embedded-wallet/stytch-configuration", + "solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "Architecture", + "pages": [ + "solutions/wallets/embedded-wallet/architecture/overview", + "/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "solutions/wallets/embedded-wallet/architecture/enclave-verification", + "solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "solutions/wallets/embedded-wallet/migration", + "solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "Power", + "pages": [ + "solutions/power-overview", + { + "group": "Deployable Contracts", + "pages": [ + "solutions/builder/contracts", + "solutions/collectibles/contracts/deploy-an-item-collection", + "solutions/collectibles/contracts/deploy-ERC20-currency", + "solutions/collectibles/contracts/deploy-soulbound-token", + "solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "solutions/builder/collections", + { + "group": "Querying Blockchain Data", + "pages": [ + "solutions/builder/indexer", + "solutions/builder/webhooks" + ] + }, + { + "group": "Sidekick", + "pages": [ + "solutions/sidekick/overview", + { + "group": "Guides", + "pages": ["solutions/sidekick/guides/mint-nft"] + } + ] + }, + "solutions/builder/analytics", + "solutions/builder/gas-tank", + "solutions/builder/node-gateway" + ] + }, + { + "group": "Monetize", + "pages": [ + "solutions/monetization-overview", + { + "group": "White-label Marketplace", + "pages": [ + "solutions/marketplaces/white-label-marketplace/overview", + "solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "Build your Custom Marketplace", + "pages": [ + "solutions/marketplaces/custom-marketplace/overview", + "solutions/marketplaces/custom-marketplace/getting-started", + "solutions/marketplaces/custom-marketplace/supported-marketplaces" + ] + }, + { + "group": "Sequence Pay", + "pages": ["solutions/payments/overview"] + } + ] + }, + { + "group": "Technical References", + "pages": [ + "solutions/technical-references/SequenceMCP", + "solutions/technical-references/wallet-contracts/why", + { + "group": "Contract Internals", + "pages": [ + "solutions/technical-references/internals/deployment", + { + "group": "Sequence v1", + "pages": [ + "solutions/technical-references/internals/v1/deploy", + "solutions/technical-references/internals/v1/wallet-factory", + "solutions/technical-references/internals/v1/wallet-configuration", + "solutions/technical-references/internals/v1/signature-encoding", + "solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "Sequence v2", + "pages": [ + "solutions/technical-references/internals/v2/deploy", + "solutions/technical-references/internals/v2/configuration" + ] + }, + "solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "SDKs", + "groups": [ + { + "group": " ", + "pages": ["sdk/overview"] + }, + { + "group": "Web SDK", + "pages": [ + "sdk/web/overview", + "sdk/web/getting-started", + "sdk/web/migration", + { + "group": "Guides", + "pages": [ + "sdk/web/guides/send-sponsored-tx", + "sdk/web/guides/pay-gas-in-erc20", + "sdk/web/guides/on-ramp", + "sdk/web/guides/smart-swaps", + "sdk/web/guides/on-ramp-and-swap", + "sdk/web/guides/checkout" + ] + }, + { + "group": "Hooks", + "pages": [ + "sdk/web/hooks/useAddFundsModal", + "sdk/web/hooks/useChain", + "sdk/web/hooks/useCheckoutModal", + "sdk/web/hooks/useCheckWaasFeeOptions", + "sdk/web/hooks/useERC1155SaleContractCheckout", + "sdk/web/hooks/useGetCoinPrices", + "sdk/web/hooks/useGetCollectiblePrices", + "sdk/web/hooks/useListAccounts", + "sdk/web/hooks/useGetContractInfo", + "sdk/web/hooks/useGetExchangeRate", + "sdk/web/hooks/useGetSwapPrices", + "sdk/web/hooks/useGetSwapQuote", + "sdk/web/hooks/useGetTransactionHistory", + "sdk/web/hooks/useGetMultipleContractsInfo", + "sdk/web/hooks/useGetTokenMetadata", + "sdk/web/hooks/useMetadataClient", + "sdk/web/hooks/useGetNativeTokenBalance", + "sdk/web/hooks/useGetSingleTokenBalanceSummary", + "sdk/web/hooks/useGetTransactionHistorySummary", + "sdk/web/hooks/useIndexerClient", + "sdk/web/hooks/useGetTokenBalancesByContract", + "sdk/web/hooks/useGetTokenBalancesDetails", + "sdk/web/hooks/useGetTokenBalancesSummary", + "sdk/web/hooks/useIndexerGatewayClient", + "sdk/web/hooks/useOpenConnectModal", + "sdk/web/hooks/useOpenWalletModal", + "sdk/web/hooks/useSelectPaymentModal", + "sdk/web/hooks/useSignInEmail", + "sdk/web/hooks/useStorage", + "sdk/web/hooks/useSwapModal", + "sdk/web/hooks/useTheme", + "sdk/web/hooks/useWaasFeeOptions", + "sdk/web/hooks/useWalletNavigation", + "sdk/web/hooks/useWalletSettings", + "sdk/web/hooks/useWallets" + ] + }, + { + "group": "Secondary Sales Marketplace", + "pages": [ + "sdk/marketplace-sdk/overview", + "sdk/marketplace-sdk/getting-started", + { + "group": "Hooks", + "pages": [ + "sdk/marketplace-sdk/hooks/marketplace-actions", + "sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "sdk/web/custom-configuration", + "sdk/web/custom-connectors" + ] + }, + { + "group": "Game Engine SDKs", + "pages": [ + { + "group": "Unity", + "pages": [ + "sdk/unity/overview", + "sdk/unity/quickstart", + "sdk/unity/installation", + "sdk/unity/setup", + "sdk/unity/bootstrap_game", + { + "group": "Onboard", + "pages": [ + { + "group": "Authentication", + "pages": [ + "sdk/unity/onboard/authentication/intro", + "sdk/unity/onboard/authentication/email", + "sdk/unity/onboard/authentication/oidc", + "sdk/unity/onboard/authentication/playfab", + "sdk/unity/onboard/authentication/guest", + "sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "sdk/unity/onboard/recovering-sessions", + "sdk/unity/onboard/session-management", + "sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "Power", + "pages": [ + "sdk/unity/power/read-from-blockchain", + "sdk/unity/power/write-to-blockchain", + "sdk/unity/power/sign-messages", + "sdk/unity/power/deploy-contracts", + "sdk/unity/power/contract-events", + "sdk/unity/power/wallet-ui", + { + "group": "Advanced Blockchain Interactions", + "pages": [ + "sdk/unity/power/advanced/introduction", + "sdk/unity/power/advanced/wallets", + "sdk/unity/power/advanced/clients", + "sdk/unity/power/advanced/transfers", + "sdk/unity/power/advanced/contracts", + "sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "Monetization", + "pages": [ + "sdk/unity/monetization/intro", + "sdk/unity/monetization/checkout-ui", + { + "group": "Primary Sales", + "pages": [ + "sdk/unity/monetization/primary-sales/intro", + "sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "Secondary Sales Marketplace", + "pages": [ + "sdk/unity/monetization/secondary-sales/intro", + "sdk/unity/monetization/secondary-sales/building-a-marketplace", + "sdk/unity/monetization/secondary-sales/creating-listings", + "sdk/unity/monetization/secondary-sales/creating-offers", + "sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "How it Works", + "pages": [ + "sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "sdk/unity/monetization/currency-swaps", + "sdk/unity/monetization/onboard-user-funds" + ] + }, + "sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "Unreal", + "pages": [ + "sdk/unreal/overview", + "sdk/unreal/installation", + "sdk/unreal/getting_started", + "sdk/unreal/bootstrap_game", + "sdk/unreal/migration", + { + "group": "Guides", + "pages": [ + "sdk/unreal/guides/social-signin-guide", + "sdk/unreal/guides/marketplace-guide", + "sdk/unreal/guides/swaps-guide" + ] + }, + { + "group": "Onboarding", + "pages": [ + "sdk/unreal/onboarding/authentication", + "sdk/unreal/onboarding/manage_sessions", + "sdk/unreal/onboarding/wallet_linking" + ] + }, + { + "group": "Power", + "pages": [ + "sdk/unreal/power/write-to-blockchain", + "sdk/unreal/power/read-from-blockchain", + "sdk/unreal/power/smart-contracts" + ] + }, + { + "group": "Monetization", + "pages": [ + "sdk/unreal/monetization/secondary-sales-marketplace", + "sdk/unreal/monetization/checkout", + "sdk/unreal/monetization/currency-swaps", + "sdk/unreal/monetization/onboard-user-funds" + ] + }, + { + "group": "Advanced", + "pages": [ + "sdk/unreal/advanced/utilities", + "sdk/unreal/advanced/advanced", + "sdk/unreal/advanced/platforms" + ] + } + ] + } + ] + }, + { + "group": "Other SDKs", + "pages": [ + { + "group": "Typescript", + "pages": [ + "sdk/typescript/overview", + { + "group": "Backend Integration", + "pages": ["sdk/typescript/guides/backend/integration"] + }, + { + "group": "Frontend Integration", + "pages": [ + "sdk/headless-wallet/quickstart", + "sdk/headless-wallet/authentication", + "sdk/headless-wallet/use-wallets", + "sdk/headless-wallet/account-federation", + "sdk/headless-wallet/manage-sessions", + "sdk/headless-wallet/on-ramp", + "sdk/headless-wallet/fee-options", + "sdk/headless-wallet/verification", + "sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "Go", + "pages": ["sdk/go/overview"] + }, + { + "group": "Mobile", + "pages": ["sdk/mobile"] + } + ] + } + ] + }, + { + "tab": "APIs", + "groups": [ + { + "group": " ", + "pages": ["api-references/overview"] + }, + { + "group": "Indexer", + "pages": [ + "api-references/indexer/overview", + "api-references/indexer/installation", + { + "group": "Endpoints", + "pages": [ + { + "group": "public", + "pages": [ + "api-references/indexer/endpoints/public/get-native-token-balance", + "api-references/indexer/endpoints/public/get-token-balances-summary", + "api-references/indexer/endpoints/public/get-token-balances-details", + "api-references/indexer/endpoints/public/get-token-balances-by-contract", + "api-references/indexer/endpoints/public/get-token-balances", + "api-references/indexer/endpoints/public/get-token-supplies", + "api-references/indexer/endpoints/public/get-token-supplies-map", + "api-references/indexer/endpoints/public/get-balance-updates", + "api-references/indexer/endpoints/public/get-transaction-history", + "api-references/indexer/endpoints/public/fetch-transaction-receipt", + "api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "api-references/indexer/endpoints/public/subscribe-receipts", + "api-references/indexer/endpoints/public/subscribe-events", + "api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "secret", + "pages": [ + "api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "api-references/indexer/endpoints/secret/add-webhook-listener", + "api-references/indexer/endpoints/secret/update-webhook-listener", + "api-references/indexer/endpoints/secret/remove-webhook-listener", + "api-references/indexer/endpoints/secret/toggle-webhook-listener", + "api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "Examples", + "pages": [ + "api-references/indexer/examples/fetch-tokens", + "api-references/indexer/examples/transaction-history", + "api-references/indexer/examples/unique-tokens", + "api-references/indexer/examples/transation-history-token-contract", + "api-references/indexer/examples/native-network-balance", + "api-references/indexer/examples/metadata-tips", + "api-references/indexer/examples/webhook-listener", + "api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "Indexer Gateway", + "pages": [ + "api-references/indexer-gateway/overview", + "api-references/indexer-gateway/installation", + { + "group": "Examples", + "pages": [ + "api-references/indexer-gateway/examples/get-token-balances", + "api-references/indexer-gateway/examples/get-native-token-balances", + "api-references/indexer-gateway/examples/get-balance-updates", + "api-references/indexer-gateway/examples/get-token-balances-details", + "api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "Analytics", + "pages": [ + "api-references/analytics/overview", + { + "group": "Endpoints", + "pages": [ + { + "group": "secret", + "pages": [ + "api-references/analytics/endpoints/secret/average-d-a-u", + "api-references/analytics/endpoints/secret/average-d1-retention", + "api-references/analytics/endpoints/secret/average-d14-retention", + "api-references/analytics/endpoints/secret/average-d28-retention", + "api-references/analytics/endpoints/secret/average-d3-retention", + "api-references/analytics/endpoints/secret/average-d7-retention", + "api-references/analytics/endpoints/secret/average-stickiness", + "api-references/analytics/endpoints/secret/compute-by-service", + "api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "api-references/analytics/endpoints/secret/daily-compute-by-type", + "api-references/analytics/endpoints/secret/daily-new-wallets", + "api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "api-references/analytics/endpoints/secret/market-txn-event-daily", + "api-references/analytics/endpoints/secret/market-txn-event-monthly", + "api-references/analytics/endpoints/secret/market-txn-event-total", + "api-references/analytics/endpoints/secret/market-wallets-daily", + "api-references/analytics/endpoints/secret/market-wallets-monthly", + "api-references/analytics/endpoints/secret/market-wallets-total", + "api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "api-references/analytics/endpoints/secret/monthly-new-wallets", + "api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "api-references/analytics/endpoints/secret/rolling-stickiness", + "api-references/analytics/endpoints/secret/total-compute", + "api-references/analytics/endpoints/secret/total-new-wallets", + "api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "api-references/analytics/endpoints/secret/wallets-by-browser", + "api-references/analytics/endpoints/secret/wallets-by-country", + "api-references/analytics/endpoints/secret/wallets-by-device", + "api-references/analytics/endpoints/secret/wallets-by-o-s", + "api-references/analytics/endpoints/secret/wallets-daily", + "api-references/analytics/endpoints/secret/wallets-monthly", + "api-references/analytics/endpoints/secret/wallets-total", + "api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "default", + "pages": [ + "api-references/analytics/endpoints/default/daily-compute-by-service", + "api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "Examples", + "pages": [ + "api-references/analytics/examples/wallets", + "api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "Metadata", + "pages": [ + "api-references/metadata/overview", + { + "group": "Endpoints", + "pages": [ + { + "group": "public", + "pages": [ + "api-references/metadata/endpoints/public/directory-get-collections", + "api-references/metadata/endpoints/public/directory-get-networks", + "api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "api-references/metadata/endpoints/public/get-contract-info-batch", + "api-references/metadata/endpoints/public/get-contract-info", + "api-references/metadata/endpoints/public/get-token-metadata-batch", + "api-references/metadata/endpoints/public/get-token-metadata", + "api-references/metadata/endpoints/public/refresh-token-metadata", + "api-references/metadata/endpoints/public/search-contract-info-batch", + "api-references/metadata/endpoints/public/search-contract-info", + "api-references/metadata/endpoints/public/search-token-i-ds", + "api-references/metadata/endpoints/public/search-token-metadata", + "api-references/metadata/endpoints/public/search-tokens", + "api-references/metadata/endpoints/public/token-collection-filters", + "api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "api-references/metadata/endpoints/public/refresh-contract-info", + "api-references/metadata/endpoints/public/refresh-contract-tokens", + "api-references/metadata/endpoints/public/search-contracts", + "api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "secret", + "pages": [ + "api-references/metadata/endpoints/secret/create-asset", + "api-references/metadata/endpoints/secret/create-collection", + "api-references/metadata/endpoints/secret/create-contract-collection", + "api-references/metadata/endpoints/secret/create-token", + "api-references/metadata/endpoints/secret/delete-asset", + "api-references/metadata/endpoints/secret/delete-collection", + "api-references/metadata/endpoints/secret/delete-contract-collection", + "api-references/metadata/endpoints/secret/delete-token", + "api-references/metadata/endpoints/secret/get-asset", + "api-references/metadata/endpoints/secret/get-collection", + "api-references/metadata/endpoints/secret/get-contract-collection", + "api-references/metadata/endpoints/secret/get-token", + "api-references/metadata/endpoints/secret/list-collections", + "api-references/metadata/endpoints/secret/list-contract-collections", + "api-references/metadata/endpoints/secret/list-tokens", + "api-references/metadata/endpoints/secret/publish-collection", + "api-references/metadata/endpoints/secret/unpublish-collection", + "api-references/metadata/endpoints/secret/update-asset", + "api-references/metadata/endpoints/secret/update-collection", + "api-references/metadata/endpoints/secret/update-contract-collection", + "api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "Examples", + "pages": [ + "api-references/metadata/examples/token-metadata", + "api-references/metadata/examples/contract-metadata", + "api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "Infrastructure", + "pages": [ + "api-references/infrastructure/overview", + { + "group": "Endpoints", + "pages": [ + "api-references/infrastructure/endpoints/get-linked-wallets", + "api-references/infrastructure/endpoints/get-swap-price", + "api-references/infrastructure/endpoints/get-swap-prices", + "api-references/infrastructure/endpoints/get-swap-quote", + "api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "api-references/infrastructure/endpoints/is-valid-message-signature", + "api-references/infrastructure/endpoints/is-valid-signature", + "api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "api-references/infrastructure/endpoints/link-wallet", + "api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "Builder", + "pages": [ + "api-references/builder/overview", + { + "group": "Endpoints", + "pages": [ + "api-references/builder/endpoints/add-audience-contacts", + "api-references/builder/endpoints/create-audience", + "api-references/builder/endpoints/delete-audience", + "api-references/builder/endpoints/get-audience", + "api-references/builder/endpoints/get-contract", + "api-references/builder/endpoints/list-audiences", + "api-references/builder/endpoints/list-contract-sources", + "api-references/builder/endpoints/list-contracts", + "api-references/builder/endpoints/remove-audience-contacts", + "api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "Marketplace", + "pages": [ + "api-references/marketplace/overview", + { + "group": "Endpoints", + "pages": [ + "api-references/marketplace/endpoints/checkout-options-marketplace", + "api-references/marketplace/endpoints/checkout-options-sales-contract", + "api-references/marketplace/endpoints/generate-buy-transaction", + "api-references/marketplace/endpoints/generate-listing-transaction", + "api-references/marketplace/endpoints/generate-offer-transaction", + "api-references/marketplace/endpoints/generate-sell-transaction", + "api-references/marketplace/endpoints/generate-cancel-transaction", + "api-references/marketplace/endpoints/get-collectible", + "api-references/marketplace/endpoints/get-count-of-all-collectibles", + "api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "api-references/marketplace/endpoints/get-floor-order", + "api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "api-references/marketplace/endpoints/get-orders", + "api-references/marketplace/endpoints/list-collectibles", + "api-references/marketplace/endpoints/list-currencies", + "api-references/marketplace/endpoints/list-listings-for-collectible", + "api-references/marketplace/endpoints/list-offers-for-collectible" + ] + } + ] + }, + { + "group": "Transactions", + "pages": [ + "api-references/transactions/overview", + "api-references/transactions/installation", + { + "group": "Endpoints", + "pages": [ + "api-references/transactions/endpoints/get-chain-id", + "api-references/transactions/endpoints/fee-tokens", + "api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "Examples", + "pages": [ + "api-references/transactions/examples/fetch-fee-options", + "api-references/transactions/examples/send-transactions", + "api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "Blockchain RPC", + "pages": ["api-references/node-gateway"] + } + ] + }, + { + "tab": "Resources", + "groups": [ + { + "group": "Guides", + "pages": [ + "guides/guide-overview", + { + "group": "Game Developers", + "pages": [ + "guides/webgl-guide", + "guides/jelly-forest-unity-guide", + "guides/building-transaction-heavy-games-with-unity", + "guides/unreal-ew-guide", + "guides/using-unity-iap-to-sell-nfts", + "guides/unity-primary-sales", + "guides/unity-webgl-telegram", + "guides/telegram-integration" + ] + }, + { + "group": "Blockchain Integrations", + "pages": [ + "guides/mint-collectibles-serverless", + "guides/metadata-guide", + "guides/treasure-chest-guide", + "guides/typed-on-chain-signatures", + "guides/building-relaying-server", + "guides/analytics-guide", + "guides/build-embedding-wallet" + ] + }, + { + "group": "Marketplaces & Primary Sales", + "pages": [ + "guides/custom-marketplace", + "guides/primary-sales", + "guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "Boilerplates", + "pages": ["guides/template-overview"] + } + ] + }, + { + "tab": "Support", + "groups": [ + { + "group": "Support", + "pages": [ + "support", + "support/changelog", + "support/restricted-regions", + "support/faq", + "support/token-directory", + "support/discord", + "support/hiring", + "support/contact-us" + ] + }, + { + "group": "Sequence Builder Admin", + "pages": [ + "support/builder/project-management", + "support/builder/project-settings" + ] + } + ] + } + ] + }, + { + "language": "ja", + "tabs": [ + { + "tab": "ホーム", + "pages": ["ja/home"] + }, + { + "tab": "ソリューション", + "groups": [ + { + "group": " ", + "pages": [ + "ja/solutions/overview", + "ja/solutions/getting-started" + ] + }, + { + "group": "オンボード", + "pages": [ + "ja/solutions/wallets/overview", + { + "group": "エコシステムウォレット", + "pages": [ + "ja/solutions/wallets/ecosystem/overview", + "ja/solutions/wallets/ecosystem/configuration", + "ja/solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "埋め込みウォレット", + "pages": [ + "ja/solutions/wallets/embedded-wallet/overview", + "ja/solutions/wallets/embedded-wallet/quickstart", + { + "group": "セットアップ", + "pages": [ + "ja/solutions/builder/embedded-wallet/configuration", + "ja/solutions/builder/embedded-wallet/google-configuration", + "ja/solutions/builder/embedded-wallet/apple-configuration", + "ja/solutions/builder/embedded-wallet/playfab-configuration", + "ja/solutions/builder/embedded-wallet/stytch-configuration", + "ja/solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "アーキテクチャ", + "pages": [ + "ja/solutions/wallets/embedded-wallet/architecture/overview", + "ja/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "ja/solutions/wallets/embedded-wallet/architecture/enclave-verification", + "ja/solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "ja/solutions/wallets/embedded-wallet/migration", + "ja/solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "パワー", + "pages": [ + "ja/solutions/power-overview", + { + "group": "デプロイ可能なコントラクト", + "pages": [ + "ja/solutions/builder/contracts", + "ja/solutions/collectibles/contracts/deploy-an-item-collection", + "ja/solutions/collectibles/contracts/deploy-ERC20-currency", + "ja/solutions/collectibles/contracts/deploy-soulbound-token", + "ja/solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "ja/solutions/builder/collections", + { + "group": "ブロックチェーンデータのクエリ", + "pages": [ + "ja/solutions/builder/indexer", + "ja/solutions/builder/webhooks" + ] + }, + { + "group": "サイドキック", + "pages": [ + "ja/solutions/sidekick/overview", + { + "group": "ガイド", + "pages": ["ja/solutions/sidekick/guides/mint-nft"] + } + ] + }, + "ja/solutions/builder/analytics", + "ja/solutions/builder/gas-tank", + "ja/solutions/builder/node-gateway" + ] + }, + { + "group": "収益化", + "pages": [ + "ja/solutions/monetization-overview", + { + "group": "ホワイトラベルマーケットプレイス", + "pages": [ + "ja/solutions/marketplaces/white-label-marketplace/overview", + "ja/solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "カスタムマーケットプレイスの構築", + "pages": [ + "ja/solutions/marketplaces/custom-marketplace/overview", + "ja/solutions/marketplaces/custom-marketplace/getting-started" + ] + }, + { + "group": "Sequence Pay", + "pages": ["ja/solutions/payments/overview"] + } + ] + }, + { + "group": "技術リファレンス", + "pages": [ + "ja/solutions/technical-references/SequenceMCP", + "ja/solutions/technical-references/wallet-contracts/why", + { + "group": "コントラクト内部", + "pages": [ + "ja/solutions/technical-references/internals/deployment", + { + "group": "Sequence v1", + "pages": [ + "ja/solutions/technical-references/internals/v1/deploy", + "ja/solutions/technical-references/internals/v1/wallet-factory", + "ja/solutions/technical-references/internals/v1/wallet-configuration", + "ja/solutions/technical-references/internals/v1/signature-encoding", + "ja/solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "Sequence v2", + "pages": [ + "ja/solutions/technical-references/internals/v2/deploy", + "ja/solutions/technical-references/internals/v2/configuration" + ] + }, + "ja/solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "SDK", + "groups": [ + { + "group": " ", + "pages": ["ja/sdk/overview"] + }, + { + "group": "Web SDK", + "pages": [ + "ja/sdk/web/overview", + "ja/sdk/web/getting-started", + "ja/sdk/web/migration", + { + "group": "ガイド", + "pages": [ + "ja/sdk/web/guides/send-sponsored-tx", + "ja/sdk/web/guides/pay-gas-in-erc20", + "ja/sdk/web/guides/on-ramp", + "ja/sdk/web/guides/smart-swaps", + "ja/sdk/web/guides/on-ramp-and-swap", + "ja/sdk/web/guides/checkout" + ] + }, + { + "group": "フック", + "pages": [ + "ja/sdk/web/hooks/useAddFundsModal", + "ja/sdk/web/hooks/useChain", + "ja/sdk/web/hooks/useCheckoutModal", + "ja/sdk/web/hooks/useCheckWaasFeeOptions", + "ja/sdk/web/hooks/useERC1155SaleContractCheckout", + "ja/sdk/web/hooks/useGetCoinPrices", + "ja/sdk/web/hooks/useGetCollectiblePrices", + "ja/sdk/web/hooks/useListAccounts", + "ja/sdk/web/hooks/useGetContractInfo", + "ja/sdk/web/hooks/useGetExchangeRate", + "ja/sdk/web/hooks/useGetSwapPrices", + "ja/sdk/web/hooks/useGetSwapQuote", + "ja/sdk/web/hooks/useGetTransactionHistory", + "ja/sdk/web/hooks/useGetMultipleContractsInfo", + "ja/sdk/web/hooks/useGetTokenMetadata", + "ja/sdk/web/hooks/useMetadataClient", + "ja/sdk/web/hooks/useGetNativeTokenBalance", + "ja/sdk/web/hooks/useGetSingleTokenBalanceSummary", + "ja/sdk/web/hooks/useGetTransactionHistorySummary", + "ja/sdk/web/hooks/useIndexerClient", + "ja/sdk/web/hooks/useGetTokenBalancesByContract", + "ja/sdk/web/hooks/useGetTokenBalancesDetails", + "ja/sdk/web/hooks/useGetTokenBalancesSummary", + "ja/sdk/web/hooks/useIndexerGatewayClient", + "ja/sdk/web/hooks/useOpenConnectModal", + "ja/sdk/web/hooks/useOpenWalletModal", + "ja/sdk/web/hooks/useSelectPaymentModal", + "ja/sdk/web/hooks/useSignInEmail", + "ja/sdk/web/hooks/useStorage", + "ja/sdk/web/hooks/useSwapModal", + "ja/sdk/web/hooks/useTheme", + "ja/sdk/web/hooks/useWaasFeeOptions", + "ja/sdk/web/hooks/useWalletNavigation", + "ja/sdk/web/hooks/useWalletSettings", + "ja/sdk/web/hooks/useWallets" + ] + }, + { + "group": "二次販売マーケットプレイス", + "pages": [ + "ja/sdk/marketplace-sdk/overview", + "ja/sdk/marketplace-sdk/getting-started", + { + "group": "フック", + "pages": [ + "ja/sdk/marketplace-sdk/hooks/marketplace-actions", + "ja/sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "ja/sdk/web/custom-configuration", + "ja/sdk/web/custom-connectors" + ] + }, + { + "group": "ゲームエンジンSDK", + "pages": [ + { + "group": "Unity", + "pages": [ + "ja/sdk/unity/overview", + "ja/sdk/unity/quickstart", + "ja/sdk/unity/installation", + "ja/sdk/unity/setup", + "ja/sdk/unity/bootstrap_game", + { + "group": "オンボード", + "pages": [ + { + "group": "認証", + "pages": [ + "ja/sdk/unity/onboard/authentication/intro", + "ja/sdk/unity/onboard/authentication/email", + "ja/sdk/unity/onboard/authentication/oidc", + "ja/sdk/unity/onboard/authentication/playfab", + "ja/sdk/unity/onboard/authentication/guest", + "ja/sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "ja/sdk/unity/onboard/recovering-sessions", + "ja/sdk/unity/onboard/session-management", + "ja/sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "パワー", + "pages": [ + "ja/sdk/unity/power/read-from-blockchain", + "ja/sdk/unity/power/write-to-blockchain", + "ja/sdk/unity/power/sign-messages", + "ja/sdk/unity/power/deploy-contracts", + "ja/sdk/unity/power/contract-events", + "ja/sdk/unity/power/wallet-ui", + { + "group": "高度なブロックチェーンインタラクション", + "pages": [ + "ja/sdk/unity/power/advanced/introduction", + "ja/sdk/unity/power/advanced/wallets", + "ja/sdk/unity/power/advanced/clients", + "ja/sdk/unity/power/advanced/transfers", + "ja/sdk/unity/power/advanced/contracts", + "ja/sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "収益化", + "pages": [ + "ja/sdk/unity/monetization/intro", + "ja/sdk/unity/monetization/checkout-ui", + { + "group": "一次販売", + "pages": [ + "ja/sdk/unity/monetization/primary-sales/intro", + "ja/sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "二次販売マーケットプレイス", + "pages": [ + "ja/sdk/unity/monetization/secondary-sales/intro", + "ja/sdk/unity/monetization/secondary-sales/building-a-marketplace", + "ja/sdk/unity/monetization/secondary-sales/creating-listings", + "ja/sdk/unity/monetization/secondary-sales/creating-offers", + "ja/sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "仕組み", + "pages": [ + "ja/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "ja/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "ja/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "ja/sdk/unity/monetization/currency-swaps", + "ja/sdk/unity/monetization/onboard-user-funds" + ] + }, + "ja/sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "Unreal", + "pages": [ + "ja/sdk/unreal/introduction", + "ja/sdk/unreal/quickstart", + "ja/sdk/unreal/installation", + "ja/sdk/unreal/configuration", + "ja/sdk/unreal/subsystems", + "ja/sdk/unreal/bootstrap_game", + "ja/sdk/unreal/user_interfaces", + "ja/sdk/unreal/authentication", + "ja/sdk/unreal/write-to-blockchain", + "ja/sdk/unreal/read-from-blockchain", + "ja/sdk/unreal/onboard-user-funds", + "ja/sdk/unreal/advanced", + "ja/sdk/unreal/platforms" + ] + } + ] + }, + { + "group": "その他のSDK", + "pages": [ + { + "group": "Typescript", + "pages": [ + "ja/sdk/typescript/overview", + { + "group": "バックエンド統合", + "pages": [ + "ja/sdk/typescript/guides/backend/integration" + ] + }, + { + "group": "フロントエンド統合", + "pages": [ + "ja/sdk/headless-wallet/quickstart", + "ja/sdk/headless-wallet/authentication", + "ja/sdk/headless-wallet/use-wallets", + "ja/sdk/headless-wallet/account-federation", + "ja/sdk/headless-wallet/manage-sessions", + "ja/sdk/headless-wallet/on-ramp", + "ja/sdk/headless-wallet/fee-options", + "ja/sdk/headless-wallet/verification", + "ja/sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "Go", + "pages": ["ja/sdk/go/overview"] + }, + { + "group": "モバイル", + "pages": ["ja/sdk/mobile"] + } + ] + } + ] + }, + { + "tab": "API", + "groups": [ + { + "group": " ", + "pages": ["ja/api-references/overview"] + }, + { + "group": "トランザクション", + "pages": [ + "ja/api-references/transactions/overview", + "ja/api-references/transactions/installation", + { + "group": "エンドポイント", + "pages": [ + "ja/api-references/transactions/endpoints/get-chain-id", + "ja/api-references/transactions/endpoints/fee-tokens", + "ja/api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "例", + "pages": [ + "ja/api-references/transactions/examples/fetch-fee-options", + "ja/api-references/transactions/examples/send-transactions", + "ja/api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "インデクサー", + "pages": [ + "ja/api-references/indexer/overview", + "ja/api-references/indexer/installation", + { + "group": "エンドポイント", + "pages": [ + { + "group": "パブリック", + "pages": [ + "ja/api-references/indexer/endpoints/public/get-native-token-balance", + "ja/api-references/indexer/endpoints/public/get-token-balances-summary", + "ja/api-references/indexer/endpoints/public/get-token-balances-details", + "ja/api-references/indexer/endpoints/public/get-token-balances-by-contract", + "ja/api-references/indexer/endpoints/public/get-token-balances", + "ja/api-references/indexer/endpoints/public/get-token-supplies", + "ja/api-references/indexer/endpoints/public/get-token-supplies-map", + "ja/api-references/indexer/endpoints/public/get-balance-updates", + "ja/api-references/indexer/endpoints/public/get-transaction-history", + "ja/api-references/indexer/endpoints/public/fetch-transaction-receipt", + "ja/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "ja/api-references/indexer/endpoints/public/subscribe-receipts", + "ja/api-references/indexer/endpoints/public/subscribe-events", + "ja/api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "シークレット", + "pages": [ + "ja/api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "ja/api-references/indexer/endpoints/secret/add-webhook-listener", + "ja/api-references/indexer/endpoints/secret/update-webhook-listener", + "ja/api-references/indexer/endpoints/secret/remove-webhook-listener", + "ja/api-references/indexer/endpoints/secret/toggle-webhook-listener", + "ja/api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "ja/api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "ja/api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "例", + "pages": [ + "ja/api-references/indexer/examples/fetch-tokens", + "ja/api-references/indexer/examples/transaction-history", + "ja/api-references/indexer/examples/unique-tokens", + "ja/api-references/indexer/examples/transation-history-token-contract", + "ja/api-references/indexer/examples/native-network-balance", + "ja/api-references/indexer/examples/metadata-tips", + "ja/api-references/indexer/examples/webhook-listener", + "ja/api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "インデクサーゲートウェイ", + "pages": [ + "ja/api-references/indexer-gateway/overview", + "ja/api-references/indexer-gateway/installation", + { + "group": "例", + "pages": [ + "ja/api-references/indexer-gateway/examples/get-token-balances", + "ja/api-references/indexer-gateway/examples/get-native-token-balances", + "ja/api-references/indexer-gateway/examples/get-balance-updates", + "ja/api-references/indexer-gateway/examples/get-token-balances-details", + "ja/api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "アナリティクス", + "pages": [ + "ja/api-references/analytics/overview", + { + "group": "エンドポイント", + "pages": [ + { + "group": "シークレット", + "pages": [ + "ja/api-references/analytics/endpoints/secret/average-d-a-u", + "ja/api-references/analytics/endpoints/secret/average-d1-retention", + "ja/api-references/analytics/endpoints/secret/average-d14-retention", + "ja/api-references/analytics/endpoints/secret/average-d28-retention", + "ja/api-references/analytics/endpoints/secret/average-d3-retention", + "ja/api-references/analytics/endpoints/secret/average-d7-retention", + "ja/api-references/analytics/endpoints/secret/average-stickiness", + "ja/api-references/analytics/endpoints/secret/compute-by-service", + "ja/api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "ja/api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "ja/api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "ja/api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "ja/api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "ja/api-references/analytics/endpoints/secret/daily-compute-by-type", + "ja/api-references/analytics/endpoints/secret/daily-new-wallets", + "ja/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "ja/api-references/analytics/endpoints/secret/market-txn-event-daily", + "ja/api-references/analytics/endpoints/secret/market-txn-event-monthly", + "ja/api-references/analytics/endpoints/secret/market-txn-event-total", + "ja/api-references/analytics/endpoints/secret/market-wallets-daily", + "ja/api-references/analytics/endpoints/secret/market-wallets-monthly", + "ja/api-references/analytics/endpoints/secret/market-wallets-total", + "ja/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "ja/api-references/analytics/endpoints/secret/monthly-new-wallets", + "ja/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "ja/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "ja/api-references/analytics/endpoints/secret/rolling-stickiness", + "ja/api-references/analytics/endpoints/secret/total-compute", + "ja/api-references/analytics/endpoints/secret/total-new-wallets", + "ja/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "ja/api-references/analytics/endpoints/secret/wallets-by-browser", + "ja/api-references/analytics/endpoints/secret/wallets-by-country", + "ja/api-references/analytics/endpoints/secret/wallets-by-device", + "ja/api-references/analytics/endpoints/secret/wallets-by-o-s", + "ja/api-references/analytics/endpoints/secret/wallets-daily", + "ja/api-references/analytics/endpoints/secret/wallets-monthly", + "ja/api-references/analytics/endpoints/secret/wallets-total", + "ja/api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "ja/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "ja/api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "ja/api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "デフォルト", + "pages": [ + "ja/api-references/analytics/endpoints/default/daily-compute-by-service", + "ja/api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "例", + "pages": [ + "ja/api-references/analytics/examples/wallets", + "ja/api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "メタデータ", + "pages": [ + "ja/api-references/metadata/overview", + { + "group": "エンドポイント", + "pages": [ + { + "group": "パブリック", + "pages": [ + "ja/api-references/metadata/endpoints/public/directory-get-collections", + "ja/api-references/metadata/endpoints/public/directory-get-networks", + "ja/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "ja/api-references/metadata/endpoints/public/get-contract-info-batch", + "ja/api-references/metadata/endpoints/public/get-contract-info", + "ja/api-references/metadata/endpoints/public/get-token-metadata-batch", + "ja/api-references/metadata/endpoints/public/get-token-metadata", + "ja/api-references/metadata/endpoints/public/refresh-token-metadata", + "ja/api-references/metadata/endpoints/public/search-contract-info-batch", + "ja/api-references/metadata/endpoints/public/search-contract-info", + "ja/api-references/metadata/endpoints/public/search-token-i-ds", + "ja/api-references/metadata/endpoints/public/search-token-metadata", + "ja/api-references/metadata/endpoints/public/search-tokens", + "ja/api-references/metadata/endpoints/public/token-collection-filters", + "ja/api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "ja/api-references/metadata/endpoints/public/refresh-contract-info", + "ja/api-references/metadata/endpoints/public/refresh-contract-tokens", + "ja/api-references/metadata/endpoints/public/search-contracts", + "ja/api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "シークレット", + "pages": [ + "ja/api-references/metadata/endpoints/secret/create-asset", + "ja/api-references/metadata/endpoints/secret/create-collection", + "ja/api-references/metadata/endpoints/secret/create-contract-collection", + "ja/api-references/metadata/endpoints/secret/create-token", + "ja/api-references/metadata/endpoints/secret/delete-asset", + "ja/api-references/metadata/endpoints/secret/delete-collection", + "ja/api-references/metadata/endpoints/secret/delete-contract-collection", + "ja/api-references/metadata/endpoints/secret/delete-token", + "ja/api-references/metadata/endpoints/secret/get-asset", + "ja/api-references/metadata/endpoints/secret/get-collection", + "ja/api-references/metadata/endpoints/secret/get-contract-collection", + "ja/api-references/metadata/endpoints/secret/get-token", + "ja/api-references/metadata/endpoints/secret/list-collections", + "ja/api-references/metadata/endpoints/secret/list-contract-collections", + "ja/api-references/metadata/endpoints/secret/list-tokens", + "ja/api-references/metadata/endpoints/secret/publish-collection", + "ja/api-references/metadata/endpoints/secret/unpublish-collection", + "ja/api-references/metadata/endpoints/secret/update-asset", + "ja/api-references/metadata/endpoints/secret/update-collection", + "ja/api-references/metadata/endpoints/secret/update-contract-collection", + "ja/api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "例", + "pages": [ + "ja/api-references/metadata/examples/token-metadata", + "ja/api-references/metadata/examples/contract-metadata", + "ja/api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "インフラストラクチャ", + "pages": [ + "ja/api-references/infrastructure/overview", + { + "group": "エンドポイント", + "pages": [ + "ja/api-references/infrastructure/endpoints/get-linked-wallets", + "ja/api-references/infrastructure/endpoints/get-swap-price", + "ja/api-references/infrastructure/endpoints/get-swap-prices", + "ja/api-references/infrastructure/endpoints/get-swap-quote", + "ja/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "ja/api-references/infrastructure/endpoints/is-valid-message-signature", + "ja/api-references/infrastructure/endpoints/is-valid-signature", + "ja/api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "ja/api-references/infrastructure/endpoints/link-wallet", + "ja/api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "ビルダー", + "pages": [ + "ja/api-references/builder/overview", + { + "group": "エンドポイント", + "pages": [ + "ja/api-references/builder/endpoints/add-audience-contacts", + "ja/api-references/builder/endpoints/create-audience", + "ja/api-references/builder/endpoints/delete-audience", + "ja/api-references/builder/endpoints/get-audience", + "ja/api-references/builder/endpoints/get-contract", + "ja/api-references/builder/endpoints/list-audiences", + "ja/api-references/builder/endpoints/list-contract-sources", + "ja/api-references/builder/endpoints/list-contracts", + "ja/api-references/builder/endpoints/remove-audience-contacts", + "ja/api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "マーケットプレイス", + "pages": [ + "ja/api-references/marketplace/overview", + { + "group": "エンドポイント", + "pages": [ + "ja/api-references/marketplace/endpoints/checkout-options-marketplace", + "ja/api-references/marketplace/endpoints/checkout-options-sales-contract", + "ja/api-references/marketplace/endpoints/execute", + "ja/api-references/marketplace/endpoints/generate-buy-transaction", + "ja/api-references/marketplace/endpoints/generate-listing-transaction", + "ja/api-references/marketplace/endpoints/generate-offer-transaction", + "ja/api-references/marketplace/endpoints/generate-sell-transaction", + "ja/api-references/marketplace/endpoints/get-collectible-highest-listing", + "ja/api-references/marketplace/endpoints/get-collectible-highest-offer", + "ja/api-references/marketplace/endpoints/get-collectible-lowest-listing", + "ja/api-references/marketplace/endpoints/get-collectible-lowest-offer", + "ja/api-references/marketplace/endpoints/get-collectible", + "ja/api-references/marketplace/endpoints/get-count-of-all-collectibles", + "ja/api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "ja/api-references/marketplace/endpoints/get-floor-order", + "ja/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "ja/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "ja/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "ja/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "ja/api-references/marketplace/endpoints/get-orders", + "ja/api-references/marketplace/endpoints/list-collectible-listings", + "ja/api-references/marketplace/endpoints/list-collectible-offers", + "ja/api-references/marketplace/endpoints/list-collectibles-with-lowest-listing", + "ja/api-references/marketplace/endpoints/list-collectibles-with-highest-offer", + "ja/api-references/marketplace/endpoints/list-collectibles", + "ja/api-references/marketplace/endpoints/list-currencies", + "ja/api-references/marketplace/endpoints/list-listings-for-collectible", + "ja/api-references/marketplace/endpoints/list-offers-for-collectible" + ] + }, + { + "group": "例", + "pages": [ + "ja/api-references/marketplace/examples/orderbook-transactions", + "ja/api-references/marketplace/examples/get-top-orders", + "ja/api-references/marketplace/examples/get-orderbook", + "ja/api-references/marketplace/examples/get-user-activities" + ] + } + ] + }, + { + "group": "ブロックチェーンRPC", + "pages": ["ja/api-references/node-gateway"] + } + ] + }, + { + "tab": "リソース", + "groups": [ + { + "group": "ガイド", + "pages": [ + "ja/guides/guide-overview", + { + "group": "ゲーム開発者", + "pages": [ + "ja/guides/webgl-guide", + "ja/guides/jelly-forest-unity-guide", + "ja/guides/building-transaction-heavy-games-with-unity", + "ja/guides/unreal-ew-guide", + "ja/guides/using-unity-iap-to-sell-nfts", + "ja/guides/unity-primary-sales", + "ja/guides/unity-webgl-telegram", + "ja/guides/telegram-integration" + ] + }, + { + "group": "ブロックチェーン統合", + "pages": [ + "ja/guides/mint-collectibles-serverless", + "ja/guides/metadata-guide", + "ja/guides/treasure-chest-guide", + "ja/guides/typed-on-chain-signatures", + "ja/guides/building-relaying-server", + "ja/guides/analytics-guide", + "ja/guides/build-embedding-wallet" + ] + }, + { + "group": "マーケットプレイスと一次販売", + "pages": [ + "ja/guides/custom-marketplace", + "ja/guides/primary-sales", + "ja/guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "ボイラープレート", + "pages": ["ja/guides/template-overview"] + } + ] + }, + { + "tab": "サポート", + "groups": [ + { + "group": "サポート", + "pages": [ + "ja/support", + "ja/support/changelog", + "ja/support/restricted-regions", + "ja/support/faq", + "ja/support/token-directory", + "ja/support/discord", + "ja/support/hiring", + "ja/support/contact-us" + ] + }, + { + "group": "Sequence Builder管理", + "pages": [ + "ja/support/builder/project-management", + "ja/support/builder/project-settings" + ] + } + ] + } + ] + }, + { + "language": "es", + "tabs": [ + { + "tab": "Inicio", + "pages": ["es/home"] + }, + { + "tab": "Soluciones", + "groups": [ + { + "group": " ", + "pages": [ + "es/solutions/overview", + "es/solutions/getting-started" + ] + }, + { + "group": "Incorporación", + "pages": [ + "es/solutions/wallets/overview", + { + "group": "Carteras del Ecosistema", + "pages": [ + "es/solutions/wallets/ecosystem/overview", + "es/solutions/wallets/ecosystem/configuration", + "es/solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "Carteras Incrustadas", + "pages": [ + "es/solutions/wallets/embedded-wallet/overview", + "es/solutions/wallets/embedded-wallet/quickstart", + { + "group": "Configuración", + "pages": [ + "es/solutions/builder/embedded-wallet/configuration", + "es/solutions/builder/embedded-wallet/google-configuration", + "es/solutions/builder/embedded-wallet/apple-configuration", + "es/solutions/builder/embedded-wallet/playfab-configuration", + "es/solutions/builder/embedded-wallet/stytch-configuration", + "es/solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "Arquitectura", + "pages": [ + "es/solutions/wallets/embedded-wallet/architecture/overview", + "es/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "es/solutions/wallets/embedded-wallet/architecture/enclave-verification", + "es/solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "es/solutions/wallets/embedded-wallet/migration", + "es/solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "Funcionalidades", + "pages": [ + "es/solutions/power-overview", + { + "group": "Contratos Desplegables", + "pages": [ + "es/solutions/builder/contracts", + "es/solutions/collectibles/contracts/deploy-an-item-collection", + "es/solutions/collectibles/contracts/deploy-ERC20-currency", + "es/solutions/collectibles/contracts/deploy-soulbound-token", + "es/solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "es/solutions/builder/collections", + { + "group": "Consulta de Datos Blockchain", + "pages": [ + "es/solutions/builder/indexer", + "es/solutions/builder/webhooks" + ] + }, + { + "group": "Sidekick", + "pages": [ + "es/solutions/sidekick/overview", + { + "group": "Guías", + "pages": ["es/solutions/sidekick/guides/mint-nft"] + } + ] + }, + "es/solutions/builder/analytics", + "es/solutions/builder/gas-tank", + "es/solutions/builder/node-gateway" + ] + }, + { + "group": "Monetización", + "pages": [ + "es/solutions/monetization-overview", + { + "group": "Marketplace de Marca Blanca", + "pages": [ + "es/solutions/marketplaces/white-label-marketplace/overview", + "es/solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "Crea tu Marketplace Personalizado", + "pages": [ + "es/solutions/marketplaces/custom-marketplace/overview", + "es/solutions/marketplaces/custom-marketplace/getting-started" + ] + }, + { + "group": "Sequence Pay", + "pages": ["es/solutions/payments/overview"] + } + ] + }, + { + "group": "Referencias Técnicas", + "pages": [ + "es/solutions/technical-references/SequenceMCP", + "es/solutions/technical-references/wallet-contracts/why", + { + "group": "Internos del Contrato", + "pages": [ + "es/solutions/technical-references/internals/deployment", + { + "group": "Sequence v1", + "pages": [ + "es/solutions/technical-references/internals/v1/deploy", + "es/solutions/technical-references/internals/v1/wallet-factory", + "es/solutions/technical-references/internals/v1/wallet-configuration", + "es/solutions/technical-references/internals/v1/signature-encoding", + "es/solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "Sequence v2", + "pages": [ + "es/solutions/technical-references/internals/v2/deploy", + "es/solutions/technical-references/internals/v2/configuration" + ] + }, + "es/solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "SDKs", + "groups": [ + { + "group": " ", + "pages": ["es/sdk/overview"] + }, + { + "group": "SDK Web", + "pages": [ + "es/sdk/web/overview", + "es/sdk/web/getting-started", + "es/sdk/web/migration", + { + "group": "Guías", + "pages": [ + "es/sdk/web/guides/send-sponsored-tx", + "es/sdk/web/guides/pay-gas-in-erc20", + "es/sdk/web/guides/on-ramp", + "es/sdk/web/guides/smart-swaps", + "es/sdk/web/guides/on-ramp-and-swap", + "es/sdk/web/guides/checkout" + ] + }, + { + "group": "Hooks", + "pages": [ + "es/sdk/web/hooks/useAddFundsModal", + "es/sdk/web/hooks/useChain", + "es/sdk/web/hooks/useCheckoutModal", + "es/sdk/web/hooks/useCheckWaasFeeOptions", + "es/sdk/web/hooks/useERC1155SaleContractCheckout", + "es/sdk/web/hooks/useGetCoinPrices", + "es/sdk/web/hooks/useGetCollectiblePrices", + "es/sdk/web/hooks/useListAccounts", + "es/sdk/web/hooks/useGetContractInfo", + "es/sdk/web/hooks/useGetExchangeRate", + "es/sdk/web/hooks/useGetSwapPrices", + "es/sdk/web/hooks/useGetSwapQuote", + "es/sdk/web/hooks/useGetTransactionHistory", + "es/sdk/web/hooks/useGetMultipleContractsInfo", + "es/sdk/web/hooks/useGetTokenMetadata", + "es/sdk/web/hooks/useMetadataClient", + "es/sdk/web/hooks/useGetNativeTokenBalance", + "es/sdk/web/hooks/useGetSingleTokenBalanceSummary", + "es/sdk/web/hooks/useGetTransactionHistorySummary", + "es/sdk/web/hooks/useIndexerClient", + "es/sdk/web/hooks/useGetTokenBalancesByContract", + "es/sdk/web/hooks/useGetTokenBalancesDetails", + "es/sdk/web/hooks/useGetTokenBalancesSummary", + "es/sdk/web/hooks/useIndexerGatewayClient", + "es/sdk/web/hooks/useOpenConnectModal", + "es/sdk/web/hooks/useOpenWalletModal", + "es/sdk/web/hooks/useSelectPaymentModal", + "es/sdk/web/hooks/useSignInEmail", + "es/sdk/web/hooks/useStorage", + "es/sdk/web/hooks/useSwapModal", + "es/sdk/web/hooks/useTheme", + "es/sdk/web/hooks/useWaasFeeOptions", + "es/sdk/web/hooks/useWalletNavigation", + "es/sdk/web/hooks/useWalletSettings", + "es/sdk/web/hooks/useWallets" + ] + }, + { + "group": "Marketplace de Ventas Secundarias", + "pages": [ + "es/sdk/marketplace-sdk/overview", + "es/sdk/marketplace-sdk/getting-started", + { + "group": "Hooks", + "pages": [ + "es/sdk/marketplace-sdk/hooks/marketplace-actions", + "es/sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "es/sdk/web/custom-configuration", + "es/sdk/web/custom-connectors" + ] + }, + { + "group": "SDKs para Motores de Juego", + "pages": [ + { + "group": "Unity", + "pages": [ + "es/sdk/unity/overview", + "es/sdk/unity/quickstart", + "es/sdk/unity/installation", + "es/sdk/unity/setup", + "es/sdk/unity/bootstrap_game", + { + "group": "Incorporación", + "pages": [ + { + "group": "Autenticación", + "pages": [ + "es/sdk/unity/onboard/authentication/intro", + "es/sdk/unity/onboard/authentication/email", + "es/sdk/unity/onboard/authentication/oidc", + "es/sdk/unity/onboard/authentication/playfab", + "es/sdk/unity/onboard/authentication/guest", + "es/sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "es/sdk/unity/onboard/recovering-sessions", + "es/sdk/unity/onboard/session-management", + "es/sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "Funcionalidades", + "pages": [ + "es/sdk/unity/power/read-from-blockchain", + "es/sdk/unity/power/write-to-blockchain", + "es/sdk/unity/power/sign-messages", + "es/sdk/unity/power/deploy-contracts", + "es/sdk/unity/power/contract-events", + "es/sdk/unity/power/wallet-ui", + { + "group": "Interacciones Blockchain Avanzadas", + "pages": [ + "es/sdk/unity/power/advanced/introduction", + "es/sdk/unity/power/advanced/wallets", + "es/sdk/unity/power/advanced/clients", + "es/sdk/unity/power/advanced/transfers", + "es/sdk/unity/power/advanced/contracts", + "es/sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "Monetización", + "pages": [ + "es/sdk/unity/monetization/intro", + "es/sdk/unity/monetization/checkout-ui", + { + "group": "Ventas Primarias", + "pages": [ + "es/sdk/unity/monetization/primary-sales/intro", + "es/sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "Marketplace de Ventas Secundarias", + "pages": [ + "es/sdk/unity/monetization/secondary-sales/intro", + "es/sdk/unity/monetization/secondary-sales/building-a-marketplace", + "es/sdk/unity/monetization/secondary-sales/creating-listings", + "es/sdk/unity/monetization/secondary-sales/creating-offers", + "es/sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "Cómo Funciona", + "pages": [ + "es/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "es/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "es/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "es/sdk/unity/monetization/currency-swaps", + "es/sdk/unity/monetization/onboard-user-funds" + ] + }, + "es/sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "Unreal", + "pages": [ + "es/sdk/unreal/introduction", + "es/sdk/unreal/quickstart", + "es/sdk/unreal/installation", + "es/sdk/unreal/configuration", + "es/sdk/unreal/subsystems", + "es/sdk/unreal/bootstrap_game", + "es/sdk/unreal/user_interfaces", + "es/sdk/unreal/authentication", + "es/sdk/unreal/write-to-blockchain", + "es/sdk/unreal/read-from-blockchain", + "es/sdk/unreal/onboard-user-funds", + "es/sdk/unreal/advanced", + "es/sdk/unreal/platforms" + ] + } + ] + }, + { + "group": "Otros SDKs", + "pages": [ + { + "group": "Typescript", + "pages": [ + "es/sdk/typescript/overview", + { + "group": "Integración Backend", + "pages": [ + "es/sdk/typescript/guides/backend/integration" + ] + }, + { + "group": "Integración Frontend", + "pages": [ + "es/sdk/headless-wallet/quickstart", + "es/sdk/headless-wallet/authentication", + "es/sdk/headless-wallet/use-wallets", + "es/sdk/headless-wallet/account-federation", + "es/sdk/headless-wallet/manage-sessions", + "es/sdk/headless-wallet/on-ramp", + "es/sdk/headless-wallet/fee-options", + "es/sdk/headless-wallet/verification", + "es/sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "Go", + "pages": ["es/sdk/go/overview"] + }, + { + "group": "Móvil", + "pages": ["es/sdk/mobile"] + } + ] + } + ] + }, + { + "tab": "APIs", + "groups": [ + { + "group": " ", + "pages": ["es/api-references/overview"] + }, + { + "group": "Transacciones", + "pages": [ + "es/api-references/transactions/overview", + "es/api-references/transactions/installation", + { + "group": "Endpoints", + "pages": [ + "es/api-references/transactions/endpoints/get-chain-id", + "es/api-references/transactions/endpoints/fee-tokens", + "es/api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "Ejemplos", + "pages": [ + "es/api-references/transactions/examples/fetch-fee-options", + "es/api-references/transactions/examples/send-transactions", + "es/api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "Indexador", + "pages": [ + "es/api-references/indexer/overview", + "es/api-references/indexer/installation", + { + "group": "Endpoints", + "pages": [ + { + "group": "público", + "pages": [ + "es/api-references/indexer/endpoints/public/get-native-token-balance", + "es/api-references/indexer/endpoints/public/get-token-balances-summary", + "es/api-references/indexer/endpoints/public/get-token-balances-details", + "es/api-references/indexer/endpoints/public/get-token-balances-by-contract", + "es/api-references/indexer/endpoints/public/get-token-balances", + "es/api-references/indexer/endpoints/public/get-token-supplies", + "es/api-references/indexer/endpoints/public/get-token-supplies-map", + "es/api-references/indexer/endpoints/public/get-balance-updates", + "es/api-references/indexer/endpoints/public/get-transaction-history", + "es/api-references/indexer/endpoints/public/fetch-transaction-receipt", + "es/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "es/api-references/indexer/endpoints/public/subscribe-receipts", + "es/api-references/indexer/endpoints/public/subscribe-events", + "es/api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "secreto", + "pages": [ + "es/api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "es/api-references/indexer/endpoints/secret/add-webhook-listener", + "es/api-references/indexer/endpoints/secret/update-webhook-listener", + "es/api-references/indexer/endpoints/secret/remove-webhook-listener", + "es/api-references/indexer/endpoints/secret/toggle-webhook-listener", + "es/api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "es/api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "es/api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "Ejemplos", + "pages": [ + "es/api-references/indexer/examples/fetch-tokens", + "es/api-references/indexer/examples/transaction-history", + "es/api-references/indexer/examples/unique-tokens", + "es/api-references/indexer/examples/transation-history-token-contract", + "es/api-references/indexer/examples/native-network-balance", + "es/api-references/indexer/examples/metadata-tips", + "es/api-references/indexer/examples/webhook-listener", + "es/api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "Gateway del Indexador", + "pages": [ + "es/api-references/indexer-gateway/overview", + "es/api-references/indexer-gateway/installation", + { + "group": "Ejemplos", + "pages": [ + "es/api-references/indexer-gateway/examples/get-token-balances", + "es/api-references/indexer-gateway/examples/get-native-token-balances", + "es/api-references/indexer-gateway/examples/get-balance-updates", + "es/api-references/indexer-gateway/examples/get-token-balances-details", + "es/api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "Analíticas", + "pages": [ + "es/api-references/analytics/overview", + { + "group": "Endpoints", + "pages": [ + { + "group": "secreto", + "pages": [ + "es/api-references/analytics/endpoints/secret/average-d-a-u", + "es/api-references/analytics/endpoints/secret/average-d1-retention", + "es/api-references/analytics/endpoints/secret/average-d14-retention", + "es/api-references/analytics/endpoints/secret/average-d28-retention", + "es/api-references/analytics/endpoints/secret/average-d3-retention", + "es/api-references/analytics/endpoints/secret/average-d7-retention", + "es/api-references/analytics/endpoints/secret/average-stickiness", + "es/api-references/analytics/endpoints/secret/compute-by-service", + "es/api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "es/api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "es/api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "es/api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "es/api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "es/api-references/analytics/endpoints/secret/daily-compute-by-type", + "es/api-references/analytics/endpoints/secret/daily-new-wallets", + "es/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "es/api-references/analytics/endpoints/secret/market-txn-event-daily", + "es/api-references/analytics/endpoints/secret/market-txn-event-monthly", + "es/api-references/analytics/endpoints/secret/market-txn-event-total", + "es/api-references/analytics/endpoints/secret/market-wallets-daily", + "es/api-references/analytics/endpoints/secret/market-wallets-monthly", + "es/api-references/analytics/endpoints/secret/market-wallets-total", + "es/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "es/api-references/analytics/endpoints/secret/monthly-new-wallets", + "es/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "es/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "es/api-references/analytics/endpoints/secret/rolling-stickiness", + "es/api-references/analytics/endpoints/secret/total-compute", + "es/api-references/analytics/endpoints/secret/total-new-wallets", + "es/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "es/api-references/analytics/endpoints/secret/wallets-by-browser", + "es/api-references/analytics/endpoints/secret/wallets-by-country", + "es/api-references/analytics/endpoints/secret/wallets-by-device", + "es/api-references/analytics/endpoints/secret/wallets-by-o-s", + "es/api-references/analytics/endpoints/secret/wallets-daily", + "es/api-references/analytics/endpoints/secret/wallets-monthly", + "es/api-references/analytics/endpoints/secret/wallets-total", + "es/api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "es/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "es/api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "es/api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "predeterminado", + "pages": [ + "es/api-references/analytics/endpoints/default/daily-compute-by-service", + "es/api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "Ejemplos", + "pages": [ + "es/api-references/analytics/examples/wallets", + "es/api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "Metadatos", + "pages": [ + "es/api-references/metadata/overview", + { + "group": "Endpoints", + "pages": [ + { + "group": "público", + "pages": [ + "es/api-references/metadata/endpoints/public/directory-get-collections", + "es/api-references/metadata/endpoints/public/directory-get-networks", + "es/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "es/api-references/metadata/endpoints/public/get-contract-info-batch", + "es/api-references/metadata/endpoints/public/get-contract-info", + "es/api-references/metadata/endpoints/public/get-token-metadata-batch", + "es/api-references/metadata/endpoints/public/get-token-metadata", + "es/api-references/metadata/endpoints/public/refresh-token-metadata", + "es/api-references/metadata/endpoints/public/search-contract-info-batch", + "es/api-references/metadata/endpoints/public/search-contract-info", + "es/api-references/metadata/endpoints/public/search-token-i-ds", + "es/api-references/metadata/endpoints/public/search-token-metadata", + "es/api-references/metadata/endpoints/public/search-tokens", + "es/api-references/metadata/endpoints/public/token-collection-filters", + "es/api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "es/api-references/metadata/endpoints/public/refresh-contract-info", + "es/api-references/metadata/endpoints/public/refresh-contract-tokens", + "es/api-references/metadata/endpoints/public/search-contracts", + "es/api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "secreto", + "pages": [ + "es/api-references/metadata/endpoints/secret/create-asset", + "es/api-references/metadata/endpoints/secret/create-collection", + "es/api-references/metadata/endpoints/secret/create-contract-collection", + "es/api-references/metadata/endpoints/secret/create-token", + "es/api-references/metadata/endpoints/secret/delete-asset", + "es/api-references/metadata/endpoints/secret/delete-collection", + "es/api-references/metadata/endpoints/secret/delete-contract-collection", + "es/api-references/metadata/endpoints/secret/delete-token", + "es/api-references/metadata/endpoints/secret/get-asset", + "es/api-references/metadata/endpoints/secret/get-collection", + "es/api-references/metadata/endpoints/secret/get-contract-collection", + "es/api-references/metadata/endpoints/secret/get-token", + "es/api-references/metadata/endpoints/secret/list-collections", + "es/api-references/metadata/endpoints/secret/list-contract-collections", + "es/api-references/metadata/endpoints/secret/list-tokens", + "es/api-references/metadata/endpoints/secret/publish-collection", + "es/api-references/metadata/endpoints/secret/unpublish-collection", + "es/api-references/metadata/endpoints/secret/update-asset", + "es/api-references/metadata/endpoints/secret/update-collection", + "es/api-references/metadata/endpoints/secret/update-contract-collection", + "es/api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "Ejemplos", + "pages": [ + "es/api-references/metadata/examples/token-metadata", + "es/api-references/metadata/examples/contract-metadata", + "es/api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "Infraestructura", + "pages": [ + "es/api-references/infrastructure/overview", + { + "group": "Endpoints", + "pages": [ + "es/api-references/infrastructure/endpoints/get-linked-wallets", + "es/api-references/infrastructure/endpoints/get-swap-price", + "es/api-references/infrastructure/endpoints/get-swap-prices", + "es/api-references/infrastructure/endpoints/get-swap-quote", + "es/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "es/api-references/infrastructure/endpoints/is-valid-message-signature", + "es/api-references/infrastructure/endpoints/is-valid-signature", + "es/api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "es/api-references/infrastructure/endpoints/link-wallet", + "es/api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "Builder", + "pages": [ + "es/api-references/builder/overview", + { + "group": "Endpoints", + "pages": [ + "es/api-references/builder/endpoints/add-audience-contacts", + "es/api-references/builder/endpoints/create-audience", + "es/api-references/builder/endpoints/delete-audience", + "es/api-references/builder/endpoints/get-audience", + "es/api-references/builder/endpoints/get-contract", + "es/api-references/builder/endpoints/list-audiences", + "es/api-references/builder/endpoints/list-contract-sources", + "es/api-references/builder/endpoints/list-contracts", + "es/api-references/builder/endpoints/remove-audience-contacts", + "es/api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "Marketplace", + "pages": [ + "es/api-references/marketplace/overview", + { + "group": "Endpoints", + "pages": [ + "es/api-references/marketplace/endpoints/checkout-options-marketplace", + "es/api-references/marketplace/endpoints/checkout-options-sales-contract", + "es/api-references/marketplace/endpoints/execute", + "es/api-references/marketplace/endpoints/generate-buy-transaction", + "es/api-references/marketplace/endpoints/generate-listing-transaction", + "es/api-references/marketplace/endpoints/generate-offer-transaction", + "es/api-references/marketplace/endpoints/generate-sell-transaction", + "es/api-references/marketplace/endpoints/get-collectible-highest-listing", + "es/api-references/marketplace/endpoints/get-collectible-highest-offer", + "es/api-references/marketplace/endpoints/get-collectible-lowest-listing", + "es/api-references/marketplace/endpoints/get-collectible-lowest-offer", + "es/api-references/marketplace/endpoints/get-collectible", + "es/api-references/marketplace/endpoints/get-count-of-all-collectibles", + "es/api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "es/api-references/marketplace/endpoints/get-floor-order", + "es/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "es/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "es/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "es/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "es/api-references/marketplace/endpoints/get-orders", + "es/api-references/marketplace/endpoints/list-collectible-listings", + "es/api-references/marketplace/endpoints/list-collectible-offers", + "es/api-references/marketplace/endpoints/list-collectibles-with-lowest-listing", + "es/api-references/marketplace/endpoints/list-collectibles-with-highest-offer", + "es/api-references/marketplace/endpoints/list-collectibles", + "es/api-references/marketplace/endpoints/list-currencies", + "es/api-references/marketplace/endpoints/list-listings-for-collectible", + "es/api-references/marketplace/endpoints/list-offers-for-collectible" + ] + }, + { + "group": "Ejemplos", + "pages": [ + "es/api-references/marketplace/examples/orderbook-transactions", + "es/api-references/marketplace/examples/get-top-orders", + "es/api-references/marketplace/examples/get-orderbook", + "es/api-references/marketplace/examples/get-user-activities" + ] + } + ] + }, + { + "group": "RPC Blockchain", + "pages": ["es/api-references/node-gateway"] + } + ] + }, + { + "tab": "Resources", + "groups": [ + { + "group": "Guías", + "pages": [ + "es/guides/guide-overview", + { + "group": "Desarrolladores de Juegos", + "pages": [ + "es/guides/webgl-guide", + "es/guides/jelly-forest-unity-guide", + "es/guides/building-transaction-heavy-games-with-unity", + "es/guides/unreal-ew-guide", + "es/guides/using-unity-iap-to-sell-nfts", + "es/guides/unity-primary-sales", + "es/guides/unity-webgl-telegram", + "es/guides/telegram-integration" + ] + }, + { + "group": "Integraciones Blockchain", + "pages": [ + "es/guides/mint-collectibles-serverless", + "es/guides/metadata-guide", + "es/guides/treasure-chest-guide", + "es/guides/typed-on-chain-signatures", + "es/guides/building-relaying-server", + "es/guides/analytics-guide", + "es/guides/build-embedding-wallet" + ] + }, + { + "group": "Marketplaces y Ventas Primarias", + "pages": [ + "es/guides/custom-marketplace", + "es/guides/primary-sales", + "es/guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "Plantillas Base", + "pages": ["es/guides/template-overview"] + } + ] + }, + { + "tab": "Support", + "groups": [ + { + "group": "Soporte", + "pages": [ + "es/support", + "es/support/changelog", + "es/support/restricted-regions", + "es/support/faq", + "es/support/token-directory", + "es/support/discord", + "es/support/hiring", + "es/support/contact-us" + ] + }, + { + "group": "Admin de Sequence Builder", + "pages": [ + "es/support/builder/project-management", + "es/support/builder/project-settings" + ] + } + ] + } + ] + } + ], + "global": { + "anchors": [ + { + "anchor": "Interactive Demo", + "href": "https://blueprints.sequence-demos.xyz/", + "icon": "wrench" + }, + { + "anchor": "Supported Chains", + "href": "https://status.sequence.info/", + "icon": "heart-pulse" + }, + { + "anchor": "Changelog", + "href": "https://0xsequence.featurebase.app/changelog", + "icon": "map" + } + ] + } + }, + "redirects": [ + { + "source": "/404", + "destination": "/404.html" + }, + { + "source": "/solutions/wallets/link-wallets/overview", + "destination": "/sdk/web/hooks/useWallets" + }, + { + "source": "/solutions/technical-references/chain-support/", + "destination": "https://status.sequence.info" + }, + { + "source": "/solutions/technical-references/chain-support", + "destination": "https://status.sequence.info" + }, + { + "source": "/solutions/wallets/sequence-kit/overview", + "destination": "/sdk/web/overview" + }, + { + "source": "/solutions/wallets/sequence-kit/getting-started", + "destination": "/sdk/web/getting-started" + }, + { + "source": "/solutions/wallets/sequence-kit/custom-configuration", + "destination": "/sdk/web/custom-configuration" + }, + { + "source": "/solutions/wallets/sequence-kit/checkout", + "destination": "/sdk/web/checkout" + }, + { + "source": "/solutions/wallets/sequence-kit/smart-swaps", + "destination": "/sdk/web/smart-swaps" + }, + { + "source": "/solutions/wallets/sequence-kit/on-ramp", + "destination": "/sdk/web/on-ramp" + }, + { + "source": "/solutions/wallets/sequence-kit/custom-connectors", + "destination": "/sdk/web/custom-connectors" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/authentication", + "destination": "/sdk/headless-wallet/authentication" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/use-wallets", + "destination": "/sdk/headless-wallet/use-wallets" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/account-federation", + "destination": "/sdk/headless-wallet/account-federation" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/manage-sessions", + "destination": "/sdk/headless-wallet/manage-sessions" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/on-ramp", + "destination": "/sdk/headless-wallet/on-ramp" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/fee-options", + "destination": "/sdk/headless-wallet/fee-options" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/verification", + "destination": "/sdk/headless-wallet/verification" + }, + { + "source": "/solutions/wallets/embedded-wallet/examples/transaction-receipts", + "destination": "/sdk/headless-wallet/transaction-receipts" + }, + { + "source": "/solutions/builder/embedded-wallet", + "destination": "/solutions/builder/embedded-wallet/configuration" + }, + { + "source": "/solutions/builder/overview", + "destination": "/solutions/getting-started" + } + ], + "theme": "mint" +} diff --git a/es/404.html b/es/404.html new file mode 100644 index 00000000..c033f1ce --- /dev/null +++ b/es/404.html @@ -0,0 +1,59 @@ + + + + <span data-frenglish-key="404 - Página no encontrada">404 - Página no encontrada</span> + + + +
+

¡Ups! Página no encontrada

+

La página que busca no existe. Vamos a llevarle de vuelta.

+ Ir a la página principal +
+ + \ No newline at end of file diff --git a/es/README.md b/es/README.md new file mode 100644 index 00000000..e214923d --- /dev/null +++ b/es/README.md @@ -0,0 +1,35 @@ +![Sequence: Cree los mejores juegos y experiencias web3 con Sequence](images/sequence-header.jpg) + +# Documentación de Sequence +¡Bienvenido a la documentación de Sequence! Su infraestructura para cadenas, juegos y aplicaciones. + +## Desarrollo +Para instalar las herramientas de desarrollo, use el siguiente comando + +```bash +pnpm i +``` + +Ejecute el siguiente comando en la raíz de su documentación (donde está mint.json) + +```bash +pnpm dev +``` + +Usamos Mintlify como el framework de documentación. Para más información sobre los componentes disponibles para estructurar su contenido, consulte su [documentación](https://mintlify.com/docs/page). + +## Contribuciones +¡Agradecemos las contribuciones de la comunidad para mejorar nuestra documentación! Así puede contribuir: +1. **Haga un fork del repositorio** y cree su rama a partir de `main`. +2. **Realice sus cambios** en la documentación. +3. **Pruebe sus cambios** localmente usando la CLI de Mintlify. También recomendamos ejecutar `pnpm test` después de agregar sus cambios y antes de crear un PR para validar posibles enlaces rotos. +4. **Envíe un pull request** con una descripción clara de sus cambios. + +Nuestro equipo revisa los pull requests regularmente y proporcionará comentarios según sea necesario. Para cambios importantes, por favor abra primero un issue para discutir lo que desea modificar. + +Si encuentra algún error o tiene sugerencias de mejora pero no desea contribuir directamente, por favor abra un issue describiendo el problema o la mejora. + +¡Gracias por ayudar a mejorar la documentación de Sequence para todos! + +### Solución de problemas +Mintlify tiene una capacidad máxima para archivos grandes como imágenes o videos de alta calidad. Si al desplegar su video o imagen no aparece en el enlace de vista previa de su PR, le recomendamos subir estos archivos primero a un CDN para poder servirlos correctamente. \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/analytics-api.json b/es/api-references/analytics/endpoints/analytics-api.json new file mode 100644 index 00000000..1a697118 --- /dev/null +++ b/es/api-references/analytics/endpoints/analytics-api.json @@ -0,0 +1,11906 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorRequestConflict": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequestConflict" + }, + "code": { + "type": "number", + "example": 1004 + }, + "msg": { + "type": "string", + "example": "Conflict with target resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorServiceDisabled": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ServiceDisabled" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Service disabled" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUserNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "UserNotFound" + }, + "code": { + "type": "number", + "example": 3001 + }, + "msg": { + "type": "string", + "example": "User not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvalidTier": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidTier" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Invalid subscription tier" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorEmailTemplateExists": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "EmailTemplateExists" + }, + "code": { + "type": "number", + "example": 3004 + }, + "msg": { + "type": "string", + "example": "Email Template exists" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorSubscriptionLimit": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SubscriptionLimit" + }, + "code": { + "type": "number", + "example": 3005 + }, + "msg": { + "type": "string", + "example": "Subscription limit reached" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorFeatureNotIncluded": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "FeatureNotIncluded" + }, + "code": { + "type": "number", + "example": 3006 + }, + "msg": { + "type": "string", + "example": "Feature not included" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorInvalidNetwork": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidNetwork" + }, + "code": { + "type": "number", + "example": 3007 + }, + "msg": { + "type": "string", + "example": "Invalid network" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvitationExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvitationExpired" + }, + "code": { + "type": "number", + "example": 4000 + }, + "msg": { + "type": "string", + "example": "Invitation code is expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorAlreadyCollaborator": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "AlreadyCollaborator" + }, + "code": { + "type": "number", + "example": 4001 + }, + "msg": { + "type": "string", + "example": "Already a collaborator" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "AuthSessionType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "PUBLIC", + "WALLET", + "USER", + "ADMIN", + "SERVICE" + ] + }, + "SubscriptionTier": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "COMMUNITY", + "DEVELOPER", + "GROWTH", + "PRO", + "ENTERPRISE" + ] + }, + "ProjectType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "EMBEDDED_WALLET_REACT", + "EMBEDDED_WALLET_NEXTJS", + "EMBEDDED_WALLET_UNITY", + "EMBEDDED_WALLET_UNREAL", + "MARKETPLACE_STANDALONE", + "MARKETPLACE_REACT", + "MARKETPLACE_UNITY", + "MARKETPLACE_UNREAL", + "SALE_CONTRACT_ERC1155", + "SALE_CONTRACT_ERC721" + ] + }, + "ResourceType": { + "type": "string", + "description": "Represented as int8 on the server side", + "enum": [ + "CONTRACTS" + ] + }, + "SubscriptionProvider": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ADMIN", + "STRIPE", + "GOOGLE" + ] + }, + "CollaboratorAccess": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "NONE", + "READ", + "WRITE", + "ADMIN" + ] + }, + "CollaboratorType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "USER", + "SERVICE_ACCOUNT" + ] + }, + "ContractSourceType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LINKED", + "DEPLOYED", + "SALE" + ] + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "PaymentProvider": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "STRIPE", + "MANUAL" + ] + }, + "PaymentStatus": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "INITIATED", + "PENDING", + "SUCCEEDED", + "FAILED", + "PROCESSED" + ] + }, + "MarketplaceWallet": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNIVERSAL", + "EMBEDDED" + ] + }, + "MarketplaceType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "AMM", + "P2P", + "SEQUENCE", + "ORDERBOOK" + ] + }, + "TokenType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "FileScope": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LOGO", + "MARKETPLACE", + "AVATAR", + "EMAIL", + "WALLET", + "TOKEN_DIRECTORY" + ] + }, + "EmailTemplateType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNKNOWN", + "LOGIN", + "GUARD" + ] + }, + "TaskStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "PENDING", + "PAUSED", + "FAILED", + "COMPLETED", + "DISABLED" + ] + }, + "DateInterval": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "DAY", + "WEEK", + "MONTH" + ] + }, + "OnboardingStep": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "linkOrDeployContract", + "createMarketplace", + "setUpGasTank", + "configureWaas", + "customizeWallet", + "inviteCollaborator", + "cloneGithub", + "copyCredentials", + "customizeMarketplace", + "deployERC721Contract", + "deployERC1155Contract", + "addMarketplaceCollection", + "createCollection", + "customizeCollectible", + "deploySaleContract", + "setSaleSettings", + "addMinterRoleToItems", + "setUpAudienceList" + ] + }, + "WaasTenantState": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "PENDING", + "DEPLOYING", + "READY", + "FAILED" + ] + }, + "TrialType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ANALYTICS" + ] + }, + "CustomerTier": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "TIER_1", + "TIER_2", + "TIER_3", + "TIER_4", + "TIER_5" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "ver", + "env", + "branch", + "commitHash", + "networks", + "checks" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "env": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "networks": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "boolean" + } + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + } + } + }, + "RuntimeChecks": { + "type": "object", + "required": [ + "quotaControl", + "joqueue", + "stripe", + "cloudCommerce" + ], + "properties": { + "quotaControl": { + "type": "boolean" + }, + "joqueue": { + "type": "boolean" + }, + "stripe": { + "type": "boolean" + }, + "cloudCommerce": { + "type": "boolean" + } + } + }, + "Configuration": { + "type": "object", + "required": [ + "name", + "title", + "chainIds", + "domains" + ], + "properties": { + "name": { + "type": "string" + }, + "title": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "domains": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "logoUrl": { + "type": "string" + }, + "logoLightUrl": { + "type": "string" + }, + "titleUrl": { + "type": "string" + }, + "backgroundUrl": { + "type": "string" + }, + "mobileBackgroundUrl": { + "type": "string" + }, + "customCss": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "crispWebsiteId": { + "type": "string" + }, + "learnMoreButton": { + "type": "string" + }, + "learnMoreUrl": { + "type": "string" + } + } + }, + "AuthState": { + "type": "object", + "required": [ + "jwtToken", + "expiresAt", + "address", + "sessionType" + ], + "properties": { + "jwtToken": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "address": { + "type": "string" + }, + "sessionType": { + "$ref": "#/components/schemas/AuthSessionType" + }, + "user": { + "$ref": "#/components/schemas/User" + } + } + }, + "User": { + "type": "object", + "required": [ + "address", + "createdAt", + "updatedAt", + "sysAdmin", + "avatarKey", + "avatarUrl" + ], + "properties": { + "address": { + "type": "string" + }, + "email": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "sysAdmin": { + "type": "boolean" + }, + "avatarKey": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + } + } + }, + "UserSettings": { + "type": "object", + "required": [ + "freeProjectsLeft", + "totalFreeProjectLimit", + "totalPaidProjects" + ], + "properties": { + "freeProjectsLeft": { + "type": "number" + }, + "totalFreeProjectLimit": { + "type": "number" + }, + "totalPaidProjects": { + "type": "number" + } + } + }, + "UserOverride": { + "type": "object", + "required": [ + "id", + "address", + "extraProjects", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "address": { + "type": "string" + }, + "extraProjects": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Project": { + "type": "object", + "required": [ + "id", + "name", + "ownerAddress", + "ownerAvatarUrl", + "draft", + "logoImageKey", + "logoImageUrl", + "websiteUrl", + "chainIds", + "whitelabel", + "subscriptionTier", + "collaboratorCount", + "onboardingSteps", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ProjectType" + }, + "ownerAddress": { + "type": "string" + }, + "ownerEmail": { + "type": "string" + }, + "ownerAvatarUrl": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "logoImageKey": { + "type": "string" + }, + "logoImageUrl": { + "type": "string" + }, + "websiteUrl": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "whitelabel": { + "type": "string" + }, + "subscriptionTier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "collaboratorCount": { + "type": "number" + }, + "onboardingSteps": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "boolean" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "ResourceFilter": { + "type": "object", + "properties": { + "contracts": { + "$ref": "#/components/schemas/ContractFilter" + } + } + }, + "Resource": { + "type": "object", + "required": [ + "type", + "total", + "detail" + ], + "properties": { + "type": { + "$ref": "#/components/schemas/ResourceType" + }, + "total": { + "type": "number" + }, + "detail": { + "type": "array", + "description": "[]ResourceDetail", + "items": { + "$ref": "#/components/schemas/ResourceDetail" + } + } + } + }, + "ResourceDetail": { + "type": "object", + "required": [ + "key", + "count" + ], + "properties": { + "key": { + "type": "object" + }, + "count": { + "type": "number" + } + } + }, + "ProjectSubscription": { + "type": "object", + "required": [ + "id", + "projectId", + "subscriptionTier", + "provider", + "providerId", + "dateStart" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "subscriptionTier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "provider": { + "$ref": "#/components/schemas/SubscriptionProvider" + }, + "providerId": { + "type": "string" + }, + "dateStart": { + "type": "string" + }, + "dateEnd": { + "type": "string" + } + } + }, + "Collaborator": { + "type": "object", + "required": [ + "id", + "projectId", + "type", + "userAddress", + "access", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/CollaboratorType" + }, + "userAddress": { + "type": "string" + }, + "userEmail": { + "type": "string" + }, + "userAvatarUrl": { + "type": "string" + }, + "userAvatarKey": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" + }, + "invitationId": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Contract": { + "type": "object", + "required": [ + "id", + "projectId", + "contractName", + "contractAddress", + "contractType", + "chainId", + "source", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "contractName": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "source": { + "$ref": "#/components/schemas/ContractSourceType" + }, + "itemsContractAddress": { + "type": "string" + }, + "splitterContractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "audienceId": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractFilter": { + "type": "object", + "properties": { + "chainId": { + "type": "number" + }, + "contractSourceType": { + "$ref": "#/components/schemas/ContractSourceType" + }, + "contractType": { + "type": "string" + } + } + }, + "ContractLink": { + "type": "object", + "required": [ + "project", + "collaborator" + ], + "properties": { + "contract": { + "$ref": "#/components/schemas/Contract" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "collaborator": { + "$ref": "#/components/schemas/Collaborator" + } + } + }, + "NodeAccount": { + "type": "object", + "required": [ + "id", + "displayName", + "requestRateLimit", + "requestMonthlyQuota", + "active" + ], + "properties": { + "id": { + "type": "number" + }, + "displayName": { + "type": "string" + }, + "requestRateLimit": { + "type": "number" + }, + "requestMonthlyQuota": { + "type": "number" + }, + "active": { + "type": "boolean" + } + } + }, + "RelayerGasTank": { + "type": "object", + "required": [ + "id", + "projectId", + "relayerIdMap", + "totalPayments", + "totalUsage" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "relayerIdMap": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } + }, + "totalPayments": { + "type": "number" + }, + "totalUsage": { + "type": "number" + }, + "timestampUsage": { + "type": "string" + }, + "lastPaymentId": { + "type": "number" + } + } + }, + "RelayerGasBalance": { + "type": "object", + "required": [ + "id", + "name", + "chainId", + "currentBalance", + "feeMarkupFactor", + "unlimited" + ], + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "currentBalance": { + "type": "number" + }, + "feeMarkupFactor": { + "type": "number" + }, + "unlimited": { + "type": "boolean" + } + } + }, + "RelayerGasSponsor": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "displayName", + "address", + "active", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "displayName": { + "type": "string" + }, + "address": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "RelayerGasSponsorUsage": { + "type": "object", + "required": [ + "id", + "chainId", + "totalGasUsed", + "totalTxnFees", + "avgGasPrice", + "totalTxns", + "startTime", + "endTime" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "totalGasUsed": { + "type": "number" + }, + "totalTxnFees": { + "type": "number" + }, + "avgGasPrice": { + "type": "number" + }, + "totalTxns": { + "type": "number" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + } + } + }, + "RelayerTransaction": { + "type": "object", + "required": [ + "txnHash", + "txnNonce", + "txnStatus", + "txnRevertReason", + "requeues", + "queuedAt", + "sentAt", + "minedAt", + "target", + "input", + "txnArgs", + "walletAddress", + "metaTxnNonce", + "gasLimit", + "gasPrice", + "gasUsed", + "gasEstimated", + "usdRate", + "creditsUsed", + "isWhitelisted", + "createdAt", + "updatedAt" + ], + "properties": { + "txnHash": { + "type": "string" + }, + "txnNonce": { + "type": "string" + }, + "metaTxnID": { + "type": "string" + }, + "txnStatus": { + "type": "string" + }, + "txnRevertReason": { + "type": "string" + }, + "requeues": { + "type": "number" + }, + "queuedAt": { + "type": "string" + }, + "sentAt": { + "type": "string" + }, + "minedAt": { + "type": "string" + }, + "target": { + "type": "string" + }, + "input": { + "type": "string" + }, + "txnArgs": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "txnReceipt": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "walletAddress": { + "type": "string" + }, + "metaTxnNonce": { + "type": "string" + }, + "gasLimit": { + "type": "number" + }, + "gasPrice": { + "type": "string" + }, + "gasUsed": { + "type": "number" + }, + "gasEstimated": { + "type": "number" + }, + "gasFeeMarkup": { + "type": "number" + }, + "usdRate": { + "type": "string" + }, + "creditsUsed": { + "type": "number" + }, + "isWhitelisted": { + "type": "boolean" + }, + "gasSponsor": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "IndexerWebhook": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "contractAddress", + "eventSig", + "webhookUrl", + "disabled", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "eventSig": { + "type": "string" + }, + "webhookUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractSource": { + "type": "object", + "required": [ + "id", + "uid", + "contractType", + "name", + "description", + "author", + "license", + "audited", + "moreInfoUrl", + "disabled", + "factorySourceUid", + "abi", + "bytecode", + "bytecodeHash", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "uid": { + "type": "string" + }, + "contractType": { + "type": "string" + }, + "projectId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "author": { + "type": "string" + }, + "license": { + "type": "string" + }, + "audited": { + "type": "boolean" + }, + "moreInfoUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "factorySourceUid": { + "type": "string" + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractFactory": { + "type": "object", + "required": [ + "id", + "chainId", + "contractAddress", + "uid", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "NewContractSource": { + "type": "object", + "required": [ + "uid", + "name", + "contractType", + "bytecode", + "abi" + ], + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "author": { + "type": "string" + }, + "license": { + "type": "string" + }, + "audited": { + "type": "boolean" + }, + "moreInfoUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "contractType": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "abi": { + "type": "string" + } + } + }, + "Page": { + "type": "object", + "properties": { + "pageSize": { + "type": "number" + }, + "page": { + "type": "number" + }, + "column": { + "type": "string" + }, + "more": { + "type": "boolean" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "BillingSettings": { + "type": "object", + "required": [ + "maxKeys", + "rateLimit", + "creditsIncludedWarn", + "creditsIncludedMax", + "creditsOverageWarn", + "creditsOverageMax", + "priceSubscriptionTier", + "priceCreditOverage", + "marketplaceFee", + "gasFeeMarkup", + "blockTransactions", + "providerSettings" + ], + "properties": { + "maxKeys": { + "type": "number" + }, + "rateLimit": { + "type": "number" + }, + "creditsIncludedWarn": { + "type": "number" + }, + "creditsIncludedMax": { + "type": "number" + }, + "creditsOverageWarn": { + "type": "number" + }, + "creditsOverageMax": { + "type": "number" + }, + "priceSubscriptionTier": { + "type": "string" + }, + "priceCreditOverage": { + "type": "string" + }, + "marketplaceFee": { + "type": "string" + }, + "gasFeeMarkup": { + "type": "string" + }, + "blockTransactions": { + "type": "boolean" + }, + "providerSettings": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/BillingProviderSettings" + } + } + } + }, + "BillingProviderSettings": { + "type": "object", + "required": [ + "priceSubscriptionTier", + "priceCreditOverage", + "disabled" + ], + "properties": { + "priceSubscriptionTier": { + "type": "string" + }, + "priceCreditOverage": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + } + }, + "BillingOverride": { + "type": "object", + "required": [ + "extraKeys", + "discountSubscriptionTier", + "discountCreditOverage", + "forceAllowTransactions" + ], + "properties": { + "extraKeys": { + "type": "number" + }, + "rateLimit": { + "type": "number" + }, + "creditsIncludedWarn": { + "type": "number" + }, + "creditsOverageWarn": { + "type": "number" + }, + "creditsOverageMax": { + "type": "number" + }, + "discountSubscriptionTier": { + "type": "number" + }, + "discountCreditOverage": { + "type": "number" + }, + "marketplaceFee": { + "type": "number" + }, + "forceAllowTransactions": { + "type": "boolean" + } + } + }, + "SubscriptionInfo": { + "type": "object", + "required": [ + "current", + "subscriptionUrl", + "cycleStart", + "cycleEnd", + "settings", + "creditsBonus", + "creditUsage", + "creditBalance", + "creditOverage" + ], + "properties": { + "current": { + "$ref": "#/components/schemas/ProjectSubscription" + }, + "subscriptionUrl": { + "type": "string" + }, + "cycleStart": { + "type": "string" + }, + "cycleEnd": { + "type": "string" + }, + "plannedDowngrade": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "pendingUpgrade": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "settings": { + "$ref": "#/components/schemas/BillingSettings" + }, + "creditsBonus": { + "type": "number" + }, + "creditUsage": { + "type": "number" + }, + "creditBalance": { + "type": "number" + }, + "creditOverage": { + "type": "number" + }, + "extraCharged": { + "type": "string" + } + } + }, + "PaymentHistory": { + "type": "object", + "required": [ + "totalPayments", + "payments" + ], + "properties": { + "totalPayments": { + "type": "number" + }, + "payments": { + "type": "array", + "description": "[]Payment", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "Redirect": { + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + } + }, + "StripeEventData": { + "type": "object", + "required": [ + "object" + ], + "properties": { + "object": { + "$ref": "#/components/schemas/StripeEventDataObject" + } + } + }, + "StripeEventDataObject": { + "type": "object", + "required": [ + "id", + "object" + ], + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string" + } + } + }, + "Payment": { + "type": "object", + "required": [ + "id", + "projectId", + "provider", + "externalTxnID", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/PaymentStatus" + }, + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "externalTxnID": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "PaymentLog": { + "type": "object", + "required": [ + "id", + "paymentID", + "data", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "paymentID": { + "type": "number" + }, + "data": { + "$ref": "#/components/schemas/PaymentLogData" + }, + "createdAt": { + "type": "string" + } + } + }, + "PaymentLogData": { + "type": "object", + "required": [ + "type", + "data" + ], + "properties": { + "type": { + "type": "string" + }, + "data": { + "type": "object" + } + } + }, + "InvoicesReturn": { + "type": "object", + "required": [ + "hasMore", + "invoices" + ], + "properties": { + "hasMore": { + "type": "boolean" + }, + "invoices": { + "type": "array", + "description": "[]Invoice", + "items": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "Invoice": { + "type": "object", + "required": [ + "id", + "date", + "amount", + "paid", + "url" + ], + "properties": { + "id": { + "type": "string" + }, + "date": { + "type": "string" + }, + "amount": { + "type": "string" + }, + "paid": { + "type": "boolean" + }, + "url": { + "type": "string" + } + } + }, + "SubscriptionPlans": { + "type": "object", + "required": [ + "configs" + ], + "properties": { + "configs": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/SubscriptionPlan" + } + } + } + }, + "SubscriptionPlan": { + "type": "object", + "required": [ + "tier", + "settings", + "features" + ], + "properties": { + "tier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "settings": { + "$ref": "#/components/schemas/BillingSettings" + }, + "features": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "CollectionInfo": { + "type": "object", + "required": [ + "chainId", + "title", + "type", + "image", + "address", + "link", + "description", + "featured" + ], + "properties": { + "chainId": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "image": { + "type": "string" + }, + "address": { + "type": "string" + }, + "link": { + "type": "string" + }, + "description": { + "type": "string" + }, + "featured": { + "type": "boolean" + } + } + }, + "ContractInfo": { + "type": "object", + "required": [ + "chainId", + "address", + "name", + "type", + "symbol", + "logoURI", + "deployed", + "bytecodeHash", + "extensions", + "contentHash", + "updatedAt" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "logoURI": { + "type": "string" + }, + "deployed": { + "type": "boolean" + }, + "bytecodeHash": { + "type": "string" + }, + "extensions": { + "type": "object" + }, + "contentHash": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ProjectInvitation": { + "type": "object", + "required": [ + "id", + "projectId", + "code", + "access", + "expiresAt", + "usageCount", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "code": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" + }, + "expiresAt": { + "type": "string" + }, + "usageCount": { + "type": "number" + }, + "signupLimit": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "MarketplaceConfigSchema": { + "type": "object", + "required": [ + "version", + "config", + "style" + ], + "properties": { + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "style": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "MarketplaceConfig": { + "type": "object", + "required": [ + "id", + "projectId", + "version", + "config", + "settings", + "style" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "settings": { + "$ref": "#/components/schemas/MarketplaceSettings" + }, + "style": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "MarketplaceWalletOptions": { + "type": "object", + "required": [ + "walletType", + "oidcIssuers", + "connectors", + "includeEIP6963Wallets" + ], + "properties": { + "walletType": { + "$ref": "#/components/schemas/MarketplaceWallet" + }, + "oidcIssuers": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + }, + "connectors": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "includeEIP6963Wallets": { + "type": "boolean" + } + } + }, + "MarketplaceCollection": { + "type": "object", + "required": [ + "marketplaceType", + "chainId", + "address", + "feePercetage", + "currencyOptions" + ], + "properties": { + "marketplaceType": { + "$ref": "#/components/schemas/MarketplaceType" + }, + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "feePercetage": { + "type": "number" + }, + "currencyOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "MarketplaceSettings": { + "type": "object", + "required": [ + "publisherId", + "title", + "shortDescription", + "socials", + "faviconUrl", + "landingBannerUrl", + "collections", + "walletOptions", + "landingPageLayout", + "logoUrl", + "bannerUrl" + ], + "properties": { + "publisherId": { + "type": "string" + }, + "title": { + "type": "string" + }, + "shortDescription": { + "type": "string" + }, + "socials": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + }, + "faviconUrl": { + "type": "string" + }, + "landingBannerUrl": { + "type": "string" + }, + "collections": { + "type": "array", + "description": "[]MarketplaceCollection", + "items": { + "$ref": "#/components/schemas/MarketplaceCollection" + } + }, + "walletOptions": { + "$ref": "#/components/schemas/MarketplaceWalletOptions" + }, + "landingPageLayout": { + "type": "string" + }, + "logoUrl": { + "type": "string" + }, + "bannerUrl": { + "type": "string" + }, + "fontUrl": { + "type": "string" + }, + "ogImage": { + "type": "string" + } + } + }, + "MarketplaceHostname": { + "type": "object", + "required": [ + "id", + "marketplaceConfigId", + "hostname", + "isDefaultHostname", + "isCustomDomain", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "marketplaceConfigId": { + "type": "number" + }, + "hostname": { + "type": "string" + }, + "isDefaultHostname": { + "type": "boolean" + }, + "isCustomDomain": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + } + } + }, + "OffchainInventory": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "externalProductId", + "paymentTokenAddress", + "paymentTokenType", + "paymentTokenId", + "paymentAmount", + "paymentRecipient" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "externalProductId": { + "type": "string" + }, + "paymentTokenAddress": { + "type": "string" + }, + "paymentTokenType": { + "$ref": "#/components/schemas/TokenType" + }, + "paymentTokenId": { + "type": "number" + }, + "paymentAmount": { + "type": "number" + }, + "paymentRecipient": { + "type": "string" + }, + "chainedCallAddress": { + "type": "string" + }, + "chainedCallData": { + "type": "string" + }, + "allowCrossChainPayments": { + "type": "boolean" + }, + "callbackURL": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "OffchainPayment": { + "type": "object", + "required": [ + "id", + "offchainInventoryId", + "productRecipient", + "paymentChainId", + "paymentTokenAddress", + "expiration", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "offchainInventoryId": { + "type": "number" + }, + "productRecipient": { + "type": "string" + }, + "paymentChainId": { + "type": "number" + }, + "paymentTokenAddress": { + "type": "string" + }, + "expiration": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "completedAt": { + "type": "string" + }, + "processedAt": { + "type": "string" + } + } + }, + "WalletConfigSchema": { + "type": "object", + "required": [ + "version", + "config" + ], + "properties": { + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "WalletConfig": { + "type": "object", + "required": [ + "version", + "projectId", + "platform", + "config" + ], + "properties": { + "id": { + "type": "number" + }, + "version": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "platform": { + "type": "string" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ProjectFile": { + "type": "object", + "required": [ + "id", + "projectId", + "scope", + "mimetype", + "filepath", + "contents", + "hash", + "url", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "scope": { + "$ref": "#/components/schemas/FileScope" + }, + "mimetype": { + "type": "string" + }, + "filepath": { + "type": "string" + }, + "contents": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "url": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "EmailTemplate": { + "type": "object", + "required": [ + "id", + "projectId", + "subject", + "introText", + "logoUrl", + "placeholders", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "templateType": { + "$ref": "#/components/schemas/EmailTemplateType" + }, + "projectId": { + "type": "number" + }, + "subject": { + "type": "string" + }, + "introText": { + "type": "string" + }, + "logoUrl": { + "type": "string" + }, + "template": { + "type": "string" + }, + "placeholders": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "TaskRunner": { + "type": "object", + "required": [ + "id", + "workGroup", + "runAt" + ], + "properties": { + "id": { + "type": "number" + }, + "workGroup": { + "type": "string" + }, + "runAt": { + "type": "string" + } + } + }, + "Task": { + "type": "object", + "required": [ + "id", + "queue", + "status", + "try", + "payload", + "hash" + ], + "properties": { + "id": { + "type": "number" + }, + "queue": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "try": { + "type": "number" + }, + "runAt": { + "type": "string" + }, + "lastRanAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "payload": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { + "type": "string" + } + } + }, + "QueryFilter": { + "type": "object", + "required": [ + "projectId" + ], + "properties": { + "projectId": { + "type": "number" + }, + "startDate": { + "type": "string" + }, + "endDate": { + "type": "string" + }, + "dateInterval": { + "$ref": "#/components/schemas/DateInterval" + }, + "collections": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "tokenId": { + "type": "string" + } + } + }, + "Chart": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "number" + }, + "label": { + "type": "string" + } + } + }, + "MultiValueChart": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } + }, + "label": { + "type": "string" + } + } + }, + "QueryResult": { + "type": "object", + "required": [ + "collection", + "source", + "volumeUSD", + "numTokens", + "numTxns" + ], + "properties": { + "collection": { + "type": "string" + }, + "source": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "volumeUSD": { + "type": "number" + }, + "numTokens": { + "type": "number" + }, + "numTxns": { + "type": "number" + } + } + }, + "CreditBonus": { + "type": "object", + "required": [ + "id", + "projectId", + "amount", + "balance", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "balance": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "OpenIdProvider": { + "type": "object", + "required": [ + "iss", + "aud" + ], + "properties": { + "iss": { + "type": "string" + }, + "aud": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "WaasSettings": { + "type": "object", + "required": [ + "recoveryAddress", + "authConfig", + "tenantState", + "emailAuth", + "oidcProviders", + "allowedOrigins", + "updateCode", + "tenantKey" + ], + "properties": { + "recoveryAddress": { + "type": "string" + }, + "authConfig": { + "$ref": "#/components/schemas/WaasAuthConfig" + }, + "tenantState": { + "$ref": "#/components/schemas/WaasTenantState" + }, + "emailAuth": { + "type": "boolean" + }, + "oidcProviders": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" + } + }, + "allowedOrigins": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "updateCode": { + "type": "string" + }, + "tenantKey": { + "type": "string" + } + } + }, + "WaasAuthEmailConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthGuestConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthPlayfabConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "titleId": { + "type": "string" + } + } + }, + "WaasAuthStytchConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "projectId": { + "type": "string" + } + } + }, + "WaasAuthConfig": { + "type": "object", + "properties": { + "email": { + "$ref": "#/components/schemas/WaasAuthEmailConfig" + }, + "guest": { + "$ref": "#/components/schemas/WaasAuthGuestConfig" + }, + "playfab": { + "$ref": "#/components/schemas/WaasAuthPlayfabConfig" + }, + "stytch": { + "$ref": "#/components/schemas/WaasAuthStytchConfig" + } + } + }, + "WaasWalletStatus": { + "type": "object", + "required": [ + "chainId", + "address", + "deployed" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "deployed": { + "type": "boolean" + } + } + }, + "RawData": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Audience": { + "type": "object", + "required": [ + "id", + "projectId", + "name", + "contactCount", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "contactCount": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "AudienceContact": { + "type": "object", + "required": [ + "id", + "audienceId", + "address", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "audienceId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "address": { + "type": "string" + }, + "email": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Trial": { + "type": "object", + "required": [ + "id", + "projectId", + "type", + "startAt", + "endAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/TrialType" + }, + "startAt": { + "type": "string" + }, + "endAt": { + "type": "string" + } + } + }, + "ExtendedMarketplaceConfig": { + "type": "object", + "required": [ + "config", + "accessKey", + "waasEmailEnabled", + "waasTenantKey", + "waasProviders" + ], + "properties": { + "config": { + "$ref": "#/components/schemas/MarketplaceSettings" + }, + "accessKey": { + "type": "string" + }, + "waasEmailEnabled": { + "type": "boolean" + }, + "waasTenantKey": { + "type": "string" + }, + "waasProviders": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" + } + } + } + }, + "Customer": { + "type": "object", + "required": [ + "id", + "name", + "tier", + "metadata", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "tier": { + "$ref": "#/components/schemas/CustomerTier" + }, + "metadata": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "CustomerFilter": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "tier": { + "$ref": "#/components/schemas/CustomerTier" + } + } + }, + "Builder_TotalCompute_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_ComputeByService_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_DailyComputeByType_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_DailyComputeByService_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_GetOrderbookCollections_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsTotal_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsDaily_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsMonthly_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsByCountry_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsByDevice_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsByBrowser_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsByOS_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsTxnSentTotal_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsTxnSentDaily_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WalletsTxnSentMonthly_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketTxnEventTotal_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketTxnEventDaily_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketTxnEventMonthly_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketWalletsTotal_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketWalletsDaily_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MarketWalletsMonthly_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_TotalWalletTxnConversionRate_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_DailyWalletTxnConversionRate_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MonthlyWalletTxnConversionRate_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_DailyNewWallets_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MonthlyNewWallets_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_TotalNewWallets_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageDAU_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_RollingStickiness_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageStickiness_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_D1RetentionByCohort_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_D3RetentionByCohort_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_D7RetentionByCohort_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_D14RetentionByCohort_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_D28RetentionByCohort_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageD1Retention_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageD3Retention_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageD7Retention_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageD14Retention_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_AverageD28Retention_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MonthlyActiveWalletsBySegment_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_MonthlyTransactingWalletsBySegment_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_WeeklyActiveWallets_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/QueryFilter" + } + } + }, + "Builder_TotalCompute_Response": { + "type": "object", + "properties": { + "computeStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_ComputeByService_Response": { + "type": "object", + "properties": { + "computeStats": { + "type": "array", + "description": "[]MultiValueChart", + "items": { + "$ref": "#/components/schemas/MultiValueChart" + } + } + } + }, + "Builder_DailyComputeByType_Response": { + "type": "object", + "properties": { + "computeStats": { + "type": "array", + "description": "[]MultiValueChart", + "items": { + "$ref": "#/components/schemas/MultiValueChart" + } + } + } + }, + "Builder_DailyComputeByService_Response": { + "type": "object", + "properties": { + "computeStats": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + } + }, + "Builder_GetOrderbookCollections_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]QueryResult", + "items": { + "$ref": "#/components/schemas/QueryResult" + } + } + } + }, + "Builder_WalletsTotal_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsDaily_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsMonthly_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsByCountry_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsByDevice_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsByBrowser_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsByOS_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsTxnSentTotal_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsTxnSentDaily_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_WalletsTxnSentMonthly_Response": { + "type": "object", + "properties": { + "walletStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MarketTxnEventTotal_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MarketTxnEventDaily_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]MultiValueChart", + "items": { + "$ref": "#/components/schemas/MultiValueChart" + } + } + } + }, + "Builder_MarketTxnEventMonthly_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MarketWalletsTotal_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MarketWalletsDaily_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MarketWalletsMonthly_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_TotalWalletTxnConversionRate_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_DailyWalletTxnConversionRate_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MonthlyWalletTxnConversionRate_Response": { + "type": "object", + "properties": { + "marketStats": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_DailyNewWallets_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MonthlyNewWallets_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_TotalNewWallets_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageDAU_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_RollingStickiness_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageStickiness_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_D1RetentionByCohort_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_D3RetentionByCohort_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_D7RetentionByCohort_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_D14RetentionByCohort_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_D28RetentionByCohort_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageD1Retention_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageD3Retention_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageD7Retention_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageD14Retention_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_AverageD28Retention_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + }, + "Builder_MonthlyActiveWalletsBySegment_Response": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + } + }, + "Builder_MonthlyTransactingWalletsBySegment_Response": { + "type": "object", + "properties": { + "data": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + } + }, + "Builder_WeeklyActiveWallets_Response": { + "type": "object", + "properties": { + "data": { + "type": "array", + "description": "[]Chart", + "items": { + "$ref": "#/components/schemas/Chart" + } + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Analytics Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Analytics/TotalCompute": { + "post": { + "summary": "TotalCompute", + "description": "Get total compute statistics", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalCompute_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10", + "dateInterval": "DAY" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalCompute_Response" + }, + "examples": { + "0": { + "value": { + "computeStats": [ + { + "value": 100, + "label": "2024-09-30" + }, + { + "value": 150, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/ComputeByService": { + "post": { + "summary": "ComputeByService", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ComputeByService_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10", + "dateInterval": "DAY" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ComputeByService_Response" + }, + "examples": { + "0": { + "value": { + "computeStats": [ + { + "value": { + "service1": 100, + "service2": 150 + }, + "label": "2024-09-30" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get compute statistics by service", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/DailyComputeByType": { + "post": { + "summary": "DailyComputeByType", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyComputeByType_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10", + "dateInterval": "DAY" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyComputeByType_Response" + }, + "examples": { + "0": { + "value": { + "computeStats": [ + { + "value": { + "type1": 100, + "type2": 150 + }, + "label": "2024-09-30" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily compute statistics by type", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/DailyComputeByService": { + "post": { + "summary": "DailyComputeByService", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyComputeByService_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyComputeByService_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Analytics/GetOrderbookCollections": { + "post": { + "summary": "GetOrderbookCollections", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetOrderbookCollections_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetOrderbookCollections_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsTotal": { + "post": { + "summary": "WalletsTotal", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTotal_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTotal_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get total wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsDaily": { + "post": { + "summary": "WalletsDaily", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsDaily_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10", + "dateInterval": "DAY" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsDaily_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": "2", + "label": "2024-09-23" + }, + { + "value": 3, + "label": "2024-09-29" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily wallet statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsMonthly": { + "post": { + "summary": "WalletsMonthly", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsMonthly_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10", + "dateInterval": "MONTH" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsMonthly_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 20, + "label": "2024-09" + }, + { + "value": 30, + "label": "2024-10" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly wallet statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsByCountry": { + "post": { + "summary": "WalletsByCountry", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByCountry_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByCountry_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 50, + "label": "US" + }, + { + "value": 30, + "label": "UK" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get wallet statistics by country", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsByDevice": { + "post": { + "summary": "WalletsByDevice", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByDevice_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByDevice_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 200, + "label": "Mobile" + }, + { + "value": 150, + "label": "Desktop" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get wallet statistics by device", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsByBrowser": { + "post": { + "summary": "WalletsByBrowser", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByBrowser_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByBrowser_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 150, + "label": "Chrome" + }, + { + "value": 100, + "label": "Firefox" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get wallet statistics by browser", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsByOS": { + "post": { + "summary": "WalletsByOS", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByOS_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsByOS_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 180, + "label": "Windows" + }, + { + "value": 120, + "label": "MacOS" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get wallet statistics by operating system", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsTxnSentTotal": { + "post": { + "summary": "WalletsTxnSentTotal", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentTotal_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentTotal_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 1000, + "label": "Total Transactions" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get total transaction statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsTxnSentDaily": { + "post": { + "summary": "WalletsTxnSentDaily", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentDaily_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentDaily_Response" + }, + "examples": { + "0": { + "value": { + "walletStats": [ + { + "value": 45, + "label": "2024-09-30" + }, + { + "value": 52, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily transaction statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WalletsTxnSentMonthly": { + "post": { + "summary": "WalletsTxnSentMonthly", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentMonthly_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WalletsTxnSentMonthly_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly transaction statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketTxnEventTotal": { + "post": { + "summary": "MarketTxnEventTotal", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventTotal_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventTotal_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 500, + "label": "Total Events" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get total market transaction events", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketTxnEventDaily": { + "post": { + "summary": "MarketTxnEventDaily", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventDaily_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventDaily_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": { + "buy": 25, + "sell": 20 + }, + "label": "2024-09-30" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily market transaction events", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketTxnEventMonthly": { + "post": { + "summary": "MarketTxnEventMonthly", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventMonthly_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketTxnEventMonthly_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly market transaction statistics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketWalletsTotal": { + "post": { + "summary": "MarketWalletsTotal", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsTotal_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsTotal_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 1500, + "label": "Total Market Wallets" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get total market wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketWalletsDaily": { + "post": { + "summary": "MarketWalletsDaily", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsDaily_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsDaily_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 75, + "label": "2024-09-30" + }, + { + "value": 82, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily market wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MarketWalletsMonthly": { + "post": { + "summary": "MarketWalletsMonthly", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsMonthly_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MarketWalletsMonthly_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 450, + "label": "2024-09" + }, + { + "value": 520, + "label": "2024-10" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly market wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/TotalWalletTxnConversionRate": { + "post": { + "summary": "TotalWalletTxnConversionRate", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalWalletTxnConversionRate_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalWalletTxnConversionRate_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 0.45, + "label": "Conversion Rate" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get total wallet transaction conversion rate", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/DailyWalletTxnConversionRate": { + "post": { + "summary": "DailyWalletTxnConversionRate", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyWalletTxnConversionRate_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyWalletTxnConversionRate_Response" + }, + "examples": { + "0": { + "value": { + "marketStats": [ + { + "value": 0.42, + "label": "2024-09-30" + }, + { + "value": 0.45, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily wallet transaction conversion rate", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MonthlyWalletTxnConversionRate": { + "post": { + "summary": "MonthlyWalletTxnConversionRate", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyWalletTxnConversionRate_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyWalletTxnConversionRate_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly market conversions on your marketplace", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/DailyNewWallets": { + "post": { + "summary": "DailyNewWallets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyNewWallets_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DailyNewWallets_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 25, + "label": "2024-09-30" + }, + { + "value": 30, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get daily new wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MonthlyNewWallets": { + "post": { + "summary": "MonthlyNewWallets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyNewWallets_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyNewWallets_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 750, + "label": "2024-09" + }, + { + "value": 820, + "label": "2024-10" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly new wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/TotalNewWallets": { + "post": { + "summary": "TotalNewWallets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalNewWallets_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_TotalNewWallets_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get Total Wallets over a time interval", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageDAU": { + "post": { + "summary": "AverageDAU", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageDAU_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageDAU_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average daily active users", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/RollingStickiness": { + "post": { + "summary": "RollingStickiness", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_RollingStickiness_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_RollingStickiness_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.35, + "label": "2024-09-30" + }, + { + "value": 0.38, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get rolling stickiness metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageStickiness": { + "post": { + "summary": "AverageStickiness", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageStickiness_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageStickiness_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average stickiness metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/D1RetentionByCohort": { + "post": { + "summary": "D1RetentionByCohort", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D1RetentionByCohort_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D1RetentionByCohort_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.65, + "label": "2024-09-30" + }, + { + "value": 0.68, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get D1 retention by cohort", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/D3RetentionByCohort": { + "post": { + "summary": "D3RetentionByCohort", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D3RetentionByCohort_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D3RetentionByCohort_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.45, + "label": "2024-09-30" + }, + { + "value": 0.48, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get D3 retention by cohort", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/D7RetentionByCohort": { + "post": { + "summary": "D7RetentionByCohort", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D7RetentionByCohort_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D7RetentionByCohort_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.35, + "label": "2024-09-30" + }, + { + "value": 0.38, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get D7 retention by cohort", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/D14RetentionByCohort": { + "post": { + "summary": "D14RetentionByCohort", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D14RetentionByCohort_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D14RetentionByCohort_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.25, + "label": "2024-09-30" + }, + { + "value": 0.28, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get D14 retention by cohort", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/D28RetentionByCohort": { + "post": { + "summary": "D28RetentionByCohort", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D28RetentionByCohort_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_D28RetentionByCohort_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 0.15, + "label": "2024-09-30" + }, + { + "value": 0.18, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get D28 retention by cohort", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageD1Retention": { + "post": { + "summary": "AverageD1Retention", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD1Retention_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD1Retention_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average D1 retention metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageD3Retention": { + "post": { + "summary": "AverageD3Retention", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD3Retention_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD3Retention_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average D3 retention metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageD7Retention": { + "post": { + "summary": "AverageD7Retention", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD7Retention_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD7Retention_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average D7 retention metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageD14Retention": { + "post": { + "summary": "AverageD14Retention", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD14Retention_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD14Retention_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average D14 retention metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/AverageD28Retention": { + "post": { + "summary": "AverageD28Retention", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD28Retention_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AverageD28Retention_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 250, + "label": "2024-09-30" + }, + { + "value": 275, + "label": "2024-10-01" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get average D28 retention metrics", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MonthlyActiveWalletsBySegment": { + "post": { + "summary": "MonthlyActiveWalletsBySegment", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyActiveWalletsBySegment_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyActiveWalletsBySegment_Response" + }, + "examples": { + "0": { + "value": { + "data": { + "segment1": [ + { + "value": 150, + "label": "2024-09" + }, + { + "value": 180, + "label": "2024-10" + } + ], + "segment2": [ + { + "value": 120, + "label": "2024-09" + }, + { + "value": 140, + "label": "2024-10" + } + ] + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly active wallets by segment", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/MonthlyTransactingWalletsBySegment": { + "post": { + "summary": "MonthlyTransactingWalletsBySegment", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyTransactingWalletsBySegment_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_MonthlyTransactingWalletsBySegment_Response" + }, + "examples": { + "0": { + "value": { + "data": { + "segment1": [ + { + "value": 100, + "label": "2024-09" + }, + { + "value": 120, + "label": "2024-10" + } + ], + "segment2": [ + { + "value": 80, + "label": "2024-09" + }, + { + "value": 95, + "label": "2024-10" + } + ] + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get monthly transacting wallets by segment", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Analytics/WeeklyActiveWallets": { + "post": { + "summary": "WeeklyActiveWallets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WeeklyActiveWallets_Request" + }, + "examples": { + "0": { + "value": { + "filter": { + "projectId": 122, + "startDate": "2024-09-30", + "endDate": "2024-10-10" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_WeeklyActiveWallets_Response" + }, + "examples": { + "0": { + "value": { + "data": [ + { + "value": 350, + "label": "Week 39" + }, + { + "value": 380, + "label": "Week 40" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Get weekly active wallets", + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://api.sequence.app", + "description": "Analytics" + } + ], + "tags": [ + { + "name": "public", + "description": "Endpoints accessible by passing your project-access-key in the header. This is injected whenever you login automatically." + }, + { + "name": "secret", + "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." + } + ] +} \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/default/daily-compute-by-service.mdx b/es/api-references/analytics/endpoints/default/daily-compute-by-service.mdx new file mode 100644 index 00000000..c3c8a85a --- /dev/null +++ b/es/api-references/analytics/endpoints/default/daily-compute-by-service.mdx @@ -0,0 +1,4 @@ +--- +title: DailyComputeByService +openapi: ../analytics-api.json post /rpc/Analytics/DailyComputeByService +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/default/get-orderbook-collections.mdx b/es/api-references/analytics/endpoints/default/get-orderbook-collections.mdx new file mode 100644 index 00000000..cd33d12e --- /dev/null +++ b/es/api-references/analytics/endpoints/default/get-orderbook-collections.mdx @@ -0,0 +1,4 @@ +--- +title: GetOrderbookCollections +openapi: ../analytics-api.json post /rpc/Analytics/GetOrderbookCollections +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d-a-u.mdx b/es/api-references/analytics/endpoints/secret/average-d-a-u.mdx new file mode 100644 index 00000000..b195a0f5 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d-a-u.mdx @@ -0,0 +1,4 @@ +--- +title: AverageDAU +openapi: ../analytics-api.json post /rpc/Analytics/AverageDAU +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d1-retention.mdx b/es/api-references/analytics/endpoints/secret/average-d1-retention.mdx new file mode 100644 index 00000000..61ebb86e --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d1-retention.mdx @@ -0,0 +1,4 @@ +--- +title: AverageD1Retention +openapi: ../analytics-api.json post /rpc/Analytics/AverageD1Retention +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d14-retention.mdx b/es/api-references/analytics/endpoints/secret/average-d14-retention.mdx new file mode 100644 index 00000000..a9478848 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d14-retention.mdx @@ -0,0 +1,4 @@ +--- +title: AverageD14Retention +openapi: ../analytics-api.json post /rpc/Analytics/AverageD14Retention +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d28-retention.mdx b/es/api-references/analytics/endpoints/secret/average-d28-retention.mdx new file mode 100644 index 00000000..f525da1f --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d28-retention.mdx @@ -0,0 +1,4 @@ +--- +title: AverageD28Retention +openapi: ../analytics-api.json post /rpc/Analytics/AverageD28Retention +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d3-retention.mdx b/es/api-references/analytics/endpoints/secret/average-d3-retention.mdx new file mode 100644 index 00000000..66ad6e89 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d3-retention.mdx @@ -0,0 +1,4 @@ +--- +title: AverageD3Retention +openapi: ../analytics-api.json post /rpc/Analytics/AverageD3Retention +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-d7-retention.mdx b/es/api-references/analytics/endpoints/secret/average-d7-retention.mdx new file mode 100644 index 00000000..14b30607 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-d7-retention.mdx @@ -0,0 +1,4 @@ +--- +title: AverageD7Retention +openapi: ../analytics-api.json post /rpc/Analytics/AverageD7Retention +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/average-stickiness.mdx b/es/api-references/analytics/endpoints/secret/average-stickiness.mdx new file mode 100644 index 00000000..4fa23853 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/average-stickiness.mdx @@ -0,0 +1,4 @@ +--- +title: AverageStickiness +openapi: ../analytics-api.json post /rpc/Analytics/AverageStickiness +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/compute-by-service.mdx b/es/api-references/analytics/endpoints/secret/compute-by-service.mdx new file mode 100644 index 00000000..657be110 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/compute-by-service.mdx @@ -0,0 +1,4 @@ +--- +title: ComputeByService +openapi: ../analytics-api.json post /rpc/Analytics/ComputeByService +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/d1-retention-by-cohort.mdx b/es/api-references/analytics/endpoints/secret/d1-retention-by-cohort.mdx new file mode 100644 index 00000000..183c9255 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/d1-retention-by-cohort.mdx @@ -0,0 +1,4 @@ +--- +title: D1RetentionByCohort +openapi: ../analytics-api.json post /rpc/Analytics/D1RetentionByCohort +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/d14-retention-by-cohort.mdx b/es/api-references/analytics/endpoints/secret/d14-retention-by-cohort.mdx new file mode 100644 index 00000000..0e4e4198 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/d14-retention-by-cohort.mdx @@ -0,0 +1,4 @@ +--- +title: D14RetentionByCohort +openapi: ../analytics-api.json post /rpc/Analytics/D14RetentionByCohort +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/d28-retention-by-cohort.mdx b/es/api-references/analytics/endpoints/secret/d28-retention-by-cohort.mdx new file mode 100644 index 00000000..4401908c --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/d28-retention-by-cohort.mdx @@ -0,0 +1,4 @@ +--- +title: D28RetentionByCohort +openapi: ../analytics-api.json post /rpc/Analytics/D28RetentionByCohort +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/d3-retention-by-cohort.mdx b/es/api-references/analytics/endpoints/secret/d3-retention-by-cohort.mdx new file mode 100644 index 00000000..3b3d33c8 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/d3-retention-by-cohort.mdx @@ -0,0 +1,4 @@ +--- +title: D3RetentionByCohort +openapi: ../analytics-api.json post /rpc/Analytics/D3RetentionByCohort +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/d7-retention-by-cohort.mdx b/es/api-references/analytics/endpoints/secret/d7-retention-by-cohort.mdx new file mode 100644 index 00000000..c88a52bf --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/d7-retention-by-cohort.mdx @@ -0,0 +1,4 @@ +--- +title: D7RetentionByCohort +openapi: ../analytics-api.json post /rpc/Analytics/D7RetentionByCohort +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/daily-compute-by-type.mdx b/es/api-references/analytics/endpoints/secret/daily-compute-by-type.mdx new file mode 100644 index 00000000..216b6a0c --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/daily-compute-by-type.mdx @@ -0,0 +1,4 @@ +--- +title: DailyComputeByType +openapi: ../analytics-api.json post /rpc/Analytics/DailyComputeByType +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/daily-new-wallets.mdx b/es/api-references/analytics/endpoints/secret/daily-new-wallets.mdx new file mode 100644 index 00000000..7bb0b428 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/daily-new-wallets.mdx @@ -0,0 +1,4 @@ +--- +title: DailyNewWallets +openapi: ../analytics-api.json post /rpc/Analytics/DailyNewWallets +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate.mdx b/es/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate.mdx new file mode 100644 index 00000000..325dcf54 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate.mdx @@ -0,0 +1,4 @@ +--- +title: DailyWalletTxnConversionRate +openapi: ../analytics-api.json post /rpc/Analytics/DailyWalletTxnConversionRate +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-txn-event-daily.mdx b/es/api-references/analytics/endpoints/secret/market-txn-event-daily.mdx new file mode 100644 index 00000000..1524cb9d --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-txn-event-daily.mdx @@ -0,0 +1,4 @@ +--- +title: MarketTxnEventDaily +openapi: ../analytics-api.json post /rpc/Analytics/MarketTxnEventDaily +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-txn-event-monthly.mdx b/es/api-references/analytics/endpoints/secret/market-txn-event-monthly.mdx new file mode 100644 index 00000000..158b4f20 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-txn-event-monthly.mdx @@ -0,0 +1,4 @@ +--- +title: MarketTxnEventMonthly +openapi: ../analytics-api.json post /rpc/Analytics/MarketTxnEventMonthly +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-txn-event-total.mdx b/es/api-references/analytics/endpoints/secret/market-txn-event-total.mdx new file mode 100644 index 00000000..e51ecdd8 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-txn-event-total.mdx @@ -0,0 +1,4 @@ +--- +title: MarketTxnEventTotal +openapi: ../analytics-api.json post /rpc/Analytics/MarketTxnEventTotal +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-wallets-daily.mdx b/es/api-references/analytics/endpoints/secret/market-wallets-daily.mdx new file mode 100644 index 00000000..d250c52e --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-wallets-daily.mdx @@ -0,0 +1,4 @@ +--- +title: MarketWalletsDaily +openapi: ../analytics-api.json post /rpc/Analytics/MarketWalletsDaily +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-wallets-monthly.mdx b/es/api-references/analytics/endpoints/secret/market-wallets-monthly.mdx new file mode 100644 index 00000000..2aa709fb --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-wallets-monthly.mdx @@ -0,0 +1,4 @@ +--- +title: MarketWalletsMonthly +openapi: ../analytics-api.json post /rpc/Analytics/MarketWalletsMonthly +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/market-wallets-total.mdx b/es/api-references/analytics/endpoints/secret/market-wallets-total.mdx new file mode 100644 index 00000000..f420f18d --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/market-wallets-total.mdx @@ -0,0 +1,4 @@ +--- +title: MarketWalletsTotal +openapi: ../analytics-api.json post /rpc/Analytics/MarketWalletsTotal +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment.mdx b/es/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment.mdx new file mode 100644 index 00000000..0b26e798 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment.mdx @@ -0,0 +1,4 @@ +--- +title: MonthlyActiveWalletsBySegment +openapi: ../analytics-api.json post /rpc/Analytics/MonthlyActiveWalletsBySegment +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/monthly-new-wallets.mdx b/es/api-references/analytics/endpoints/secret/monthly-new-wallets.mdx new file mode 100644 index 00000000..7cebbbe2 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/monthly-new-wallets.mdx @@ -0,0 +1,4 @@ +--- +title: MonthlyNewWallets +openapi: ../analytics-api.json post /rpc/Analytics/MonthlyNewWallets +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment.mdx b/es/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment.mdx new file mode 100644 index 00000000..68503897 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment.mdx @@ -0,0 +1,4 @@ +--- +title: MonthlyTransactingWalletsBySegment +openapi: ../analytics-api.json post /rpc/Analytics/MonthlyTransactingWalletsBySegment +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate.mdx b/es/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate.mdx new file mode 100644 index 00000000..a121f102 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate.mdx @@ -0,0 +1,4 @@ +--- +title: MonthlyWalletTxnConversionRate +openapi: ../analytics-api.json post /rpc/Analytics/MonthlyWalletTxnConversionRate +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/rolling-stickiness.mdx b/es/api-references/analytics/endpoints/secret/rolling-stickiness.mdx new file mode 100644 index 00000000..a6e475a4 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/rolling-stickiness.mdx @@ -0,0 +1,4 @@ +--- +title: RollingStickiness +openapi: ../analytics-api.json post /rpc/Analytics/RollingStickiness +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/total-compute.mdx b/es/api-references/analytics/endpoints/secret/total-compute.mdx new file mode 100644 index 00000000..6d9d7397 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/total-compute.mdx @@ -0,0 +1,4 @@ +--- +title: TotalCompute +openapi: ../analytics-api.json post /rpc/Analytics/TotalCompute +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/total-new-wallets.mdx b/es/api-references/analytics/endpoints/secret/total-new-wallets.mdx new file mode 100644 index 00000000..a21ab712 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/total-new-wallets.mdx @@ -0,0 +1,4 @@ +--- +title: TotalNewWallets +openapi: ../analytics-api.json post /rpc/Analytics/TotalNewWallets +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate.mdx b/es/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate.mdx new file mode 100644 index 00000000..f98604e1 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate.mdx @@ -0,0 +1,4 @@ +--- +title: TotalWalletTxnConversionRate +openapi: ../analytics-api.json post /rpc/Analytics/TotalWalletTxnConversionRate +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-by-browser.mdx b/es/api-references/analytics/endpoints/secret/wallets-by-browser.mdx new file mode 100644 index 00000000..ec5f10d8 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-by-browser.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsByBrowser +openapi: ../analytics-api.json post /rpc/Analytics/WalletsByBrowser +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-by-country.mdx b/es/api-references/analytics/endpoints/secret/wallets-by-country.mdx new file mode 100644 index 00000000..61064d41 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-by-country.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsByCountry +openapi: ../analytics-api.json post /rpc/Analytics/WalletsByCountry +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-by-device.mdx b/es/api-references/analytics/endpoints/secret/wallets-by-device.mdx new file mode 100644 index 00000000..33ae5f22 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-by-device.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsByDevice +openapi: ../analytics-api.json post /rpc/Analytics/WalletsByDevice +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-by-o-s.mdx b/es/api-references/analytics/endpoints/secret/wallets-by-o-s.mdx new file mode 100644 index 00000000..b30da122 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-by-o-s.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsByOS +openapi: ../analytics-api.json post /rpc/Analytics/WalletsByOS +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-daily.mdx b/es/api-references/analytics/endpoints/secret/wallets-daily.mdx new file mode 100644 index 00000000..3a5a6b1a --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-daily.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsDaily +openapi: ../analytics-api.json post /rpc/Analytics/WalletsDaily +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-monthly.mdx b/es/api-references/analytics/endpoints/secret/wallets-monthly.mdx new file mode 100644 index 00000000..671d4017 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-monthly.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsMonthly +openapi: ../analytics-api.json post /rpc/Analytics/WalletsMonthly +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-total.mdx b/es/api-references/analytics/endpoints/secret/wallets-total.mdx new file mode 100644 index 00000000..f8d3b0e8 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-total.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsTotal +openapi: ../analytics-api.json post /rpc/Analytics/WalletsTotal +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-txn-sent-daily.mdx b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-daily.mdx new file mode 100644 index 00000000..fd1a16bf --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-daily.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsTxnSentDaily +openapi: ../analytics-api.json post /rpc/Analytics/WalletsTxnSentDaily +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly.mdx b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly.mdx new file mode 100644 index 00000000..565f60a0 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsTxnSentMonthly +openapi: ../analytics-api.json post /rpc/Analytics/WalletsTxnSentMonthly +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/wallets-txn-sent-total.mdx b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-total.mdx new file mode 100644 index 00000000..bc5190dd --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/wallets-txn-sent-total.mdx @@ -0,0 +1,4 @@ +--- +title: WalletsTxnSentTotal +openapi: ../analytics-api.json post /rpc/Analytics/WalletsTxnSentTotal +--- \ No newline at end of file diff --git a/es/api-references/analytics/endpoints/secret/weekly-active-wallets.mdx b/es/api-references/analytics/endpoints/secret/weekly-active-wallets.mdx new file mode 100644 index 00000000..67a4a763 --- /dev/null +++ b/es/api-references/analytics/endpoints/secret/weekly-active-wallets.mdx @@ -0,0 +1,4 @@ +--- +title: WeeklyActiveWallets +openapi: ../analytics-api.json post /rpc/Analytics/WeeklyActiveWallets +--- \ No newline at end of file diff --git a/es/api-references/analytics/examples/marketplace.mdx b/es/api-references/analytics/examples/marketplace.mdx new file mode 100644 index 00000000..ff1c0908 --- /dev/null +++ b/es/api-references/analytics/examples/marketplace.mdx @@ -0,0 +1,176 @@ +--- +title: Ejemplos de Analytics para Marketplace +sidebarTitle: Marketplaces +--- + +Además, puede obtener información detallada sobre el rendimiento de su Sequence Marketplace para reportar, hacer seguimiento y optimizar sus ingresos. + + + Reemplace las variables PROJECT\_ID y SECRET\_API\_ACCESS\_KEY con el ID de su proyecto y el token secreto de Sequence Builder. + + +## Obtener transacciones en su Marketplace +Obtener la cantidad de eventos de transacción en el Sequence marketplace; estos pueden consultarse como total o por un intervalo de tiempo fijo. + +### Total + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/MarketTxnEventTotal' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + (async () => { + const res = await fetch( + "https://api.sequence.build/rpc/Analytics/MarketTxnEventTotal", + { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + } + ); + console.log("res", await res.json()); + })(); + ``` + + +### Intervalo de tiempo + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/MarketTxnEventDaily' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + (async () => { + const res = await fetch( + "https://api.sequence.build/rpc/Analytics/MarketTxnEventDaily", + { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + } + ); + console.log("res", await res.json()); + })(); + ``` + + +## Obtener wallets en su Marketplace +Obtener los wallets que han interactuado con su marketplace, ya sea el total en todo el tiempo o desglosado por días, semanas o meses. + +### Total + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/MarketWalletsTotal' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + (async () => { + const res = await fetch("https://api.sequence.build/rpc/Analytics/MarketWalletsTotal", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + }); + console.log("res", await res.json()); + })(); + ``` + + +### Intervalo de tiempo + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/MarketWalletsDaily' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + (async () => { + const res = await fetch("https://api.sequence.build/rpc/Analytics/MarketWalletsDaily", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + }); + console.log("res", await res.json()); + })(); + ``` + + +## Esquema +Todos los endpoints de analytics de wallet siguen un esquema de solicitud similar +- Solicitud: POST +- Content-Type: application/json +- Cuerpo (en JSON): + - `projectId` (uint64) -- projectID de su proyecto, puede encontrarlo en la URL del proyecto en Builder. + - `startDate` (timestamp) -- fecha de inicio de la consulta en formato YYYY--MM--DD + - `endDate` (timestamp) -- fecha de fin de la consulta en formato YYYY--MM--DD + - `dateInterval` (string (opcional)) -- intervalo de fechas para la consulta, las opciones son "DAY", "WEEK" o "MONTH" +- Respuesta (en JSON): + - `marketStats` (marketStats\[]) + \[ + - `value` + - `buyItems` (uint64) -- número de ítems comprados. + - `sellItems` (uint64) -- número de ítems vendidos + - `label` (string) -- etiqueta asociada al endpoint correspondiente + ] \ No newline at end of file diff --git a/es/api-references/analytics/examples/wallets.mdx b/es/api-references/analytics/examples/wallets.mdx new file mode 100644 index 00000000..049acda0 --- /dev/null +++ b/es/api-references/analytics/examples/wallets.mdx @@ -0,0 +1,211 @@ +--- +title: Ejemplos de Analytics para Wallet +sidebarTitle: Wallets +--- + +Un caso de uso común es ver la cantidad de wallets integrados con su proyecto. Contamos con varios endpoints que pueden usarse para rastrear y reportar datos detallados como dispositivo, país y más, para que pueda identificar con precisión a sus usuarios. + + + Reemplace las variables PROJECT\_ID y SECRET\_API\_ACCESS\_KEY con el ID de su proyecto y el token secreto de Sequence Builder. + + +## Obtener wallets por intervalo de tiempo para un project ID +Aquí puede pasar un rango de fechas específico junto con el parámetro dateInterval para obtener los wallets dentro de un intervalo de tiempo. Los endpoints pueden usar "DAY", "WEEK" o "MONTH" como opciones posibles. + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/WalletsDaily' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + + (async () => { + const res = await fetch("https://api.sequence.build/rpc/Analytics/WalletsDaily", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + }); + console.log("res", await res.json()); + })(); + ``` + + +## Obtener wallets por país +También puede obtener wallets por país para ver desde dónde se conectan sus usuarios. + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/WalletsByCountry' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + + (async () => { + const res = await fetch("https://api.sequence.build/rpc/Analytics/WalletsByCountry", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + }); + console.log("res", await res.json()); + })(); + ``` + + +## Obtener wallets por dispositivo +Adicionalmente, puede consultar por dispositivo para obtener un resumen agregado de desde dónde se están autenticando sus usuarios. + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/WalletsByDevice' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + + (async () => { + const res = await fetch("https://api.sequence.build/rpc/Analytics/WalletsByDevice", { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + }); + console.log("res", await res.json()); + })(); + ``` + + +## Obtener transacciones por wallets +Por último, puede obtener la cantidad de transacciones por wallets; estos pueden consultarse como total o por un intervalo de tiempo fijo. + +### Total + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/WalletsTxnSentTotal' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + + (async () => { + const res = await fetch( + "https://api.sequence.build/rpc/Analytics/WalletsTxnSentTotal", + { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + } + ); + console.log("res", await res.json()); + })(); + ``` + + +### Intervalo de tiempo + + + ```sh cURL + curl 'https://api.sequence.build/rpc/Analytics/WalletsTxnSentDaily' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23", "dateInterval":"DAY"}}' + ``` + + ```ts TypeScript + // Works in both a Webapp (browser) or Node.js by importing cross-fetch: + // import fetch from "cross-fetch"; + + (async () => { + const res = await fetch( + "https://api.sequence.build/rpc/Analytics/WalletsTxnSentDaily", + { + method: "POST", + headers: { + "Content-Type": "application/json" + }, + body: JSON.stringify({ + filter: { + projectId: 4859, + startDate: "2024-01-23", + endDate: "2024-05-23", + dateInterval: "DAY" + } + }) + } + ); + console.log("res", await res.json()); + })(); + ``` + + +## Esquema +Todos los endpoints de analytics de wallet siguen un esquema de solicitud similar +- Solicitud: POST +- Content-Type: application/json +- Cuerpo (en JSON): + - `projectId` (uint64) -- projectID de su proyecto, puede encontrarlo en la URL del proyecto en Builder. + - `startDate` (timestamp) -- fecha de inicio de la consulta en formato YYYY--MM--DD + - `endDate` (timestamp) -- fecha de fin de la consulta en formato YYYY--MM--DD + - `dateInterval` (string) -- intervalo de fechas para la consulta, opciones: "DAY", "WEEK" o "MONTH" +- Respuesta (en JSON): + - `walletStats` (walletStats\[]) + - `value` (uint64) -- cantidad de wallets que cumplen con la consulta + - `label` (string) -- etiqueta asociada al endpoint correspondiente \ No newline at end of file diff --git a/es/api-references/analytics/overview.mdx b/es/api-references/analytics/overview.mdx new file mode 100644 index 00000000..c6dd45ae --- /dev/null +++ b/es/api-references/analytics/overview.mdx @@ -0,0 +1,40 @@ +--- +title: Analytics +sidebarTitle: Descripción general +--- + +# Analytics +La API de Analytics de Sequence es ideal para medir su progreso, ver cómo crece su juego o aplicación, hacer seguimiento del uso de las soluciones de Sequence o para integrarla en su propio flujo de datos para análisis adicionales. + +Al aprovechar esta API, puede obtener información profunda sobre el comportamiento de los usuarios. Ya sea que busque mejorar la interacción, optimizar el rendimiento o simplemente entender los patrones de uso, la API de Analytics de Sequence le brinda las capacidades analíticas robustas que necesita para impulsar el éxito de su juego. + +## Redes y endpoints compatibles +Puede ver la [lista completa de redes compatibles aquí](https://status.sequence.info). + +## Primeros pasos + +### Obtener una cuenta de servicio y token +Primero debe obtener una cuenta de servicio y un token para hacer llamadas desde su backend. Es importante destacar que esta es una clave secreta y no debe exponerse públicamente. +1. Cree un nuevo proyecto usando nuestro [Builder](https://sequence.build). Vaya a Settings > API Keys > Add Service Account. +2. En la ventana emergente, haga clic en el menú desplegable de Permission y cámbielo a Write. Cuando termine, haga clic en Add. +3. En la siguiente pantalla, se le proporcionará su Secret API Token. Copie la clave y guárdela de forma segura, ya que no será posible verla nuevamente. Una vez hecho esto, haga clic en Confirm y ya está listo para utilizar la API. + +Tenga en cuenta que, a diferencia de nuestra clave de acceso público a la API, este Secret API Token debe almacenarse de forma segura y no debe usarse públicamente. Deberá enviar este token como un JWT normal en los encabezados de la solicitud como X-Access-Key. + +### Enviar una solicitud +Ahora está listo para enviar una solicitud. Asegúrese de reemplazar SECRET\_API\_ACCESS\_KEY por su clave de acceso, así como PROJECT\_ID, que puede encontrar en la URL como una serie de números cuando esté en su proyecto en [sequence.build](https://sequence.build) + +```sh cURL +curl 'https://api.sequence.build/rpc/Analytics/WalletsTotal' \ + -H 'accept: */*' \ + -H 'authorization: BEARER ' \ + -H 'content-type: application/json' \ + --data-raw '{"filter":{"projectId":,"startDate":"2024-04-23","endDate":"2024-05-23"}}' +``` + +### Más ejemplos +Ahora que ya comenzó, pruebe algunos de nuestros otros ejemplos: +- [Obtener wallets en un intervalo de tiempo](/api-references/analytics/examples/wallets#fetch-wallets-for-a-time-interval-for-a-project-id) +- [Obtener transacciones por wallets](/api-references/analytics/examples/wallets#fetch-transactions-by-wallets) +- [Obtener wallets por dispositivo](/api-references/analytics/examples/wallets#fetch-wallets-by-device) +- [Obtener transacciones en su Sequence Marketplace](/api-references/analytics/examples/marketplace#fetch-transactions-on-your-marketplace) \ No newline at end of file diff --git a/es/api-references/builder/endpoints/add-audience-contacts.mdx b/es/api-references/builder/endpoints/add-audience-contacts.mdx new file mode 100644 index 00000000..511df7c9 --- /dev/null +++ b/es/api-references/builder/endpoints/add-audience-contacts.mdx @@ -0,0 +1,4 @@ +--- +title: AddAudienceContacts +openapi: ./builder-api.json post /rpc/Builder/AddAudienceContacts +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/builder-api.json b/es/api-references/builder/endpoints/builder-api.json new file mode 100644 index 00000000..60279615 --- /dev/null +++ b/es/api-references/builder/endpoints/builder-api.json @@ -0,0 +1,5319 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorRequestConflict": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequestConflict" + }, + "code": { + "type": "number", + "example": 1004 + }, + "msg": { + "type": "string", + "example": "Conflict with target resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorServiceDisabled": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ServiceDisabled" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Service disabled" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUserNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "UserNotFound" + }, + "code": { + "type": "number", + "example": 3001 + }, + "msg": { + "type": "string", + "example": "User not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvalidTier": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidTier" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Invalid subscription tier" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorEmailTemplateExists": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "EmailTemplateExists" + }, + "code": { + "type": "number", + "example": 3004 + }, + "msg": { + "type": "string", + "example": "Email Template exists" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorSubscriptionLimit": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SubscriptionLimit" + }, + "code": { + "type": "number", + "example": 3005 + }, + "msg": { + "type": "string", + "example": "Subscription limit reached" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorFeatureNotIncluded": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "FeatureNotIncluded" + }, + "code": { + "type": "number", + "example": 3006 + }, + "msg": { + "type": "string", + "example": "Feature not included" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorInvalidNetwork": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidNetwork" + }, + "code": { + "type": "number", + "example": 3007 + }, + "msg": { + "type": "string", + "example": "Invalid network" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvitationExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvitationExpired" + }, + "code": { + "type": "number", + "example": 4000 + }, + "msg": { + "type": "string", + "example": "Invitation code is expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorAlreadyCollaborator": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "AlreadyCollaborator" + }, + "code": { + "type": "number", + "example": 4001 + }, + "msg": { + "type": "string", + "example": "Already a collaborator" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "AuthSessionType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "PUBLIC", + "WALLET", + "USER", + "ADMIN", + "SERVICE" + ] + }, + "SubscriptionTier": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "COMMUNITY", + "DEVELOPER", + "GROWTH", + "PRO", + "ENTERPRISE" + ] + }, + "ProjectType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "EMBEDDED_WALLET_REACT", + "EMBEDDED_WALLET_NEXTJS", + "EMBEDDED_WALLET_UNITY", + "EMBEDDED_WALLET_UNREAL", + "MARKETPLACE_STANDALONE", + "MARKETPLACE_REACT", + "MARKETPLACE_UNITY", + "MARKETPLACE_UNREAL", + "SALE_CONTRACT_ERC1155", + "SALE_CONTRACT_ERC721" + ] + }, + "ResourceType": { + "type": "string", + "description": "Represented as int8 on the server side", + "enum": [ + "CONTRACTS" + ] + }, + "SubscriptionProvider": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ADMIN", + "STRIPE", + "GOOGLE" + ] + }, + "CollaboratorAccess": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "NONE", + "READ", + "WRITE", + "ADMIN" + ] + }, + "CollaboratorType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "USER", + "SERVICE_ACCOUNT" + ] + }, + "ContractSourceType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LINKED", + "DEPLOYED", + "SALE" + ] + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "PaymentProvider": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "STRIPE", + "MANUAL" + ] + }, + "PaymentStatus": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "INITIATED", + "PENDING", + "SUCCEEDED", + "FAILED", + "PROCESSED" + ] + }, + "MarketplaceWallet": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNIVERSAL", + "EMBEDDED" + ] + }, + "MarketplaceType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "AMM", + "P2P", + "SEQUENCE", + "ORDERBOOK" + ] + }, + "TokenType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "FileScope": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "LOGO", + "MARKETPLACE", + "AVATAR", + "EMAIL", + "WALLET", + "TOKEN_DIRECTORY" + ] + }, + "EmailTemplateType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNKNOWN", + "LOGIN", + "GUARD" + ] + }, + "TaskStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "PENDING", + "PAUSED", + "FAILED", + "COMPLETED", + "DISABLED" + ] + }, + "DateInterval": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "DAY", + "WEEK", + "MONTH" + ] + }, + "OnboardingStep": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "linkOrDeployContract", + "createMarketplace", + "setUpGasTank", + "configureWaas", + "customizeWallet", + "inviteCollaborator", + "cloneGithub", + "copyCredentials", + "customizeMarketplace", + "deployERC721Contract", + "deployERC1155Contract", + "addMarketplaceCollection", + "createCollection", + "customizeCollectible", + "deploySaleContract", + "setSaleSettings", + "addMinterRoleToItems", + "setUpAudienceList" + ] + }, + "WaasTenantState": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "PENDING", + "DEPLOYING", + "READY", + "FAILED" + ] + }, + "TrialType": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "ANALYTICS" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "ver", + "env", + "branch", + "commitHash", + "networks", + "checks" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "env": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "networks": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "boolean" + } + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + } + } + }, + "RuntimeChecks": { + "type": "object", + "required": [ + "quotaControl", + "joqueue", + "stripe", + "cloudCommerce" + ], + "properties": { + "quotaControl": { + "type": "boolean" + }, + "joqueue": { + "type": "boolean" + }, + "stripe": { + "type": "boolean" + }, + "cloudCommerce": { + "type": "boolean" + } + } + }, + "Configuration": { + "type": "object", + "required": [ + "name", + "title", + "chainIds", + "domains" + ], + "properties": { + "name": { + "type": "string" + }, + "title": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "domains": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "logoUrl": { + "type": "string" + }, + "logoLightUrl": { + "type": "string" + }, + "titleUrl": { + "type": "string" + }, + "backgroundUrl": { + "type": "string" + }, + "mobileBackgroundUrl": { + "type": "string" + }, + "customCss": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "crispWebsiteId": { + "type": "string" + }, + "learnMoreButton": { + "type": "string" + }, + "learnMoreUrl": { + "type": "string" + } + } + }, + "AuthState": { + "type": "object", + "required": [ + "jwtToken", + "expiresAt", + "address", + "sessionType" + ], + "properties": { + "jwtToken": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "address": { + "type": "string" + }, + "sessionType": { + "$ref": "#/components/schemas/AuthSessionType" + }, + "user": { + "$ref": "#/components/schemas/User" + } + } + }, + "User": { + "type": "object", + "required": [ + "address", + "createdAt", + "updatedAt", + "sysAdmin", + "avatarKey", + "avatarUrl" + ], + "properties": { + "address": { + "type": "string" + }, + "email": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "sysAdmin": { + "type": "boolean" + }, + "avatarKey": { + "type": "string" + }, + "avatarUrl": { + "type": "string" + } + } + }, + "UserSettings": { + "type": "object", + "required": [ + "freeProjectsLeft" + ], + "properties": { + "freeProjectsLeft": { + "type": "number" + } + } + }, + "UserOverride": { + "type": "object", + "required": [ + "id", + "address", + "extraProjects", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "address": { + "type": "string" + }, + "extraProjects": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Project": { + "type": "object", + "required": [ + "id", + "name", + "ownerAddress", + "ownerAvatarUrl", + "draft", + "logoImageKey", + "logoImageUrl", + "websiteUrl", + "chainIds", + "whitelabel", + "subscriptionTier", + "collaboratorCount", + "onboardingSteps", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ProjectType" + }, + "ownerAddress": { + "type": "string" + }, + "ownerEmail": { + "type": "string" + }, + "ownerAvatarUrl": { + "type": "string" + }, + "draft": { + "type": "boolean" + }, + "logoImageKey": { + "type": "string" + }, + "logoImageUrl": { + "type": "string" + }, + "websiteUrl": { + "type": "string" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + }, + "whitelabel": { + "type": "string" + }, + "subscriptionTier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "collaboratorCount": { + "type": "number" + }, + "onboardingSteps": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "boolean" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "ResourceFilter": { + "type": "object", + "properties": { + "contracts": { + "$ref": "#/components/schemas/ContractFilter" + } + } + }, + "Resource": { + "type": "object", + "required": [ + "type", + "total", + "detail" + ], + "properties": { + "type": { + "$ref": "#/components/schemas/ResourceType" + }, + "total": { + "type": "number" + }, + "detail": { + "type": "array", + "description": "[]ResourceDetail", + "items": { + "$ref": "#/components/schemas/ResourceDetail" + } + } + } + }, + "ResourceDetail": { + "type": "object", + "required": [ + "key", + "count" + ], + "properties": { + "key": { + "type": "object" + }, + "count": { + "type": "number" + } + } + }, + "ProjectSubscription": { + "type": "object", + "required": [ + "id", + "projectId", + "subscriptionTier", + "provider", + "providerId", + "dateStart" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "subscriptionTier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "provider": { + "$ref": "#/components/schemas/SubscriptionProvider" + }, + "providerId": { + "type": "string" + }, + "dateStart": { + "type": "string" + }, + "dateEnd": { + "type": "string" + } + } + }, + "Collaborator": { + "type": "object", + "required": [ + "id", + "projectId", + "type", + "userAddress", + "access", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/CollaboratorType" + }, + "userAddress": { + "type": "string" + }, + "userEmail": { + "type": "string" + }, + "userAvatarUrl": { + "type": "string" + }, + "userAvatarKey": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" + }, + "invitationId": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Contract": { + "type": "object", + "required": [ + "id", + "projectId", + "contractName", + "contractAddress", + "contractType", + "chainId", + "source", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "contractName": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "source": { + "$ref": "#/components/schemas/ContractSourceType" + }, + "itemsContractAddress": { + "type": "string" + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "audienceId": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractFilter": { + "type": "object", + "properties": { + "chainId": { + "type": "number" + }, + "contractSourceType": { + "$ref": "#/components/schemas/ContractSourceType" + }, + "contractType": { + "type": "string" + } + } + }, + "ContractLink": { + "type": "object", + "required": [ + "project", + "collaborator" + ], + "properties": { + "contract": { + "$ref": "#/components/schemas/Contract" + }, + "project": { + "$ref": "#/components/schemas/Project" + }, + "collaborator": { + "$ref": "#/components/schemas/Collaborator" + } + } + }, + "NodeAccount": { + "type": "object", + "required": [ + "id", + "displayName", + "requestRateLimit", + "requestMonthlyQuota", + "active" + ], + "properties": { + "id": { + "type": "number" + }, + "displayName": { + "type": "string" + }, + "requestRateLimit": { + "type": "number" + }, + "requestMonthlyQuota": { + "type": "number" + }, + "active": { + "type": "boolean" + } + } + }, + "RelayerGasTank": { + "type": "object", + "required": [ + "id", + "projectId", + "relayerIdMap", + "totalPayments", + "totalUsage" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "relayerIdMap": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } + }, + "totalPayments": { + "type": "number" + }, + "totalUsage": { + "type": "number" + }, + "timestampUsage": { + "type": "string" + }, + "lastPaymentId": { + "type": "number" + } + } + }, + "RelayerGasBalance": { + "type": "object", + "required": [ + "id", + "name", + "chainId", + "currentBalance", + "feeMarkupFactor", + "unlimited" + ], + "properties": { + "id": { + "type": "number" + }, + "name": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "currentBalance": { + "type": "number" + }, + "feeMarkupFactor": { + "type": "number" + }, + "unlimited": { + "type": "boolean" + } + } + }, + "RelayerGasSponsor": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "displayName", + "address", + "active", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "displayName": { + "type": "string" + }, + "address": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "RelayerGasSponsorUsage": { + "type": "object", + "required": [ + "id", + "chainId", + "totalGasUsed", + "totalTxnFees", + "avgGasPrice", + "totalTxns", + "startTime", + "endTime" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "totalGasUsed": { + "type": "number" + }, + "totalTxnFees": { + "type": "number" + }, + "avgGasPrice": { + "type": "number" + }, + "totalTxns": { + "type": "number" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + } + } + }, + "RelayerTransaction": { + "type": "object", + "required": [ + "txnHash", + "txnNonce", + "txnStatus", + "txnRevertReason", + "requeues", + "queuedAt", + "sentAt", + "minedAt", + "target", + "input", + "txnArgs", + "walletAddress", + "metaTxnNonce", + "gasLimit", + "gasPrice", + "gasUsed", + "gasEstimated", + "usdRate", + "creditsUsed", + "isWhitelisted", + "createdAt", + "updatedAt" + ], + "properties": { + "txnHash": { + "type": "string" + }, + "txnNonce": { + "type": "string" + }, + "metaTxnID": { + "type": "string" + }, + "txnStatus": { + "type": "string" + }, + "txnRevertReason": { + "type": "string" + }, + "requeues": { + "type": "number" + }, + "queuedAt": { + "type": "string" + }, + "sentAt": { + "type": "string" + }, + "minedAt": { + "type": "string" + }, + "target": { + "type": "string" + }, + "input": { + "type": "string" + }, + "txnArgs": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "txnReceipt": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "walletAddress": { + "type": "string" + }, + "metaTxnNonce": { + "type": "string" + }, + "gasLimit": { + "type": "number" + }, + "gasPrice": { + "type": "string" + }, + "gasUsed": { + "type": "number" + }, + "gasEstimated": { + "type": "number" + }, + "gasFeeMarkup": { + "type": "number" + }, + "usdRate": { + "type": "string" + }, + "creditsUsed": { + "type": "number" + }, + "isWhitelisted": { + "type": "boolean" + }, + "gasSponsor": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "IndexerWebhook": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "contractAddress", + "eventSig", + "webhookUrl", + "disabled", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "eventSig": { + "type": "string" + }, + "webhookUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractSource": { + "type": "object", + "required": [ + "id", + "uid", + "contractType", + "name", + "description", + "author", + "license", + "audited", + "moreInfoUrl", + "disabled", + "factorySourceUid", + "abi", + "bytecode", + "bytecodeHash", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "uid": { + "type": "string" + }, + "contractType": { + "type": "string" + }, + "projectId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "author": { + "type": "string" + }, + "license": { + "type": "string" + }, + "audited": { + "type": "boolean" + }, + "moreInfoUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "factorySourceUid": { + "type": "string" + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractFactory": { + "type": "object", + "required": [ + "id", + "chainId", + "contractAddress", + "uid", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "uid": { + "type": "string" + }, + "abi": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "bytecodeHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "NewContractSource": { + "type": "object", + "required": [ + "uid", + "name", + "contractType", + "bytecode", + "abi" + ], + "properties": { + "uid": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "author": { + "type": "string" + }, + "license": { + "type": "string" + }, + "audited": { + "type": "boolean" + }, + "moreInfoUrl": { + "type": "string" + }, + "disabled": { + "type": "boolean" + }, + "contractType": { + "type": "string" + }, + "bytecode": { + "type": "string" + }, + "abi": { + "type": "string" + } + } + }, + "Page": { + "type": "object", + "properties": { + "pageSize": { + "type": "number" + }, + "page": { + "type": "number" + }, + "column": { + "type": "string" + }, + "more": { + "type": "boolean" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "BillingSettings": { + "type": "object", + "required": [ + "maxKeys", + "rateLimit", + "creditsIncludedWarn", + "creditsIncludedMax", + "creditsOverageWarn", + "creditsOverageMax", + "priceSubscriptionTier", + "priceCreditOverage", + "marketplaceFee", + "gasFeeMarkup", + "blockTransactions", + "providerSettings" + ], + "properties": { + "maxKeys": { + "type": "number" + }, + "rateLimit": { + "type": "number" + }, + "creditsIncludedWarn": { + "type": "number" + }, + "creditsIncludedMax": { + "type": "number" + }, + "creditsOverageWarn": { + "type": "number" + }, + "creditsOverageMax": { + "type": "number" + }, + "priceSubscriptionTier": { + "type": "string" + }, + "priceCreditOverage": { + "type": "string" + }, + "marketplaceFee": { + "type": "string" + }, + "gasFeeMarkup": { + "type": "string" + }, + "blockTransactions": { + "type": "boolean" + }, + "providerSettings": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/BillingProviderSettings" + } + } + } + }, + "BillingProviderSettings": { + "type": "object", + "required": [ + "priceSubscriptionTier", + "priceCreditOverage", + "disabled" + ], + "properties": { + "priceSubscriptionTier": { + "type": "string" + }, + "priceCreditOverage": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + } + }, + "BillingOverride": { + "type": "object", + "required": [ + "extraKeys", + "discountSubscriptionTier", + "discountCreditOverage", + "forceAllowTransactions" + ], + "properties": { + "extraKeys": { + "type": "number" + }, + "rateLimit": { + "type": "number" + }, + "creditsIncludedWarn": { + "type": "number" + }, + "creditsOverageWarn": { + "type": "number" + }, + "creditsOverageMax": { + "type": "number" + }, + "discountSubscriptionTier": { + "type": "number" + }, + "discountCreditOverage": { + "type": "number" + }, + "marketplaceFee": { + "type": "number" + }, + "forceAllowTransactions": { + "type": "boolean" + } + } + }, + "SubscriptionInfo": { + "type": "object", + "required": [ + "current", + "subscriptionUrl", + "cycleStart", + "cycleEnd", + "settings", + "creditsBonus", + "creditUsage", + "creditBalance", + "creditOverage" + ], + "properties": { + "current": { + "$ref": "#/components/schemas/ProjectSubscription" + }, + "subscriptionUrl": { + "type": "string" + }, + "cycleStart": { + "type": "string" + }, + "cycleEnd": { + "type": "string" + }, + "plannedDowngrade": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "pendingUpgrade": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "settings": { + "$ref": "#/components/schemas/BillingSettings" + }, + "creditsBonus": { + "type": "number" + }, + "creditUsage": { + "type": "number" + }, + "creditBalance": { + "type": "number" + }, + "creditOverage": { + "type": "number" + }, + "extraCharged": { + "type": "string" + } + } + }, + "PaymentHistory": { + "type": "object", + "required": [ + "totalPayments", + "payments" + ], + "properties": { + "totalPayments": { + "type": "number" + }, + "payments": { + "type": "array", + "description": "[]Payment", + "items": { + "$ref": "#/components/schemas/Payment" + } + } + } + }, + "Redirect": { + "type": "object", + "required": [ + "url" + ], + "properties": { + "url": { + "type": "string" + } + } + }, + "StripeEventData": { + "type": "object", + "required": [ + "object" + ], + "properties": { + "object": { + "$ref": "#/components/schemas/StripeEventDataObject" + } + } + }, + "StripeEventDataObject": { + "type": "object", + "required": [ + "id", + "object" + ], + "properties": { + "id": { + "type": "string" + }, + "object": { + "type": "string" + } + } + }, + "Payment": { + "type": "object", + "required": [ + "id", + "projectId", + "provider", + "externalTxnID", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/PaymentStatus" + }, + "provider": { + "$ref": "#/components/schemas/PaymentProvider" + }, + "externalTxnID": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "PaymentLog": { + "type": "object", + "required": [ + "id", + "paymentID", + "data", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "paymentID": { + "type": "number" + }, + "data": { + "$ref": "#/components/schemas/PaymentLogData" + }, + "createdAt": { + "type": "string" + } + } + }, + "PaymentLogData": { + "type": "object", + "required": [ + "type", + "data" + ], + "properties": { + "type": { + "type": "string" + }, + "data": { + "type": "object" + } + } + }, + "InvoicesReturn": { + "type": "object", + "required": [ + "hasMore", + "invoices" + ], + "properties": { + "hasMore": { + "type": "boolean" + }, + "invoices": { + "type": "array", + "description": "[]Invoice", + "items": { + "$ref": "#/components/schemas/Invoice" + } + } + } + }, + "Invoice": { + "type": "object", + "required": [ + "id", + "date", + "amount", + "paid", + "url" + ], + "properties": { + "id": { + "type": "string" + }, + "date": { + "type": "string" + }, + "amount": { + "type": "string" + }, + "paid": { + "type": "boolean" + }, + "url": { + "type": "string" + } + } + }, + "SubscriptionPlans": { + "type": "object", + "required": [ + "configs" + ], + "properties": { + "configs": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/SubscriptionPlan" + } + } + } + }, + "SubscriptionPlan": { + "type": "object", + "required": [ + "tier", + "settings", + "features" + ], + "properties": { + "tier": { + "$ref": "#/components/schemas/SubscriptionTier" + }, + "settings": { + "$ref": "#/components/schemas/BillingSettings" + }, + "features": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "CollectionInfo": { + "type": "object", + "required": [ + "chainId", + "title", + "type", + "image", + "address", + "link", + "description", + "featured" + ], + "properties": { + "chainId": { + "type": "number" + }, + "title": { + "type": "string" + }, + "type": { + "type": "string" + }, + "image": { + "type": "string" + }, + "address": { + "type": "string" + }, + "link": { + "type": "string" + }, + "description": { + "type": "string" + }, + "featured": { + "type": "boolean" + } + } + }, + "ContractInfo": { + "type": "object", + "required": [ + "chainId", + "address", + "name", + "type", + "symbol", + "logoURI", + "deployed", + "bytecodeHash", + "extensions", + "contentHash", + "updatedAt" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "logoURI": { + "type": "string" + }, + "deployed": { + "type": "boolean" + }, + "bytecodeHash": { + "type": "string" + }, + "extensions": { + "type": "object" + }, + "contentHash": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ProjectInvitation": { + "type": "object", + "required": [ + "id", + "projectId", + "code", + "access", + "expiresAt", + "usageCount", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "code": { + "type": "string" + }, + "access": { + "$ref": "#/components/schemas/CollaboratorAccess" + }, + "expiresAt": { + "type": "string" + }, + "usageCount": { + "type": "number" + }, + "signupLimit": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "MarketplaceConfigSchema": { + "type": "object", + "required": [ + "version", + "config", + "style" + ], + "properties": { + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "style": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "MarketplaceConfig": { + "type": "object", + "required": [ + "id", + "projectId", + "version", + "config", + "settings", + "style" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "settings": { + "$ref": "#/components/schemas/MarketplaceSettings" + }, + "style": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "MarketplaceWalletOptions": { + "type": "object", + "required": [ + "walletType", + "oidcIssuers", + "connectors", + "includeEIP6963Wallets" + ], + "properties": { + "walletType": { + "$ref": "#/components/schemas/MarketplaceWallet" + }, + "oidcIssuers": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + }, + "connectors": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "includeEIP6963Wallets": { + "type": "boolean" + } + } + }, + "MarketplaceCollection": { + "type": "object", + "required": [ + "marketplaceType", + "chainId", + "address", + "feePercetage", + "currencyOptions" + ], + "properties": { + "marketplaceType": { + "$ref": "#/components/schemas/MarketplaceType" + }, + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "feePercetage": { + "type": "number" + }, + "currencyOptions": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "MarketplaceSettings": { + "type": "object", + "required": [ + "publisherId", + "title", + "shortDescription", + "socials", + "faviconUrl", + "landingBannerUrl", + "collections", + "walletOptions", + "landingPageLayout", + "logoUrl", + "bannerUrl" + ], + "properties": { + "publisherId": { + "type": "string" + }, + "title": { + "type": "string" + }, + "shortDescription": { + "type": "string" + }, + "socials": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + }, + "faviconUrl": { + "type": "string" + }, + "landingBannerUrl": { + "type": "string" + }, + "collections": { + "type": "array", + "description": "[]MarketplaceCollection", + "items": { + "$ref": "#/components/schemas/MarketplaceCollection" + } + }, + "walletOptions": { + "$ref": "#/components/schemas/MarketplaceWalletOptions" + }, + "landingPageLayout": { + "type": "string" + }, + "logoUrl": { + "type": "string" + }, + "bannerUrl": { + "type": "string" + }, + "fontUrl": { + "type": "string" + }, + "ogImage": { + "type": "string" + } + } + }, + "MarketplaceHostname": { + "type": "object", + "required": [ + "id", + "marketplaceConfigId", + "hostname", + "isDefaultHostname", + "isCustomDomain", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "marketplaceConfigId": { + "type": "number" + }, + "hostname": { + "type": "string" + }, + "isDefaultHostname": { + "type": "boolean" + }, + "isCustomDomain": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + } + } + }, + "OffchainInventory": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "externalProductId", + "paymentTokenAddress", + "paymentTokenType", + "paymentTokenId", + "paymentAmount", + "paymentRecipient" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "externalProductId": { + "type": "string" + }, + "paymentTokenAddress": { + "type": "string" + }, + "paymentTokenType": { + "$ref": "#/components/schemas/TokenType" + }, + "paymentTokenId": { + "type": "number" + }, + "paymentAmount": { + "type": "number" + }, + "paymentRecipient": { + "type": "string" + }, + "chainedCallAddress": { + "type": "string" + }, + "chainedCallData": { + "type": "string" + }, + "allowCrossChainPayments": { + "type": "boolean" + }, + "callbackURL": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "OffchainPayment": { + "type": "object", + "required": [ + "id", + "offchainInventoryId", + "productRecipient", + "paymentChainId", + "paymentTokenAddress", + "expiration", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "offchainInventoryId": { + "type": "number" + }, + "productRecipient": { + "type": "string" + }, + "paymentChainId": { + "type": "number" + }, + "paymentTokenAddress": { + "type": "string" + }, + "expiration": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "completedAt": { + "type": "string" + }, + "processedAt": { + "type": "string" + } + } + }, + "WalletConfigSchema": { + "type": "object", + "required": [ + "version", + "config" + ], + "properties": { + "version": { + "type": "number" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "WalletConfig": { + "type": "object", + "required": [ + "version", + "projectId", + "platform", + "config" + ], + "properties": { + "id": { + "type": "number" + }, + "version": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "platform": { + "type": "string" + }, + "config": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ProjectFile": { + "type": "object", + "required": [ + "id", + "projectId", + "scope", + "mimetype", + "filepath", + "contents", + "hash", + "url", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "scope": { + "$ref": "#/components/schemas/FileScope" + }, + "mimetype": { + "type": "string" + }, + "filepath": { + "type": "string" + }, + "contents": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "url": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "EmailTemplate": { + "type": "object", + "required": [ + "id", + "projectId", + "subject", + "introText", + "logoUrl", + "placeholders", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "templateType": { + "$ref": "#/components/schemas/EmailTemplateType" + }, + "projectId": { + "type": "number" + }, + "subject": { + "type": "string" + }, + "introText": { + "type": "string" + }, + "logoUrl": { + "type": "string" + }, + "template": { + "type": "string" + }, + "placeholders": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "TaskRunner": { + "type": "object", + "required": [ + "id", + "workGroup", + "runAt" + ], + "properties": { + "id": { + "type": "number" + }, + "workGroup": { + "type": "string" + }, + "runAt": { + "type": "string" + } + } + }, + "Task": { + "type": "object", + "required": [ + "id", + "queue", + "status", + "try", + "payload", + "hash" + ], + "properties": { + "id": { + "type": "number" + }, + "queue": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "try": { + "type": "number" + }, + "runAt": { + "type": "string" + }, + "lastRanAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "payload": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { + "type": "string" + } + } + }, + "QueryFilter": { + "type": "object", + "required": [ + "projectId" + ], + "properties": { + "projectId": { + "type": "number" + }, + "startDate": { + "type": "string" + }, + "endDate": { + "type": "string" + }, + "dateInterval": { + "$ref": "#/components/schemas/DateInterval" + }, + "collections": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "tokenId": { + "type": "string" + } + } + }, + "Chart": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "number" + }, + "label": { + "type": "string" + } + } + }, + "MultiValueChart": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "number" + } + }, + "label": { + "type": "string" + } + } + }, + "QueryResult": { + "type": "object", + "required": [ + "collection", + "source", + "volumeUSD", + "numTokens", + "numTxns" + ], + "properties": { + "collection": { + "type": "string" + }, + "source": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "volumeUSD": { + "type": "number" + }, + "numTokens": { + "type": "number" + }, + "numTxns": { + "type": "number" + } + } + }, + "CreditBonus": { + "type": "object", + "required": [ + "id", + "projectId", + "amount", + "balance", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "balance": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "OpenIdProvider": { + "type": "object", + "required": [ + "iss", + "aud" + ], + "properties": { + "iss": { + "type": "string" + }, + "aud": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "WaasSettings": { + "type": "object", + "required": [ + "recoveryAddress", + "authConfig", + "tenantState", + "emailAuth", + "oidcProviders", + "allowedOrigins", + "updateCode", + "tenantKey" + ], + "properties": { + "recoveryAddress": { + "type": "string" + }, + "authConfig": { + "$ref": "#/components/schemas/WaasAuthConfig" + }, + "tenantState": { + "$ref": "#/components/schemas/WaasTenantState" + }, + "emailAuth": { + "type": "boolean" + }, + "oidcProviders": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" + } + }, + "allowedOrigins": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "updateCode": { + "type": "string" + }, + "tenantKey": { + "type": "string" + } + } + }, + "WaasAuthEmailConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthGuestConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + } + } + }, + "WaasAuthPlayfabConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "titleId": { + "type": "string" + } + } + }, + "WaasAuthStytchConfig": { + "type": "object", + "required": [ + "enabled" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "projectId": { + "type": "string" + } + } + }, + "WaasAuthConfig": { + "type": "object", + "properties": { + "email": { + "$ref": "#/components/schemas/WaasAuthEmailConfig" + }, + "guest": { + "$ref": "#/components/schemas/WaasAuthGuestConfig" + }, + "playfab": { + "$ref": "#/components/schemas/WaasAuthPlayfabConfig" + }, + "stytch": { + "$ref": "#/components/schemas/WaasAuthStytchConfig" + } + } + }, + "WaasWalletStatus": { + "type": "object", + "required": [ + "chainId", + "address", + "deployed" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "deployed": { + "type": "boolean" + } + } + }, + "RawData": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + }, + "Audience": { + "type": "object", + "required": [ + "id", + "projectId", + "name", + "contactCount", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "contactCount": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "AudienceContact": { + "type": "object", + "required": [ + "id", + "audienceId", + "address", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "audienceId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "address": { + "type": "string" + }, + "email": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Trial": { + "type": "object", + "required": [ + "id", + "projectId", + "type", + "startAt", + "endAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "type": { + "$ref": "#/components/schemas/TrialType" + }, + "startAt": { + "type": "string" + }, + "endAt": { + "type": "string" + } + } + }, + "ExtendedMarketplaceConfig": { + "type": "object", + "required": [ + "config", + "accessKey", + "waasEmailEnabled", + "waasTenantKey", + "waasProviders" + ], + "properties": { + "config": { + "$ref": "#/components/schemas/MarketplaceSettings" + }, + "accessKey": { + "type": "string" + }, + "waasEmailEnabled": { + "type": "boolean" + }, + "waasTenantKey": { + "type": "string" + }, + "waasProviders": { + "type": "array", + "description": "[]OpenIdProvider", + "items": { + "$ref": "#/components/schemas/OpenIdProvider" + } + } + } + }, + "Builder_GetContract_Request": { + "type": "object", + "properties": { + "id": { + "type": "number" + } + } + }, + "Builder_ListContracts_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "filter": { + "$ref": "#/components/schemas/ContractFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Builder_ListContractSources_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Builder_ListAudiences_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + } + } + }, + "Builder_GetAudience_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "audienceId": { + "type": "number" + } + } + }, + "Builder_CreateAudience_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "name": { + "type": "string" + } + } + }, + "Builder_UpdateAudience_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "audienceId": { + "type": "number" + }, + "name": { + "type": "string" + } + } + }, + "Builder_DeleteAudience_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "audienceId": { + "type": "number" + } + } + }, + "Builder_AddAudienceContacts_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "audienceId": { + "type": "number" + }, + "contacts": { + "type": "array", + "description": "[]AudienceContact", + "items": { + "$ref": "#/components/schemas/AudienceContact" + } + } + } + }, + "Builder_RemoveAudienceContacts_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "audienceId": { + "type": "number" + }, + "contactIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + } + } + }, + "Builder_GetContract_Response": { + "type": "object", + "properties": { + "contract": { + "$ref": "#/components/schemas/Contract" + } + } + }, + "Builder_ListContracts_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "contracts": { + "type": "array", + "description": "[]Contract", + "items": { + "$ref": "#/components/schemas/Contract" + } + } + } + }, + "Builder_ListContractSources_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "contractSources": { + "type": "array", + "description": "[]ContractSource", + "items": { + "$ref": "#/components/schemas/ContractSource" + } + } + } + }, + "Builder_ListAudiences_Response": { + "type": "object", + "properties": { + "audiences": { + "type": "array", + "description": "[]Audience", + "items": { + "$ref": "#/components/schemas/Audience" + } + } + } + }, + "Builder_GetAudience_Response": { + "type": "object", + "properties": { + "audience": { + "$ref": "#/components/schemas/Audience" + }, + "contacts": { + "type": "array", + "description": "[]AudienceContact", + "items": { + "$ref": "#/components/schemas/AudienceContact" + } + }, + "contracts": { + "type": "array", + "description": "[]Contract", + "items": { + "$ref": "#/components/schemas/Contract" + } + } + } + }, + "Builder_CreateAudience_Response": { + "type": "object", + "properties": { + "audience": { + "$ref": "#/components/schemas/Audience" + } + } + }, + "Builder_UpdateAudience_Response": { + "type": "object", + "properties": { + "audience": { + "$ref": "#/components/schemas/Audience" + } + } + }, + "Builder_DeleteAudience_Response": { + "type": "object", + "properties": { + "ok": { + "type": "boolean" + } + } + }, + "Builder_AddAudienceContacts_Response": { + "type": "object", + "properties": { + "ok": { + "type": "boolean" + } + } + }, + "Builder_RemoveAudienceContacts_Response": { + "type": "object", + "properties": { + "ok": { + "type": "boolean" + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Builder Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Builder/GetContract": { + "post": { + "summary": "GetContract", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetContract_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetContract_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/ListContracts": { + "post": { + "summary": "ListContracts", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListContracts_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListContracts_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/ListContractSources": { + "post": { + "summary": "ListContractSources", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListContractSources_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListContractSources_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/ListAudiences": { + "post": { + "summary": "ListAudiences", + "description": "Audience", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListAudiences_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_ListAudiences_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/GetAudience": { + "post": { + "summary": "GetAudience", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetAudience_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_GetAudience_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/CreateAudience": { + "post": { + "summary": "CreateAudience", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_CreateAudience_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_CreateAudience_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/UpdateAudience": { + "post": { + "summary": "UpdateAudience", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_UpdateAudience_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_UpdateAudience_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/DeleteAudience": { + "post": { + "summary": "DeleteAudience", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DeleteAudience_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_DeleteAudience_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/AddAudienceContacts": { + "post": { + "summary": "AddAudienceContacts", + "description": "Contacts", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AddAudienceContacts_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_AddAudienceContacts_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Builder/RemoveAudienceContacts": { + "post": { + "summary": "RemoveAudienceContacts", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_RemoveAudienceContacts_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Builder_RemoveAudienceContacts_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorServiceDisabled" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorEmailTemplateExists" + }, + { + "$ref": "#/components/schemas/ErrorSubscriptionLimit" + }, + { + "$ref": "#/components/schemas/ErrorFeatureNotIncluded" + }, + { + "$ref": "#/components/schemas/ErrorInvalidNetwork" + }, + { + "$ref": "#/components/schemas/ErrorInvitationExpired" + }, + { + "$ref": "#/components/schemas/ErrorAlreadyCollaborator" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://api.sequence.app", + "description": "Builder" + } + ] +} \ No newline at end of file diff --git a/es/api-references/builder/endpoints/create-audience.mdx b/es/api-references/builder/endpoints/create-audience.mdx new file mode 100644 index 00000000..f1455d99 --- /dev/null +++ b/es/api-references/builder/endpoints/create-audience.mdx @@ -0,0 +1,4 @@ +--- +title: CreateAudience +openapi: ./builder-api.json post /rpc/Builder/CreateAudience +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/delete-audience.mdx b/es/api-references/builder/endpoints/delete-audience.mdx new file mode 100644 index 00000000..ce297576 --- /dev/null +++ b/es/api-references/builder/endpoints/delete-audience.mdx @@ -0,0 +1,4 @@ +--- +title: DeleteAudience +openapi: ./builder-api.json post /rpc/Builder/DeleteAudience +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/get-audience.mdx b/es/api-references/builder/endpoints/get-audience.mdx new file mode 100644 index 00000000..ba887a55 --- /dev/null +++ b/es/api-references/builder/endpoints/get-audience.mdx @@ -0,0 +1,4 @@ +--- +title: GetAudience +openapi: ./builder-api.json post /rpc/Builder/GetAudience +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/get-contract.mdx b/es/api-references/builder/endpoints/get-contract.mdx new file mode 100644 index 00000000..661142d1 --- /dev/null +++ b/es/api-references/builder/endpoints/get-contract.mdx @@ -0,0 +1,4 @@ +--- +title: GetContract +openapi: ./builder-api.json post /rpc/Builder/GetContract +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/list-audiences.mdx b/es/api-references/builder/endpoints/list-audiences.mdx new file mode 100644 index 00000000..73503617 --- /dev/null +++ b/es/api-references/builder/endpoints/list-audiences.mdx @@ -0,0 +1,4 @@ +--- +title: ListAudiences +openapi: ./builder-api.json post /rpc/Builder/ListAudiences +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/list-contract-sources.mdx b/es/api-references/builder/endpoints/list-contract-sources.mdx new file mode 100644 index 00000000..2184f2f5 --- /dev/null +++ b/es/api-references/builder/endpoints/list-contract-sources.mdx @@ -0,0 +1,4 @@ +--- +title: ListContractSources +openapi: ./builder-api.json post /rpc/Builder/ListContractSources +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/list-contracts.mdx b/es/api-references/builder/endpoints/list-contracts.mdx new file mode 100644 index 00000000..bb00ad45 --- /dev/null +++ b/es/api-references/builder/endpoints/list-contracts.mdx @@ -0,0 +1,4 @@ +--- +title: ListContracts +openapi: ./builder-api.json post /rpc/Builder/ListContracts +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/remove-audience-contacts.mdx b/es/api-references/builder/endpoints/remove-audience-contacts.mdx new file mode 100644 index 00000000..d4444ca5 --- /dev/null +++ b/es/api-references/builder/endpoints/remove-audience-contacts.mdx @@ -0,0 +1,4 @@ +--- +title: RemoveAudienceContacts +openapi: ./builder-api.json post /rpc/Builder/RemoveAudienceContacts +--- \ No newline at end of file diff --git a/es/api-references/builder/endpoints/update-audience.mdx b/es/api-references/builder/endpoints/update-audience.mdx new file mode 100644 index 00000000..0aa738e7 --- /dev/null +++ b/es/api-references/builder/endpoints/update-audience.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateAudience +openapi: ./builder-api.json post /rpc/Builder/UpdateAudience +--- \ No newline at end of file diff --git a/es/api-references/builder/overview.mdx b/es/api-references/builder/overview.mdx new file mode 100644 index 00000000..2584d648 --- /dev/null +++ b/es/api-references/builder/overview.mdx @@ -0,0 +1,8 @@ +--- +title: API de Sequence Builder +sidebarTitle: Resumen +--- + +La API de Sequence Builder para interactuar programáticamente con ítems en Sequence Builder. + +Consulte nuestras Referencias de API [aquí](/api-references/builder/endpoints) para comenzar. \ No newline at end of file diff --git a/es/api-references/indexer-gateway/examples/get-balance-updates.mdx b/es/api-references/indexer-gateway/examples/get-balance-updates.mdx new file mode 100644 index 00000000..68805db4 --- /dev/null +++ b/es/api-references/indexer-gateway/examples/get-balance-updates.mdx @@ -0,0 +1,124 @@ +--- +title: Obtener actualizaciones de balances de contratos específicos +description: Instrucciones para obtener balances de contratos específicos. +--- + +# API de Actualizaciones de Balances + +## `GetBalanceUpdates` + +- Solicitud: POST /rpc/IndexerGateway/GetBalanceUpdates +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `contractAddress` (string) + - `lastBlockNumber` (int - opcional) + - `lastBlockHash` (string - opcional) + +### Obtener el resumen de balances de tokens verificados en redes específicas +Ejemplo: consultar actualizaciones de balance del contrato USDT en la red Ethereum. + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetBalanceUpdates \ + -d '{ + "chainIds": [ + 1 + ], + "contractAddress": "0xdac17f958d2ee523a2206206994597c13d831ec7" + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const CONTRACT_ADDRESS = '0xdac17f958d2ee523a2206206994597c13d831ec7'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getBalanceUpdates({ + chainIds: [1], + contractAddress: CONTRACT_ADDRESS + }) + + res.balances.forEach(({ chainId, error, results }) => { + if (error) { + console.error(`Error fetching balance updates for chainId ${chainId}: ${error}`); + return; + } + console.log(`chainId: ${chainId}`); + results.forEach(({ accountAddress, balance }) => { + if (balance === '0') { + return; + } + console.log(`\taccountAddress: ${accountAddress}, balance: ${balance}`); + }); + }); + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + contractAddress := "0xdac17f958d2ee523a2206206994597c13d831ec7" + chainIDs := []uint64{1} // Ethereum Mainnet + + _, balanceUpdates, err := seqIndexerGW.GetBalanceUpdates( + authCtx, + chainIDs, + nil, // No network names + contractAddress, + 0, // No lastBlockNumber filter + nil, // No lastBlockHash filter + nil, // Default page + ) + if err != nil { + log.Fatal(err) + } + + for _, update := range balanceUpdates { + fmt.Printf("chainId: %d\n", update.ChainID) + for _, result := range update.Results { + if result.Balance.Int64() == 0 { + continue + } + fmt.Printf("\taccountAddress: %s, balance: %s\n", + result.AccountAddress, result.Balance) + } + } + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer-gateway/examples/get-native-token-balances.mdx b/es/api-references/indexer-gateway/examples/get-native-token-balances.mdx new file mode 100644 index 00000000..e0042a8f --- /dev/null +++ b/es/api-references/indexer-gateway/examples/get-native-token-balances.mdx @@ -0,0 +1,110 @@ +--- +title: Obtener balance nativo de la red en todas las cadenas +description: Instrucciones para obtener balances nativos en todas las redes Ethereum +--- + +# Balances de Tokens Nativos +En los siguientes ejemplos, usaremos el método `GetNativeTokenBalance` del Sequence Indexer Gateway. + +## `GetNativeTokenBalance` + +- Solicitud: POST /rpc/IndexerGateway/GetNativeTokenBalance +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `accountAddress` (string) -- la dirección de cuenta del wallet + +Estos ejemplos se basan en el ejemplo de [Balances nativos de red](/api-references/indexer/examples/native-network-balance) para Indexer. + +### Obtener todos los balances nativos de todas las cadenas a la vez +Ejemplo: obtener los balances nativos de una dirección de cuenta en todas las cadenas con una sola consulta + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetNativeTokenBalance \ + -d '{ + "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getNativeTokenBalance({ + accountAddress: ACCOUNT_ADDRESS + }) + + res.balances.forEach(({ chainId, error, result }) => { + if (error) { + console.error(`Error fetching balance for chainId ${chainId}: ${error}`); + return; + } + + console.log(`chainId: ${chainId} → native balance: ${result.balance}`); + }); + + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + accountAddress := "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + + nativeTokenBalances, err := seqIndexerGW.GetNativeTokenBalance( + authCtx, + nil, // No chainId filter + nil, // No network filter + &accountAddress, + ) + if err != nil { + log.Fatal(err) + } + + for _, tb := range nativeTokenBalances { + fmt.Printf( + "ChainID: %d → Balance: %s\n", + tb.ChainID, + tb.Result.Balance, + ) + } + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer-gateway/examples/get-token-balances-by-contract.mdx b/es/api-references/indexer-gateway/examples/get-token-balances-by-contract.mdx new file mode 100644 index 00000000..9a8c20d4 --- /dev/null +++ b/es/api-references/indexer-gateway/examples/get-token-balances-by-contract.mdx @@ -0,0 +1,141 @@ +--- +title: Obtener balances de tokens de contratos específicos en todas las redes. +description: Instrucciones para obtener balances de tokens de contratos específicos. +--- + +# API de Actualizaciones de Balances +En los siguientes ejemplos, usaremos la API `GetTokenBalancesByContract`. + +## `GetTokenBalancesByContract` + +- Solicitud: POST /rpc/IndexerGateway/GetTokenBalancesByContract +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `filter` (objeto) -- + - `contractAddresses` + - `accountAddresses` + - `contractStatus` + - `omitMetadata` (booleano - opcional - por defecto: false) + +### Obtener los balances de USDC +Ejemplo: obtener los balances del token USDC para una cuenta específica (`0xd8da6bf26964af9d7eed9e03e53415d37aa96045`) en varias redes +- USDC en Mainnet `0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48` +- USDC en Polygon `0x3c499c542cef5e3811e1192ce70d8cc03d5c3359` +- USDC en BSC `0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d` + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetTokenBalancesByContract \ + -d '{ + "filter": { + "accountAddresses": [ + "0xd8da6bf26964af9d7eed9e03e53415d37aa96045" + ], + "contractAddresses": [ + "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", + "0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d" + ] + } + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0xd8da6bf26964af9d7eed9e03e53415d37aa96045'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getTokenBalancesByContract({ + filter: { + accountAddresses: [ACCOUNT_ADDRESS], + contractAddresses: [ + '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', // USDC on Ethereum + '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359', // USDC on Polygon + '0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d' // USDC on BSC + ] + } + }); + + // Token Balances + res.balances.forEach(({ chainId, results }) => { + console.log(`chainId: ${chainId}`); + results.forEach(({ contractAddress, balance }) => { + console.log(`\tcontractAddress: ${contractAddress}, balance: ${balance}`); + }); + }); + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + "github.com/0xsequence/go-sequence/lib/prototyp" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + accountAddress := prototyp.HashFromString("0xd8da6bf26964af9d7eed9e03e53415d37aa96045") + contractAddresses := []prototyp.Hash{ + prototyp.HashFromString("0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"), // USDC on Ethereum + prototyp.HashFromString("0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"), // USDC on Polygon + prototyp.HashFromString("0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d"), // USDC on BSC + } + + _, balances, err := seqIndexerGW.GetTokenBalancesByContract( + authCtx, + nil, // No chainId filter + nil, // No network filter + &indexer.TokenBalancesByContractFilter{ + AccountAddresses: []prototyp.Hash{accountAddress}, + ContractAddresses: contractAddresses, + }, + nil, // Default omitMetadata + nil, // Default page + ) + if err != nil { + log.Fatal(err) + } + + // Token Balances + for _, balance := range balances { + fmt.Printf("chainId: %d\n", balance.ChainID) + for _, result := range balance.Results { + fmt.Printf("\tcontractAddress: %s, balance: %s\n", + result.ContractAddress, result.Balance) + } + } + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer-gateway/examples/get-token-balances-details.mdx b/es/api-references/indexer-gateway/examples/get-token-balances-details.mdx new file mode 100644 index 00000000..4379ff8c --- /dev/null +++ b/es/api-references/indexer-gateway/examples/get-token-balances-details.mdx @@ -0,0 +1,305 @@ +--- +title: Obtener balances en todas las redes +description: Instrucciones para obtener detalles de datos de tokens de contratos específicos a través de todas las redes. +--- + +# APIs de balances de tokens +En los siguientes ejemplos, usaremos los métodos `GetTokenBalancesSummary` y `GetTokenBalancesDetails` del Sequence Indexer Gateway. + +## `GetTokenBalancesSummary` + +- Solicitud: POST /rpc/IndexerGateway/GetTokenBalancesSummary +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `filter` (objeto - opcional) -- filtros de consulta. + - `accountAddresses` (\[]string) + - `contractStatus` (VERIFIED | UNVERIFIED | ALL) + - `contractWhitelist` (\[]string) + - `contractBlacklist` (\[]string) + - `omitNativeBalances` (bool) + - `omitMetadata` (booleano - opcional - por defecto: false) + +## `GetTokenBalancesDetails` + +- Solicitud: POST /rpc/IndexerGateway/GetTokenBalancesDetails +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `filter` (objeto - opcional) -- filtros de consulta. + - `accountAddresses` (\[]string) + - `contractStatus` (VERIFIED | UNVERIFIED | ALL) + - `contractWhitelist` (\[]string) + - `contractBlacklist` (\[]string) + - `omitNativeBalances` (bool) + - `omitMetadata` (booleano - opcional - por defecto: false) + +### Obtener el resumen de balances de tokens verificados en redes específicas +Ejemplo: obtenga el resumen de todos los balances de tokens verificados para una cuenta específica +en `mainnet` y `polygon` + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetTokenBalancesSummary \ + -d '{ + "networks": [ + "polygon", + "mainnet" + ], + "filter": { + "accountAddresses": [ + "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + ] + } + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getTokenBalancesSummary({ + networks: ["polygon", "mainnet"], + filter: { + accountAddresses: [ACCOUNT_ADDRESS] + } + }) + + res.nativeBalances.forEach(({ chainId, results }) => { + console.log(`chainId: ${chainId} (native balances)`); + results.forEach(({ balance }) => { + console.log(`\tbalance: ${balance}`); + }); + }); + + res.balances.forEach(({ chainId, results }) => { + console.log(`chainId: ${chainId} (token balances)`); + results.forEach(({ contractAddress, balance }) => { + console.log(`\tcontractAddress: ${contractAddress}, balance: ${balance}`); + }); + }); + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + "github.com/0xsequence/go-sequence/lib/prototyp" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + accountAddress := "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + + _, nativeBalances, balances, err := seqIndexerGW.GetTokenBalancesSummary( + authCtx, + nil, // No chainId filter + networks, + []string{"polygon", "mainnet"}, + &indexer.TokenBalancesFilter{ + AccountAddresses: []prototyp.Hash{ + prototyp.HashFromString(accountAddress), + }, + }, + nil, // Default omitMetadata + nil, // Default page + ) + if err != nil { + log.Fatal(err) + } + + // Native Balances + for _, nativeBalance := range nativeBalances { + fmt.Printf("chainId: %d (native balances)\n", nativeBalance.ChainId) + for _, result := range nativeBalance.Results { + fmt.Printf("\tbalance: %s\n", result.Balance) + } + } + + // Token Balances + for _, balance := range balances { + fmt.Printf("chainId: %d (token balances)\n", balance.ChainID) + for _, result := range balance.Results { + fmt.Printf("\tcontractAddress: %s, balance: %s\n", + result.ContractAddress, result.Balance) + } + } + } + ``` + + +### Obtenga detalles de balances de contratos específicos en todas las redes +Ejemplo: Obtenga los detalles de balance de los contratos USDC en Arbitrum, Polygon y +Mainnet + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetTokenBalancesDetails \ + -d '{ + "networks": [ + "arbitrum", + "polygon", + "mainnet" + ], + "filter": { + "accountAddresses": [ + "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + ], + "contractWhitelist": [ + "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", + "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", + "0xaf88d065e77c8cc2239327c5edb3a432268e5831" + ] + } + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getTokenBalancesDetails({ + networks: ['arbitrum', 'polygon', 'mainnet'], + filter: { + accountAddresses: [ACCOUNT_ADDRESS], + contractWhitelist: [ + '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48', // USDC on Ethereum + '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359', // USDC on Polygon + '0xaf88d065e77c8cc2239327c5edb3a432268e5831' // USDC on Arbitrum + ] + } + }); + + // Native Balances + res.nativeBalances.forEach(({ chainId, results }) => { + console.log(`chainId: ${chainId} (native balances)`); + results.forEach(({ balance }) => { + console.log(`\tbalance: ${balance}`); + }); + }); + + // Token Balances + res.balances.forEach(({ chainId, results }) => { + console.log(`chainId: ${chainId} (token balances)`); + results.forEach(({ contractAddress, balance }) => { + console.log(`\tcontractAddress: ${contractAddress}, balance: ${balance}`); + }); + }); + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + "github.com/0xsequence/go-sequence/lib/prototyp" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + accountAddress := "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + contractWhitelist := []prototyp.Hash{ + prototyp.HashFromString("0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"), + prototyp.HashFromString("0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"), + prototyp.HashFromString("0xaf88d065e77c8cc2239327c5edb3a432268e5831"), + } + + _, nativeBalances, balances, err := seqIndexerGW.GetTokenBalancesDetails( + authCtx, + nil, // No chainId filter + []string{"arbitrum", "polygon", "mainnet"}, + &indexer.TokenBalancesFilter{ + AccountAddresses: []prototyp.Hash{ + prototyp.HashFromString(accountAddress), + }, + ContractWhitelist: contractWhitelist, + }, + nil, // Default omitMetadata + nil, // Default page + ) + if err != nil { + log.Fatal(err) + } + + // Native Balances + for _, nativeBalance := range nativeBalances { + fmt.Printf("chainId: %d (native balances)\n", nativeBalance.ChainId) + for _, result := range nativeBalance.Results { + fmt.Printf("\tbalance: %s\n", result.Balance) + } + } + + // Token Balances + for _, balance := range balances { + fmt.Printf("chainId: %d (token balances)\n", balance.ChainID) + for _, result := range balance.Results { + fmt.Printf("\tcontractAddress: %s, balance: %s\n", + result.ContractAddress, result.Balance) + } + } + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer-gateway/examples/get-token-balances.mdx b/es/api-references/indexer-gateway/examples/get-token-balances.mdx new file mode 100644 index 00000000..776e7299 --- /dev/null +++ b/es/api-references/indexer-gateway/examples/get-token-balances.mdx @@ -0,0 +1,298 @@ +--- +title: API Sequence Indexer Gateway - Obtenga tokens ERC20, ERC721 y ERC1155 y metadatos +description: La API de Tokens permite a los usuarios obtener una lista de tokens ERC20, ERC721 y ERC1155 junto con metadatos desde cualquier wallet a través de múltiples redes de Ethereum. +--- + +# Balances de Tokens +En los siguientes ejemplos, usaremos el método `GetTokenBalances` de +Sequence Indexer Gateway: + +## `GetTokenBalances` + +- Solicitud: POST /rpc/IndexerGateway/GetTokenBalances +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainIds` (\[]int - opcional) -- devuelve resultados solo para las cadenas que coincidan con el ID dado. + - `networks` (\[]string - opcional) -- devuelve resultados solo para las cadenas que coincidan con los nombres dados. + - `accountAddress` (string) -- la dirección de cuenta del wallet + - `contractAddress`: (string -- opcional) -- la dirección del contrato del token + - `tokenID`: (string -- opcional) -- el ID del token + - `includeMetadata` (booleano - opcional - por defecto: false) -- alterna si los metadatos del token se incluyen en la respuesta + - `includeCollectionTokens` (booleano - opcional - por defecto: true) -- alterna para representar tokens ERC721 / ERC1155 como un solo ítem resumen en la respuesta + - `metadataOptions` (objeto - opcional) -- opciones adicionales para metadatos + - `verifiedOnly` (booleano - opcional) -- devuelve solo contratos 'verificados' para ayudar a reducir spam + - `unverifiedOnly` (booleano - opcional) -- devuelve solo contratos que sean 'unverified' + - `includeContracts` (\[]string - opcional) -- lista de direcciones de contrato específicas que siempre se incluirán, incluso si verifiedOnly está activado. + +Estos ejemplos están basados en el [ejemplo de Obtener Todos los Tokens +](/api-references/indexer/examples/fetch-tokens) para Indexer. + +### Obtenga balances de tokens y metadatos de una cuenta en múltiples redes de Ethereum +Ejemplo: Obtener balances de tokens, junto con metadatos, para la +cuenta `0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9` en todas las cadenas. + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetTokenBalances \ + -d '{ + "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9", + "includeMetadata": true, + "metadataOptions": { + "verifiedOnly": true + } + }' + ``` + + ```ts [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9' + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getTokenBalances({ + // chainIds: [1, 4, 137], /* limit results to specific chains */ + accountAddress: ACCOUNT_ADDRESS, + includeMetadata: true, + metadataOptions: { + verifiedOnly: true + } + }) + + res.balances.forEach(({chainId, results}) => { + if (results.length === 0) { + return + } + + console.log(`chainId: ${chainId} → ${results.length} tokens found.`); + results.forEach(token => { + console.log(`\ttoken: ${token.contractAddress} (${token.contractInfo?.symbol}): ${token.balance}`); + }); + }) + + /* + Sample output: + chainId: 1946 → 1 tokens found. + token: 0x5bcbc265a86fda3502e12cf17947445f7fd4402a (MINE): 1 + chainId: 421614 → 2 tokens found. + token: 0x1f3abc3c5e4ac0601a21183380ed426e06ec694a (MINE): 2 + "" token: 0x631980c251af5b4e71429ccc95f77155d75b89d4 (PCKX): 1 + */ + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + + includeMetadata := true + accountAddress := "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + + chainIDs := make([]uint64, 0) + + // chainIDs = []uint64{1, 100, 137} // optional filter by chainID + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, + } + + _, tokenBalances, err := seqIndexerGW.GetTokenBalances( + authCtx, + chainIDs, + nil, + &accountAddress, + nil, + nil, + &includeMetadata, + &metadataOptions, + nil, + nil, + ) + if err != nil { + log.Fatal(err) + } + + for _, tb := range tokenBalances { + if len(tb.Results) == 0 { + continue + } + fmt.Printf("ChainID: %d -> %d tokens found\n", tb.ChainID, len(tb.Results)) + for _, tokenBalance := range tb.Results { + fmt.Printf("\tToken: %q (%q): %s\n", tokenBalance.ContractAddress, tokenBalance.ContractInfo.Symbol, tokenBalance.Balance) + } + } + } + + /* + Sample output: + ChainID: 1 -> 7 tokens found + Token: "0xc770eefad204b5180df6a14ee197d99d808ee52d" ("FOX"): 58899592885266406938 + Token: "0x6b175474e89094c44da98b954eedeac495271d0f" ("DAI"): 5021334051688125324 + Token: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" ("USDC"): 221887067 + */ + ``` + + +
+ + + **CONSEJO PRO: obtener IDs de tokens ERC721/1155** + + Notará que, por defecto, `GetTokenBalances` devolverá como máximo una + instancia de token por cada contrato. Para obtener balances de tokens ERC721/1155, + debe pasar el `contractAddress` al método `GetTokenBalances`. + Esto devolverá todos los tokens que posee `accountAddress` del `contractAddress` especificado. + Consulte la sección de abajo para más información. + + +### Obtenga los IDs de token, balances y metadatos de colecciones ERC721 y ERC1155. +Ejemplo: obtenga balances de tokens para una cuenta y contrato de token específicos en la +red Polygon + + + ```shell [Curl] + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" \ + https://indexer.sequence.app/rpc/IndexerGateway/GetTokenBalances \ + -d '{ + "chainIds": [137], + "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9", + "contractAddress": "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", + "includeMetadata": true, + "metadataOptions": { + "verifiedOnly": true + } + }' + + ``` + + ```typescript [Typescript] + import { SequenceIndexerGateway } from '@0xsequence/indexer' + + const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + const ACCOUNT_ADDRESS = '0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9'; + const CONTRACT_ADDRESS = '0x631998e91476DA5B870D741192fc5Cbc55F5a52E'; + + const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN + ) + + const res = await indexerGateway.getTokenBalances({ + chainIds: [137], + accountAddress: ACCOUNT_ADDRESS, + contractAddress: CONTRACT_ADDRESS, + includeMetadata: true, + metadataOptions: { + verifiedOnly: true + } + }) + + res.balances.forEach(({ chainId, results }) => { + if (results.length === 0) { + return + } + + console.log(`chainId: ${chainId} → ${results.length} tokens found.`); + results.forEach(token => { + console.log(`\ttoken: ${token.contractAddress} (${token.contractInfo?.symbol}): ${token.balance}`); + }); + }); + + ``` + + ```go [Go] + package main + + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + + func main() { + ctx := context.TODO() + + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + includeMetadata := true + accountAddress := "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" + contractAddress := "0x631998e91476DA5B870D741192fc5Cbc55F5a52E" + chainIDs := []uint64{137} + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, + } + + _, tokenBalances, err := seqIndexerGW.GetTokenBalances( + authCtx, + chainIDs, + nil, + &accountAddress, + &contractAddress, + nil, + &includeMetadata, + &metadataOptions, + nil, + nil, + ) + if err != nil { + log.Fatal(err) + } + + for _, tb := range tokenBalances { + if len(tb.Results) == 0 { + continue + } + fmt.Printf("ChainID: %d -> %d tokens found\n", tb.ChainID, len(tb.Results)) + for _, tokenBalance := range tb.Results { + fmt.Printf("\tToken: %q (%q): %s\n", tokenBalance.ContractAddress, tokenBalance.ContractInfo.Symbol, tokenBalance.Balance) + } + } + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer-gateway/installation.mdx b/es/api-references/indexer-gateway/installation.mdx new file mode 100644 index 00000000..04d2ff2b --- /dev/null +++ b/es/api-references/indexer-gateway/installation.mdx @@ -0,0 +1,60 @@ +--- +title: Instalación de la API Sequence Indexer Gateway +description: Aprenda cómo instalar la API Sequence Indexer Gateway para consultar datos de tokens y NFT de blockchain en todas las redes. Obtenga su clave de acceso API desde Sequence Builder. La integración es sencilla con endpoints HTTP RPC para aplicaciones web, juegos y backends. +--- + +## Instalación +Para instalar Indexer Gateway, siga las instrucciones para [instalar Indexer](/api-references/indexer/installation). + +### Uso de Indexer Gateway en sus proyectos +Vea los siguientes fragmentos para aprender cómo importar Indexer Gateway en su +proyecto. + +#### Typescript +Configure la API Sequence Indexer Gateway en Typescript usando la +librería `@0xsequence/indexer`. + +```ts [Typescript] +import { SequenceIndexerGateway } from '@0xsequence/indexer' + +const INDEXER_TOKEN = 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY'; + +const indexerGateway = new SequenceIndexerGateway( + 'https://indexer.sequence.app', + INDEXER_TOKEN +) +``` + +#### Go +Configure la API Sequence Indexer Gateway en Go, y envíe una solicitud ping para verificar si +el servicio está disponible. + +```go [Go] +package main + +import ( + "context" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" +) + +const indexerToken = "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" + +func main() { + seqIndexerGW := indexer.NewIndexerGatewayClient( + "https://indexer.sequence.app", + http.DefaultClient, + ) + + authCtx, err := indexer.WithHTTPRequestHeaders(ctx, http.Header{ + "X-Access-Key": []string{indexerToken}, + }) + if err != nil { + log.Fatal(err) + } + + ok, err := seqIndexerGW.Ping() + // ... +} +``` \ No newline at end of file diff --git a/es/api-references/indexer-gateway/overview.mdx b/es/api-references/indexer-gateway/overview.mdx new file mode 100644 index 00000000..bd9df241 --- /dev/null +++ b/es/api-references/indexer-gateway/overview.mdx @@ -0,0 +1,31 @@ +--- +title: Sequence Indexer Gateway +description: El Indexer Gateway le brinda herramientas para consultar y filtrar datos a través de múltiples redes de Ethereum de manera sencilla. +--- + +# Indexer Gateway +La API Sequence Indexer Gateway es una herramienta poderosa para realizar consultas simultáneas en múltiples cadenas. Aprovechando Indexer, el Indexer Gateway le permite encontrar y filtrar datos en las cadenas de Ethereum que soportamos. + +La API no solo está modelada según Indexer, sino que realmente utiliza Indexer internamente, así que puedes tomar tu código que ya funciona con Indexer y hacerlo multi-cadena con solo unas pocas modificaciones. + +## Supported Networks & Endpoints +Los endpoints de Indexer Gateway aceptan una lista de IDs de red (por ejemplo: `[1, 137, 10]`) o una lista de nombres de red (por ejemplo: `["mainnet", "polygon", "optimism"]`). + +Puedes ver la [lista completa de redes soportadas +aquí](https://status.sequence.info). + +## Primeros pasos +Aquí hay algunos ejemplos de consultas que puedes hacer a múltiples redes desde tu +dapp, juego o wallet: +- [Obtén tokens y NFT en cualquier wallet a través de todas las cadenas, incluyendo + metadatos](/api-references/indexer-gateway/examples/get-token-balances) + +- [Obtén balances nativos en todas las + cadenas](/api-references/indexer-gateway/examples/get-native-token-balances) + +- [Obtén actualizaciones de balances en todas las + cadenas](/api-references/indexer-gateway/examples/get-balance-updates) + +- [Obtén tokens con filtros avanzados](/api-references/indexer-gateway/examples/get-token-balances-details) + +- [Obtenga tokens, por contrato, con filtros avanzados](/api-references/indexer-gateway/examples/get-token-balances-by-contract) \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/default/get-webhook-listener.mdx b/es/api-references/indexer/endpoints/default/get-webhook-listener.mdx new file mode 100644 index 00000000..c5e2628c --- /dev/null +++ b/es/api-references/indexer/endpoints/default/get-webhook-listener.mdx @@ -0,0 +1,4 @@ +--- +title: GetWebhookListener +openapi: ../indexer.json post /rpc/Indexer/GetWebhookListener +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/default/sync-balance.mdx b/es/api-references/indexer/endpoints/default/sync-balance.mdx new file mode 100644 index 00000000..023ef2fd --- /dev/null +++ b/es/api-references/indexer/endpoints/default/sync-balance.mdx @@ -0,0 +1,4 @@ +--- +title: SyncBalance +openapi: ../indexer.json post /rpc/Indexer/SyncBalance +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/indexer.json b/es/api-references/indexer/endpoints/indexer.json new file mode 100644 index 00000000..efe89554 --- /dev/null +++ b/es/api-references/indexer/endpoints/indexer.json @@ -0,0 +1,6843 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorRequestConflict": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequestConflict" + }, + "code": { + "type": "number", + "example": 1004 + }, + "msg": { + "type": "string", + "example": "Conflict with target resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorAborted": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Aborted" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Request aborted" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUnavailable": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unavailable" + }, + "code": { + "type": "number", + "example": 2002 + }, + "msg": { + "type": "string", + "example": "Unavailable resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorQueryFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "QueryFailed" + }, + "code": { + "type": "number", + "example": 2003 + }, + "msg": { + "type": "string", + "example": "Query failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorResourceExhausted": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ResourceExhausted" + }, + "code": { + "type": "number", + "example": 2004 + }, + "msg": { + "type": "string", + "example": "Resource exhausted" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorMetadataCallFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MetadataCallFailed" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Metadata service call failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ContractInfo": { + "type": "object", + "required": [ + "chainId", + "address", + "name", + "type", + "symbol", + "logoURI", + "deployed", + "bytecodeHash", + "extensions", + "contentHash", + "updatedAt" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "logoURI": { + "type": "string" + }, + "deployed": { + "type": "boolean" + }, + "bytecodeHash": { + "type": "string" + }, + "extensions": { + "$ref": "#/components/schemas/ContractInfoExtensions" + }, + "contentHash": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractInfoExtensions": { + "type": "object", + "required": [ + "link", + "description", + "ogImage", + "originChainId", + "originAddress", + "blacklist", + "verified", + "verifiedBy", + "featured" + ], + "properties": { + "link": { + "type": "string" + }, + "description": { + "type": "string" + }, + "ogImage": { + "type": "string" + }, + "originChainId": { + "type": "number" + }, + "originAddress": { + "type": "string" + }, + "blacklist": { + "type": "boolean" + }, + "verified": { + "type": "boolean" + }, + "verifiedBy": { + "type": "string" + }, + "featured": { + "type": "boolean" + } + } + }, + "TokenMetadata": { + "type": "object", + "required": [ + "tokenId", + "name", + "attributes" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "video": { + "type": "string" + }, + "audio": { + "type": "string" + }, + "properties": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "attributes": { + "type": "array", + "description": "[]map", + "items": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + }, + "imageData": { + "type": "string" + }, + "externalUrl": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } + }, + "Asset": { + "type": "object", + "required": [ + "id", + "collectionId", + "metadataField" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "metadataField": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "filesize": { + "type": "number" + }, + "mimeType": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ContractType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNKNOWN", + "NATIVE", + "ERC20", + "ERC721", + "ERC1155", + "SEQUENCE_WALLET", + "ERC20_BRIDGE", + "ERC721_BRIDGE", + "ERC1155_BRIDGE", + "SEQ_MARKETPLACE" + ] + }, + "EventLogType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNKNOWN", + "BLOCK_ADDED", + "BLOCK_REMOVED" + ] + }, + "EventLogDataType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "EVENT", + "TOKEN_TRANSFER", + "NATIVE_TOKEN_TRANSFER", + "SEQUENCE_TXN" + ] + }, + "OrderStatus": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "OPEN", + "CLOSED", + "CANCELLED" + ] + }, + "TxnTransferType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "UNKNOWN", + "SEND", + "RECEIVE" + ] + }, + "TransactionStatus": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "FAILED", + "SUCCESSFUL" + ] + }, + "TransactionType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "LegacyTxnType", + "AccessListTxnType", + "DynamicFeeTxnType" + ] + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "ContractVerificationStatus": { + "type": "string", + "description": "Represented as string on the server side", + "enum": [ + "VERIFIED", + "UNVERIFIED", + "ALL" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "indexerEnabled", + "startTime", + "uptime", + "ver", + "branch", + "commitHash", + "chainID", + "checks" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "indexerEnabled": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "chainID": { + "type": "number" + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + } + } + }, + "WALWriterRuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "ver", + "branch", + "commitHash", + "chainID", + "percentWALWritten" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "chainID": { + "type": "number" + }, + "percentWALWritten": { + "type": "number" + } + } + }, + "RuntimeChecks": { + "type": "object", + "required": [ + "running", + "runnables", + "cgoEnabled", + "quotaControlEnabled", + "syncMode", + "percentIndexed", + "lastBlockNum", + "lastBlockNumWithState", + "bloomStatus", + "bond", + "diskUsage" + ], + "properties": { + "running": { + "type": "boolean" + }, + "runnables": { + "type": "object" + }, + "cgoEnabled": { + "type": "boolean" + }, + "quotaControlEnabled": { + "type": "boolean" + }, + "syncMode": { + "type": "string" + }, + "percentIndexed": { + "type": "number" + }, + "lastBlockNum": { + "type": "number" + }, + "lastBlockNumWithState": { + "type": "number" + }, + "bloomStatus": { + "$ref": "#/components/schemas/BloomStatus" + }, + "bond": { + "$ref": "#/components/schemas/Bond" + }, + "diskUsage": { + "$ref": "#/components/schemas/DiskUsage" + } + } + }, + "DiskUsage": { + "type": "object", + "required": [ + "humanReadable", + "used", + "size", + "percent", + "dirs" + ], + "properties": { + "humanReadable": { + "type": "string" + }, + "used": { + "type": "number" + }, + "size": { + "type": "number" + }, + "percent": { + "type": "number" + }, + "dirs": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "string" + } + } + } + }, + "Bond": { + "type": "object", + "required": [ + "pebble", + "estimatedDiskUsagePerTable", + "estimatedDiskUsageTotal" + ], + "properties": { + "pebble": { + "$ref": "#/components/schemas/PebbleMetrics" + }, + "estimatedDiskUsagePerTable": { + "type": "object" + }, + "estimatedDiskUsageTotal": { + "type": "string" + } + } + }, + "PebbleMetrics": { + "type": "object", + "required": [ + "compactionCount", + "compactionEstimatedDebt", + "compactionInProgressBytes", + "compactionNumInProgress", + "compactionMarkedFiles" + ], + "properties": { + "compactionCount": { + "type": "number" + }, + "compactionEstimatedDebt": { + "type": "number" + }, + "compactionInProgressBytes": { + "type": "number" + }, + "compactionNumInProgress": { + "type": "number" + }, + "compactionMarkedFiles": { + "type": "number" + } + } + }, + "BloomStatus": { + "type": "object", + "required": [ + "enabled", + "initialized", + "bloomInitElapsedTime" + ], + "properties": { + "enabled": { + "type": "boolean" + }, + "initialized": { + "type": "boolean" + }, + "bloomInitElapsedTime": { + "type": "string" + } + } + }, + "EtherBalance": { + "type": "object", + "required": [ + "accountAddress", + "balanceWei" + ], + "properties": { + "accountAddress": { + "type": "string" + }, + "balanceWei": { + "type": "string" + } + } + }, + "NativeTokenBalance": { + "type": "object", + "required": [ + "accountAddress", + "balance" + ], + "properties": { + "accountAddress": { + "type": "string" + }, + "balance": { + "type": "string" + } + } + }, + "IndexState": { + "type": "object", + "required": [ + "chainId", + "lastBlockNum", + "lastBlockHash" + ], + "properties": { + "chainId": { + "type": "string" + }, + "lastBlockNum": { + "type": "number" + }, + "lastBlockHash": { + "type": "string" + } + } + }, + "IndexedBlock": { + "type": "object", + "required": [ + "blockNumber", + "blockShortHash" + ], + "properties": { + "blockNumber": { + "type": "number" + }, + "blockShortHash": { + "type": "string" + } + } + }, + "TxnInfo": { + "type": "object", + "required": [ + "from", + "to", + "value" + ], + "properties": { + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "value": { + "type": "string" + } + } + }, + "EventLog": { + "type": "object", + "required": [ + "id", + "uid", + "type", + "blockNumber", + "blockHash", + "parentBlockHash", + "contractAddress", + "contractType", + "txnHash", + "txnIndex", + "txnLogIndex", + "logDataType", + "ts" + ], + "properties": { + "id": { + "type": "number" + }, + "uid": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/EventLogType" + }, + "blockNumber": { + "type": "number" + }, + "blockHash": { + "type": "string" + }, + "parentBlockHash": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "txnHash": { + "type": "string" + }, + "txnIndex": { + "type": "number" + }, + "txnLogIndex": { + "type": "number" + }, + "logDataType": { + "$ref": "#/components/schemas/EventLogDataType" + }, + "ts": { + "type": "string" + }, + "txnInfo": { + "$ref": "#/components/schemas/TxnInfo" + }, + "rawLog": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "event": { + "$ref": "#/components/schemas/EventDecoded" + } + } + }, + "EventDecoded": { + "type": "object", + "required": [ + "topicHash", + "eventSig", + "types", + "names", + "values" + ], + "properties": { + "topicHash": { + "type": "string" + }, + "eventSig": { + "type": "string" + }, + "types": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "names": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "values": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "TokenBalance": { + "type": "object", + "required": [ + "contractType", + "contractAddress", + "accountAddress", + "balance", + "blockHash", + "blockNumber", + "chainId", + "uniqueCollectibles", + "isSummary" + ], + "properties": { + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "contractAddress": { + "type": "string" + }, + "accountAddress": { + "type": "string" + }, + "tokenID": { + "type": "string" + }, + "balance": { + "type": "string" + }, + "blockHash": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "uniqueCollectibles": { + "type": "string" + }, + "isSummary": { + "type": "boolean" + }, + "contractInfo": { + "$ref": "#/components/schemas/ContractInfo" + }, + "tokenMetadata": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + }, + "OrderbookOrder": { + "type": "object", + "required": [ + "orderId", + "tokenContract", + "tokenId", + "isListing", + "quantity", + "quantityRemaining", + "currencyAddress", + "pricePerToken", + "expiry", + "orderStatus", + "createdBy", + "blockNumber", + "orderbookContractAddress", + "createdAt" + ], + "properties": { + "orderId": { + "type": "string" + }, + "tokenContract": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "isListing": { + "type": "boolean" + }, + "quantity": { + "type": "string" + }, + "quantityRemaining": { + "type": "string" + }, + "currencyAddress": { + "type": "string" + }, + "pricePerToken": { + "type": "string" + }, + "expiry": { + "type": "string" + }, + "orderStatus": { + "$ref": "#/components/schemas/OrderStatus" + }, + "createdBy": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "orderbookContractAddress": { + "type": "string" + }, + "createdAt": { + "type": "number" + } + } + }, + "OrderbookOrderFilter": { + "type": "object", + "required": [ + "tokenIds", + "afterBlockNumber", + "afterCreatedAt", + "beforeExpiry" + ], + "properties": { + "isListing": { + "type": "boolean" + }, + "userAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "tokenIds": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "excludeUserAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "afterBlockNumber": { + "type": "number" + }, + "afterCreatedAt": { + "type": "number" + }, + "beforeExpiry": { + "type": "number" + }, + "userAddress": { + "type": "string" + }, + "excludeUserAddress": { + "type": "string" + } + } + }, + "TokenHistory": { + "type": "object", + "required": [ + "blockNumber", + "blockHash", + "accountAddress", + "contractAddress", + "contractType", + "fromAddress", + "toAddress", + "txnHash", + "txnIndex", + "txnLogIndex", + "logData", + "tokenIDs", + "Amounts", + "ts" + ], + "properties": { + "blockNumber": { + "type": "number" + }, + "blockHash": { + "type": "string" + }, + "accountAddress": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "fromAddress": { + "type": "string" + }, + "toAddress": { + "type": "string" + }, + "txnHash": { + "type": "string" + }, + "txnIndex": { + "type": "number" + }, + "txnLogIndex": { + "type": "number" + }, + "logData": { + "type": "string" + }, + "tokenIDs": { + "type": "string" + }, + "Amounts": { + "type": "string" + }, + "ts": { + "type": "string" + } + } + }, + "TokenSupply": { + "type": "object", + "required": [ + "tokenID", + "supply", + "chainId" + ], + "properties": { + "tokenID": { + "type": "string" + }, + "supply": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "contractInfo": { + "$ref": "#/components/schemas/ContractInfo" + }, + "tokenMetadata": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + }, + "Transaction": { + "type": "object", + "required": [ + "txnHash", + "blockNumber", + "blockHash", + "chainId", + "timestamp" + ], + "properties": { + "txnHash": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "blockHash": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "metaTxnID": { + "type": "string" + }, + "transfers": { + "type": "array", + "description": "[]TxnTransfer", + "items": { + "$ref": "#/components/schemas/TxnTransfer" + } + }, + "timestamp": { + "type": "string" + } + } + }, + "TxnTransfer": { + "type": "object", + "required": [ + "transferType", + "contractAddress", + "contractType", + "from", + "to", + "amounts", + "logIndex" + ], + "properties": { + "transferType": { + "$ref": "#/components/schemas/TxnTransferType" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "tokenIds": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "amounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "logIndex": { + "type": "number" + }, + "contractInfo": { + "$ref": "#/components/schemas/ContractInfo" + }, + "tokenMetadata": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + } + }, + "TransactionHistoryFilter": { + "type": "object", + "properties": { + "accountAddress": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "accountAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "contractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "transactionHashes": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "metaTransactionIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "fromBlock": { + "type": "number" + }, + "toBlock": { + "type": "number" + }, + "tokenID": { + "type": "string" + } + } + }, + "TransactionFilter": { + "type": "object", + "properties": { + "txnHash": { + "type": "string" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "event": { + "type": "string" + } + } + }, + "TransactionReceipt": { + "type": "object", + "required": [ + "txnHash", + "txnStatus", + "txnIndex", + "txnType", + "blockHash", + "blockNumber", + "gasUsed", + "effectiveGasPrice", + "from", + "to", + "logs", + "final", + "reorged" + ], + "properties": { + "txnHash": { + "type": "string" + }, + "txnStatus": { + "$ref": "#/components/schemas/TransactionStatus" + }, + "txnIndex": { + "type": "number" + }, + "txnType": { + "$ref": "#/components/schemas/TransactionType" + }, + "blockHash": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "gasUsed": { + "type": "number" + }, + "effectiveGasPrice": { + "type": "string" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "logs": { + "type": "array", + "description": "[]TransactionLog", + "items": { + "$ref": "#/components/schemas/TransactionLog" + } + }, + "final": { + "type": "boolean" + }, + "reorged": { + "type": "boolean" + } + } + }, + "TransactionLog": { + "type": "object", + "required": [ + "contractAddress", + "topics", + "data", + "index" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "topics": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "data": { + "type": "string" + }, + "index": { + "type": "number" + } + } + }, + "Page": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "column": { + "type": "string" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + }, + "pageSize": { + "type": "number" + }, + "more": { + "type": "boolean" + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column", + "order" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "WebhookListener": { + "type": "object", + "required": [ + "id", + "projectID", + "url", + "filters", + "name", + "updatedAt", + "active" + ], + "properties": { + "id": { + "type": "number" + }, + "projectID": { + "type": "number" + }, + "url": { + "type": "string" + }, + "filters": { + "$ref": "#/components/schemas/EventFilter" + }, + "name": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "active": { + "type": "boolean" + } + } + }, + "EventFilter": { + "type": "object", + "properties": { + "events": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "contractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "accounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "TokenBalanceFilter": { + "type": "object", + "required": [ + "contractAddress", + "sinceBlockNumber" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "sinceBlockNumber": { + "type": "number" + } + } + }, + "MetadataOptions": { + "type": "object", + "properties": { + "verifiedOnly": { + "type": "boolean" + }, + "unverifiedOnly": { + "type": "boolean" + }, + "includeContracts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "TokenBalancesFilter": { + "type": "object", + "required": [ + "accountAddresses", + "contractStatus", + "contractWhitelist", + "contractBlacklist" + ], + "properties": { + "accountAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "contractStatus": { + "$ref": "#/components/schemas/ContractVerificationStatus" + }, + "contractWhitelist": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "contractBlacklist": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "TokenBalancesByContractFilter": { + "type": "object", + "required": [ + "contractAddresses", + "accountAddresses", + "contractStatus" + ], + "properties": { + "contractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "accountAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "contractStatus": { + "$ref": "#/components/schemas/ContractVerificationStatus" + } + } + }, + "Indexer_GetEtherBalance_Request": { + "type": "object", + "properties": { + "accountAddress": { + "type": "string" + } + } + }, + "Indexer_GetNativeTokenBalance_Request": { + "type": "object", + "properties": { + "accountAddress": { + "type": "string" + } + } + }, + "Indexer_GetTokenBalancesSummary_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TokenBalancesFilter" + }, + "omitMetadata": { + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTokenBalancesDetails_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TokenBalancesFilter" + }, + "omitMetadata": { + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTokenBalancesByContract_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TokenBalancesByContractFilter" + }, + "omitMetadata": { + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTokenBalances_Request": { + "type": "object", + "properties": { + "accountAddress": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenID": { + "type": "string" + }, + "includeMetadata": { + "type": "boolean" + }, + "metadataOptions": { + "$ref": "#/components/schemas/MetadataOptions" + }, + "includeCollectionTokens": { + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTokenSupplies_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "includeMetadata": { + "type": "boolean" + }, + "metadataOptions": { + "$ref": "#/components/schemas/MetadataOptions" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTokenSuppliesMap_Request": { + "type": "object", + "properties": { + "tokenMap": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + }, + "includeMetadata": { + "type": "boolean" + }, + "metadataOptions": { + "$ref": "#/components/schemas/MetadataOptions" + } + } + }, + "Indexer_GetBalanceUpdates_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "lastBlockNumber": { + "type": "number" + }, + "lastBlockHash": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Indexer_GetTransactionHistory_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TransactionHistoryFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + }, + "includeMetadata": { + "type": "boolean" + }, + "metadataOptions": { + "$ref": "#/components/schemas/MetadataOptions" + } + } + }, + "Indexer_SyncBalance_Request": { + "type": "object", + "properties": { + "accountAddress": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenID": { + "type": "string" + } + } + }, + "Indexer_FetchTransactionReceipt_Request": { + "type": "object", + "properties": { + "txnHash": { + "type": "string" + }, + "maxBlockWait": { + "type": "number" + } + } + }, + "Indexer_GetOrderbookOrders_Request": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "orderbookContractAddress": { + "type": "string" + }, + "collectionAddress": { + "type": "string" + }, + "currencyAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "filter": { + "$ref": "#/components/schemas/OrderbookOrderFilter" + }, + "orderStatuses": { + "type": "array", + "description": "[]OrderStatus", + "items": { + "$ref": "#/components/schemas/OrderStatus" + } + }, + "filters": { + "type": "array", + "description": "[]OrderbookOrderFilter", + "items": { + "$ref": "#/components/schemas/OrderbookOrderFilter" + } + }, + "beforeExpiryTimestamp": { + "type": "number" + }, + "blockNumberAfter": { + "type": "number" + }, + "createdAtAfter": { + "type": "number" + } + } + }, + "Indexer_GetTopOrders_Request": { + "type": "object", + "properties": { + "orderbookContractAddress": { + "type": "string" + }, + "collectionAddress": { + "type": "string" + }, + "currencyAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "isListing": { + "type": "boolean" + }, + "priceSort": { + "$ref": "#/components/schemas/SortOrder" + }, + "excludeUser": { + "type": "string" + } + } + }, + "Indexer_FetchTransactionReceiptWithFilter_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TransactionFilter" + }, + "maxBlockWait": { + "type": "number" + } + } + }, + "Indexer_GetAllWebhookListeners_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + } + } + }, + "Indexer_GetWebhookListener_Request": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + } + } + }, + "Indexer_AddWebhookListener_Request": { + "type": "object", + "properties": { + "url": { + "type": "string" + }, + "filters": { + "$ref": "#/components/schemas/EventFilter" + }, + "projectId": { + "type": "number" + } + } + }, + "Indexer_UpdateWebhookListener_Request": { + "type": "object", + "properties": { + "listener": { + "$ref": "#/components/schemas/WebhookListener" + }, + "projectId": { + "type": "number" + } + } + }, + "Indexer_RemoveWebhookListener_Request": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + } + } + }, + "Indexer_ToggleWebhookListener_Request": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + } + } + }, + "Indexer_PauseAllWebhookListeners_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + } + } + }, + "Indexer_ResumeAllWebhookListeners_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + } + } + }, + "Indexer_SubscribeReceipts_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/TransactionFilter" + } + } + }, + "Indexer_SubscribeEvents_Request": { + "type": "object", + "properties": { + "filter": { + "$ref": "#/components/schemas/EventFilter" + } + } + }, + "Indexer_SubscribeBalanceUpdates_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + } + } + }, + "Indexer_GetEtherBalance_Response": { + "type": "object", + "properties": { + "balance": { + "$ref": "#/components/schemas/EtherBalance" + } + } + }, + "Indexer_GetNativeTokenBalance_Response": { + "type": "object", + "properties": { + "balance": { + "$ref": "#/components/schemas/NativeTokenBalance" + } + } + }, + "Indexer_GetTokenBalancesSummary_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "balances": { + "type": "array", + "description": "[]TokenBalance", + "items": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "Indexer_GetTokenBalancesDetails_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "balances": { + "type": "array", + "description": "[]TokenBalance", + "items": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "Indexer_GetTokenBalancesByContract_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "balances": { + "type": "array", + "description": "[]TokenBalance", + "items": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "Indexer_GetTokenBalances_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "balances": { + "type": "array", + "description": "[]TokenBalance", + "items": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "Indexer_GetTokenSupplies_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "tokenIDs": { + "type": "array", + "description": "[]TokenSupply", + "items": { + "$ref": "#/components/schemas/TokenSupply" + } + } + } + }, + "Indexer_GetTokenSuppliesMap_Response": { + "type": "object", + "properties": { + "supplies": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]TokenSupply", + "items": { + "$ref": "#/components/schemas/TokenSupply" + } + } + } + } + }, + "Indexer_GetBalanceUpdates_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "balances": { + "type": "array", + "description": "[]TokenBalance", + "items": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "Indexer_GetTransactionHistory_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "transactions": { + "type": "array", + "description": "[]Transaction", + "items": { + "$ref": "#/components/schemas/Transaction" + } + } + } + }, + "Indexer_SyncBalance_Response": { + "type": "object" + }, + "Indexer_FetchTransactionReceipt_Response": { + "type": "object", + "properties": { + "receipt": { + "$ref": "#/components/schemas/TransactionReceipt" + } + } + }, + "Indexer_GetOrderbookOrders_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "orders": { + "type": "array", + "description": "[]OrderbookOrder", + "items": { + "$ref": "#/components/schemas/OrderbookOrder" + } + } + } + }, + "Indexer_GetTopOrders_Response": { + "type": "object", + "properties": { + "orders": { + "type": "array", + "description": "[]OrderbookOrder", + "items": { + "$ref": "#/components/schemas/OrderbookOrder" + } + } + } + }, + "Indexer_FetchTransactionReceiptWithFilter_Response": { + "type": "object", + "properties": { + "receipt": { + "$ref": "#/components/schemas/TransactionReceipt" + } + } + }, + "Indexer_GetAllWebhookListeners_Response": { + "type": "object", + "properties": { + "listeners": { + "type": "array", + "description": "[]WebhookListener", + "items": { + "$ref": "#/components/schemas/WebhookListener" + } + } + } + }, + "Indexer_GetWebhookListener_Response": { + "type": "object", + "properties": { + "listener": { + "$ref": "#/components/schemas/WebhookListener" + } + } + }, + "Indexer_AddWebhookListener_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + }, + "listener": { + "$ref": "#/components/schemas/WebhookListener" + } + } + }, + "Indexer_UpdateWebhookListener_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Indexer_RemoveWebhookListener_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Indexer_ToggleWebhookListener_Response": { + "type": "object", + "properties": { + "webhookListener": { + "$ref": "#/components/schemas/WebhookListener" + } + } + }, + "Indexer_PauseAllWebhookListeners_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Indexer_ResumeAllWebhookListeners_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Indexer_SubscribeReceipts_Response": { + "type": "object", + "properties": { + "receipt": { + "$ref": "#/components/schemas/TransactionReceipt" + } + } + }, + "Indexer_SubscribeEvents_Response": { + "type": "object", + "properties": { + "log": { + "$ref": "#/components/schemas/EventLog" + } + } + }, + "Indexer_SubscribeBalanceUpdates_Response": { + "type": "object", + "properties": { + "balance": { + "$ref": "#/components/schemas/TokenBalance" + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key", + "x-example": "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Sequence Indexer", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Indexer/GetEtherBalance": { + "post": { + "summary": "GetEtherBalance", + "deprecated": true, + "description": "Queries an ethereum node for the latest and confirm ETH balances DEPRECATED: use GetNativeTokenBalance instead", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetEtherBalance_Request" + }, + "example": { + "accountAddress": "0x8e3e38fe7367dd3b52d1e281e4e8400447c8d8b9" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetEtherBalance_Response" + }, + "example": { + "balance": { + "accountAddress": "0x8e3e38fe7367dd3b52d1e281e4e8400447c8d8b9", + "balanceWei": "9429929734634710350" + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ], + "BearerAuth": [] + } + ] + } + }, + "/rpc/Indexer/GetNativeTokenBalance": { + "post": { + "summary": "GetNativeTokenBalance", + "description": "GetNativeTokenBalance queries an ethereum node for the latest native token account balance. The native token is the token of the chain the indexer is connected to, for example, ETH on Ethereum and POL on Polygon.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetNativeTokenBalance_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetNativeTokenBalance_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenBalancesSummary": { + "post": { + "summary": "GetTokenBalancesSummary", + "description": "On Sepolia Mainnet, get the token balance summaries for an account address", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesSummary_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesSummary_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenBalancesDetails": { + "post": { + "summary": "GetTokenBalancesDetails", + "description": "On Sepolia Mainnet, get the token balance details for tokens owned by an account address", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesDetails_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesDetails_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenBalancesByContract": { + "post": { + "summary": "GetTokenBalancesByContract", + "description": "On Sepolia Mainnet, get the token balances by a specific contract address", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesByContract_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalancesByContract_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenBalances": { + "post": { + "summary": "GetTokenBalances", + "description": "Get the token balances for the included account address and contract address. Example on Ethereum Sepolia", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalances_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenBalances_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenSupplies": { + "post": { + "summary": "GetTokenSupplies", + "description": "GetTokenSupplies returns the set of tokenIDs used by a contract address, supporting ERC-20, ERC-721, and ERC-1155 contracts, and their respective supply as well.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenSupplies_Request" + }, + "example": { + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenSupplies_Response" + }, + "example": { + "page": { + "pageSize": 200, + "more": false + }, + "contractType": "ERC1155", + "tokenIDs": [ + { + "tokenID": 0, + "supply": "9", + "chainId": 1 + } + ] + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTokenSuppliesMap": { + "post": { + "summary": "GetTokenSuppliesMap", + "description": "On Sepolia Mainnet, get the token supplies of the minted tokens for a contract address and token ID mapping", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenSuppliesMap_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTokenSuppliesMap_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetBalanceUpdates": { + "post": { + "summary": "GetBalanceUpdates", + "description": "Get balance update aggregate values -- useful for syncing balance details of a contract, ie. from Skyweaver", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetBalanceUpdates_Request" + }, + "example": { + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "lastBlockNumber": 0 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetBalanceUpdates_Response" + }, + "example": { + "page": { + "pageSize": 200, + "more": false + }, + "balances": [ + { + "contractType": "ERC1155", + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "accountAddress": "0xc48835421ce2651bc5f78ee59d1e10244753c7fc", + "tokenID": 0, + "balance": "8", + "blockHash": "0x4db688b03de5804dd6e916ebafbc687aa3196c99288fbc63698e92c855400ff3", + "blockNumber": 20126805, + "chainId": 1 + }, + { + "contractType": "ERC1155", + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "accountAddress": "", + "tokenID": 0, + "balance": "9", + "blockHash": "0xd5e2e041f9d292b25076a512e198d183a55d21440be15e9869c0b1b7d9b179f5", + "blockNumber": 20363254, + "chainId": 1 + }, + { + "contractType": "ERC1155", + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "accountAddress": "0x0000000000000000000000000000000000000000", + "tokenID": 0, + "balance": -9, + "blockHash": "0xd5e2e041f9d292b25076a512e198d183a55d21440be15e9869c0b1b7d9b179f5", + "blockNumber": 20363254, + "chainId": 1 + }, + { + "contractType": "ERC1155", + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "accountAddress": "0xbabebe9fe973a5735d486bf6d31e9a027248024e", + "tokenID": 0, + "balance": 1, + "blockHash": "0x080ea6171f82705555cd1248f73ce1d61dbcbd68f5eefab44b64dec2293a695f", + "blockNumber": 20692108, + "chainId": 1 + }, + { + "contractType": "ERC1155", + "contractAddress": "0x369db37255c76aec060d070eabeb0661e51a42a9", + "accountAddress": "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4", + "tokenID": 0, + "balance": 0, + "blockHash": "0x080ea6171f82705555cd1248f73ce1d61dbcbd68f5eefab44b64dec2293a695f", + "blockNumber": 20692108, + "chainId": 1 + } + ] + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetTransactionHistory": { + "post": { + "summary": "GetTransactionHistory", + "description": "History of mined transactions for the account which includes a list of token transfers (sent/recieved) and sent transactions from a Sequence wallet", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTransactionHistory_Request" + }, + "example": { + "accountAddress": "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTransactionHistory_Response" + }, + "example": { + "page": { + "after": "rmExGgC37OVhMnhCMHhiMjMzM2NlNDliNzlmMzcyOGUwYWFjNzNlNGMwNzYzYmVjODBlYmVmZGViZWZlOWU1ZDVmZGNiNWVmNzMyZWE2YTN4KjB4ZTZlYjI4Mzk4Y2NiZTQ2YWE1MDViNjJiOTY4MjJjMmNlOGRhYWJmNGE0eCoweGRkOTAxMjY4NTY5NTdhYTFlOWM1Y2MzMzk1ZTg2NmI2ZWI4MzBhNDRhNQJhNngqMHgwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwYTd4KjB4ZTZlYjI4Mzk4Y2NiZTQ2YWE1MDViNjJiOTY4MjJjMmNlOGRhYWJmNGE4eEIweDJkNmFiZmE1MTI2NDRmYzVjMjY2Nzk2ZTg4MzMxYmY0MWNhZDc1YWFlMjE4ZDQxODk0ODU1MzU4ZDhjODlhMGRhOQBhYQFhYmBhZIFDIjAiYWWBRCI2MiJhYxpm6I0N", + "pageSize": 10, + "more": true + }, + "transactions": [ + { + "txnHash": "0x64628263b93ccad7dfd6fb1a81f1bcdadd0eb89649e0a43bdf65f639fddcd319", + "blockNumber": 12215569, + "blockHash": "0x05a4b055603a0b0cdb9e0d1bc28088bb4fca79a83d32bdc4a98d665e06ae7564", + "chainId": 80002, + "metaTxnID": null, + "transfers": [ + { + "transferType": "RECEIVE", + "contractAddress": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "contractType": "ERC20", + "from": "0x0000000000000000000000000000000000000000", + "to": "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4", + "tokenIds": [ + 0 + ], + "amounts": [ + "33" + ], + "logIndex": "9", + "contractInfo": { + "chainId": 80002, + "address": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "name": "Oracle Token", + "type": "ERC20", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "originChainId": 0, + "originAddress": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "verified": true, + "verifiedBy": "Sequence Builder" + }, + "updatedAt": "0001-01-01T00:00:00Z" + } + } + ], + "timestamp": "2024-09-20T20:36:45Z" + }, + { + "txnHash": "0x5aae198a65b993a767bd495ea77b7825e0e884d9dcc446a1515097eb962814d6", + "blockNumber": 12213913, + "blockHash": "0x726ccdee4ef384493f96c666e959258ba70689bd6553c098a51542b2627a8b22", + "chainId": 80002, + "metaTxnID": null, + "transfers": [ + { + "transferType": "RECEIVE", + "contractAddress": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "contractType": "ERC20", + "from": "0x0000000000000000000000000000000000000000", + "to": "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4", + "tokenIds": [ + 0 + ], + "amounts": [ + 1000 + ], + "logIndex": 1, + "contractInfo": { + "chainId": 80002, + "address": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "name": "Oracle Token", + "type": "ERC20", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "originChainId": 0, + "originAddress": "0xdd90126856957aa1e9c5cc3395e866b6eb830a44", + "verified": true, + "verifiedBy": "Sequence Builder" + }, + "updatedAt": "0001-01-01T00:00:00Z" + } + } + ], + "timestamp": "2024-09-20T19:37:18Z" + } + ] + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/SyncBalance": { + "post": { + "summary": "SyncBalance", + "description": "Re-sync an incorrect token balance with the correct on-chain balance", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SyncBalance_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SyncBalance_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/FetchTransactionReceipt": { + "post": { + "summary": "FetchTransactionReceipt", + "description": "On Sepolia Mainnet, get the transaction receipt for a specific hash after a certain number of blocks", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_FetchTransactionReceipt_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_FetchTransactionReceipt_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetOrderbookOrders": { + "post": { + "summary": "GetOrderbookOrders", + "description": "These parameters are depracated, please don't use them: - filters - beforeExpiryTimestamp - blockNumberAfter - createdAtAfter and in OrderbookOrderFilter these fields are depracated: - userAddress - excludeUserAddress\nUse 'filter' and these fields instead - userAddresses - excludeUserAddress'", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetOrderbookOrders_Request" + }, + "example": { + "page": { + "page": 1, + "pageSize": 100 + }, + "orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", + "collectionAddress": "0x602d5dc17490794267c7fa5f58a453eb9159a86d", + "currencyAddresses": [ + "0x7ceb23fd6bc0add59e62ac25578270cff1b9f619", + "0x0000000000000000000000000000000000000000", + "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359" + ], + "filter": { + "isListing": null, + "userAddresses": null, + "tokenIds": null, + "excludeUserAddresses": null, + "afterBlockNumber": 0, + "afterCreatedAt": 0, + "beforeExpiry": 0, + "userAddress": null, + "excludeUserAddress": null + }, + "orderStatuses": [ + "OPEN" + ], + "filters": null, + "beforeExpiryTimestamp": 0, + "blockNumberAfter": 0, + "createdAtAfter": 0 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetOrderbookOrders_Response" + }, + "example": { + "page": { + "page": "2", + "pageSize": 100, + "more": false + }, + "orders": [ + { + "orderId": "1198", + "tokenContract": "0x602d5dc17490794267c7fa5f58a453eb9159a86d", + "tokenId": "3", + "isListing": true, + "quantity": 1, + "quantityRemaining": 1, + "currencyAddress": "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359", + "pricePerToken": "1000000", + "expiry": "1729168819", + "orderStatus": "OPEN", + "createdBy": "0xf43a1defbd32243fd83fe702f7817dde3319246e", + "blockNumber": 63027844, + "orderbookContractAddress": "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", + "createdAt": 1728909642 + } + ] + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/GetTopOrders": { + "post": { + "summary": "GetTopOrders", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTopOrders_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetTopOrders_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/FetchTransactionReceiptWithFilter": { + "post": { + "summary": "FetchTransactionReceiptWithFilter", + "description": "On Sepolia Mainnet, get the transaction receipt for a specific hash after a certain number of blocks for a certain filter", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_FetchTransactionReceiptWithFilter_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_FetchTransactionReceiptWithFilter_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/GetAllWebhookListeners": { + "post": { + "summary": "GetAllWebhookListeners", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetAllWebhookListeners_Request" + }, + "example": { + "projectId": 31396 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetAllWebhookListeners_Response" + }, + "example": { + "listeners": [ + { + "id": 160497579, + "projectID": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0", + "filters": { + "events": [ + "Transfer(address indexed from,address indexed to,uint256 indexed tokenId)" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "accounts": [ + "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4" + ], + "tokenIDs": null + }, + "name": "webhook.site #a84730", + "updatedAt": "2024-10-10T20:37:01.685037Z", + "active": true + } + ] + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/GetWebhookListener": { + "post": { + "summary": "GetWebhookListener", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetWebhookListener_Request" + }, + "example": { + "id": 160497579, + "projectId": 31396 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_GetWebhookListener_Response" + }, + "example": { + "listener": { + "id": 160497579, + "projectID": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0", + "filters": { + "events": [ + "Transfer(address indexed from,address indexed to,uint256 indexed tokenId)" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "accounts": [ + "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4" + ], + "tokenIDs": null + }, + "name": "webhook.site #a84730", + "updatedAt": "2024-10-10T20:37:01.685037632Z", + "active": true + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/AddWebhookListener": { + "post": { + "summary": "AddWebhookListener", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_AddWebhookListener_Request" + }, + "example": { + "filters": { + "accounts": [ + "0xe6eB28398CCBe46aA505b62b96822c2Ce8DAABf4" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "events": [ + "Transfer(address indexed from, address indexed to, uint256 indexed tokenId)" + ] + }, + "projectId": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_AddWebhookListener_Response" + }, + "example": { + "status": true, + "listener": { + "id": 160497579, + "projectID": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0", + "filters": { + "events": [ + "Transfer(address indexed from,address indexed to,uint256 indexed tokenId)" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "accounts": [ + "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4" + ], + "tokenIDs": null + }, + "name": "webhook.site #a84730", + "updatedAt": "2024-10-10T20:37:01.685037632Z", + "active": true + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/UpdateWebhookListener": { + "post": { + "summary": "UpdateWebhookListener", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_UpdateWebhookListener_Request" + }, + "example": { + "filters": { + "accounts": [ + "0xe6eB28398CCBe46aA505b62b96822c2Ce8DAABf4" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "tokenIDs": [ + 100 + ], + "events": [ + "Transfer(address indexed from, address indexed to, uint256 indexed tokenId)" + ] + }, + "projectId": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_UpdateWebhookListener_Response" + }, + "example": { + "status": true, + "listener": { + "id": 2435835685, + "projectID": 31396, + "url": "https://webhook.site/#!/view/a2859143-0a52-4b69-98f2-a58733e4dcf0", + "filters": { + "events": [ + "Transfer(address indexed from,address indexed to,uint256 indexed tokenId)" + ], + "contractAddresses": [ + "0x9bec34c1f7098e278afd48fedcf13355b854364a" + ], + "accounts": [ + "0xe6eb28398ccbe46aa505b62b96822c2ce8daabf4" + ], + "tokenIDs": [ + 100 + ] + }, + "name": "webhook.site #b5cf2f", + "updatedAt": "2024-10-10T20:52:58.924369913Z", + "active": true + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/RemoveWebhookListener": { + "post": { + "summary": "RemoveWebhookListener", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_RemoveWebhookListener_Request" + }, + "example": { + "id": 160497579, + "projectId": 31396 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_RemoveWebhookListener_Response" + }, + "example": { + "status": true + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/ToggleWebhookListener": { + "post": { + "summary": "ToggleWebhookListener", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_ToggleWebhookListener_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_ToggleWebhookListener_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/PauseAllWebhookListeners": { + "post": { + "summary": "PauseAllWebhookListeners", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_PauseAllWebhookListeners_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_PauseAllWebhookListeners_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/ResumeAllWebhookListeners": { + "post": { + "summary": "ResumeAllWebhookListeners", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_ResumeAllWebhookListeners_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_ResumeAllWebhookListeners_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Indexer/SubscribeReceipts": { + "post": { + "summary": "SubscribeReceipts", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeReceipts_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeReceipts_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "On Sepolia Mainnet, subscribe and receive receipts based on a filter of transaction hash and transaction details", + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/SubscribeEvents": { + "post": { + "summary": "SubscribeEvents", + "description": "On Sepolia Mainnet, subscribe and receive receipts based on a filter of transaction mints", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeEvents_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeEvents_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Indexer/SubscribeBalanceUpdates": { + "post": { + "summary": "SubscribeBalanceUpdates", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeBalanceUpdates_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Indexer_SubscribeBalanceUpdates_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorResourceExhausted" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorMetadataCallFailed" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "On Sepolia Mainnet, subscribe and receive balance updates based on the affected address, like wallet and contract address, with specific details", + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://amoy-indexer.sequence.app", + "description": "Amoy Mainnet" + }, + { + "url": "https://apechain-mainnet-indexer.sequence.app", + "description": "Apechain-Mainnet Mainnet" + }, + { + "url": "https://apechain-testnet-indexer.sequence.app", + "description": "Apechain-Testnet Mainnet" + }, + { + "url": "https://arbitrum-indexer.sequence.app", + "description": "Arbitrum Mainnet" + }, + { + "url": "https://arbitrum-nova-indexer.sequence.app", + "description": "Arbitrum-Nova Mainnet" + }, + { + "url": "https://arbitrum-sepolia-indexer.sequence.app", + "description": "Arbitrum-Sepolia Mainnet" + }, + { + "url": "https://astar-zkevm-indexer.sequence.app", + "description": "Astar-Zkevm Mainnet" + }, + { + "url": "https://astar-zkyoto-indexer.sequence.app", + "description": "Astar-Zkyoto Mainnet" + }, + { + "url": "https://avalanche-indexer.sequence.app", + "description": "Avalanche Mainnet" + }, + { + "url": "https://avalanche-testnet-indexer.sequence.app", + "description": "Avalanche-Testnet Mainnet" + }, + { + "url": "https://b3-indexer.sequence.app", + "description": "B3 Mainnet" + }, + { + "url": "https://b3-sepolia-indexer.sequence.app", + "description": "B3-Sepolia Mainnet" + }, + { + "url": "https://base-indexer.sequence.app", + "description": "Base Mainnet" + }, + { + "url": "https://base-sepolia-indexer.sequence.app", + "description": "Base-Sepolia Mainnet" + }, + { + "url": "https://blast-indexer.sequence.app", + "description": "Blast Mainnet" + }, + { + "url": "https://blast-sepolia-indexer.sequence.app", + "description": "Blast-Sepolia Mainnet" + }, + { + "url": "https://borne-testnet-indexer.sequence.app", + "description": "Borne-Testnet Mainnet" + }, + { + "url": "https://bsc-indexer.sequence.app", + "description": "Bsc Mainnet" + }, + { + "url": "https://bsc-testnet-indexer.sequence.app", + "description": "Bsc-Testnet Mainnet" + }, + { + "url": "https://gnosis-indexer.sequence.app", + "description": "Gnosis Mainnet" + }, + { + "url": "https://homeverse-indexer.sequence.app", + "description": "Homeverse Mainnet" + }, + { + "url": "https://homeverse-testnet-indexer.sequence.app", + "description": "Homeverse-Testnet Mainnet" + }, + { + "url": "https://immutable-zkevm-indexer.sequence.app", + "description": "Immutable-Zkevm Mainnet" + }, + { + "url": "https://immutable-zkevm-testnet-indexer.sequence.app", + "description": "Immutable-Zkevm-Testnet Mainnet" + }, + { + "url": "https://imx-indexer.sequence.app", + "description": "Imx Mainnet" + }, + { + "url": "https://imx-testnet-indexer.sequence.app", + "description": "Imx-Testnet Mainnet" + }, + { + "url": "https://mainnet-indexer.sequence.app", + "description": "Mainnet Mainnet" + }, + { + "url": "https://optimism-indexer.sequence.app", + "description": "Optimism Mainnet" + }, + { + "url": "https://optimism-sepolia-indexer.sequence.app", + "description": "Optimism-Sepolia Mainnet" + }, + { + "url": "https://polygon-indexer.sequence.app", + "description": "Polygon Mainnet" + }, + { + "url": "https://polygon-zkevm-indexer.sequence.app", + "description": "Polygon-Zkevm Mainnet" + }, + { + "url": "https://rootnet-indexer.sequence.app", + "description": "Rootnet Mainnet" + }, + { + "url": "https://rootnet-porcini-indexer.sequence.app", + "description": "Rootnet-Porcini Mainnet" + }, + { + "url": "https://sepolia-indexer.sequence.app", + "description": "Sepolia Mainnet" + }, + { + "url": "https://skale-nebula-testnet-indexer.sequence.app", + "description": "Skale-Nebula-Testnet Mainnet" + }, + { + "url": "https://soneium-minato-indexer.sequence.app", + "description": "Soneium-Minato Mainnet" + }, + { + "url": "https://toy-testnet-indexer.sequence.app", + "description": "Toy-Testnet Mainnet" + }, + { + "url": "https://xai-indexer.sequence.app", + "description": "Xai Mainnet" + }, + { + "url": "https://xai-sepolia-indexer.sequence.app", + "description": "Xai-Sepolia Mainnet" + }, + { + "url": "https://xr-sepolia-indexer.sequence.app", + "description": "Xr-Sepolia Mainnet" + } + ], + "tags": [ + { + "name": "public", + "description": "Endpoints accessible by passing your project-access-key in the header. This is injected whenever you login automatically." + }, + { + "name": "secret", + "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." + } + ] +} \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter.mdx b/es/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter.mdx new file mode 100644 index 00000000..2bbef22e --- /dev/null +++ b/es/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter.mdx @@ -0,0 +1,4 @@ +--- +title: FetchTransactionReceiptWithFilter +openapi: ../indexer.json post /rpc/Indexer/FetchTransactionReceiptWithFilter +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/fetch-transaction-receipt.mdx b/es/api-references/indexer/endpoints/public/fetch-transaction-receipt.mdx new file mode 100644 index 00000000..54e1a6fa --- /dev/null +++ b/es/api-references/indexer/endpoints/public/fetch-transaction-receipt.mdx @@ -0,0 +1,4 @@ +--- +title: FetchTransactionReceipt +openapi: ../indexer.json post /rpc/Indexer/FetchTransactionReceipt +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-balance-updates.mdx b/es/api-references/indexer/endpoints/public/get-balance-updates.mdx new file mode 100644 index 00000000..2d9dca05 --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-balance-updates.mdx @@ -0,0 +1,4 @@ +--- +title: GetBalanceUpdates +openapi: ../indexer.json post /rpc/Indexer/GetBalanceUpdates +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-native-token-balance.mdx b/es/api-references/indexer/endpoints/public/get-native-token-balance.mdx new file mode 100644 index 00000000..ea6dbc8f --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-native-token-balance.mdx @@ -0,0 +1,4 @@ +--- +title: GetNativeTokenBalance +openapi: ../indexer.json post /rpc/Indexer/GetNativeTokenBalance +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-balances-by-contract.mdx b/es/api-references/indexer/endpoints/public/get-token-balances-by-contract.mdx new file mode 100644 index 00000000..517a1dcb --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-balances-by-contract.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenBalancesByContract +openapi: ../indexer.json post /rpc/Indexer/GetTokenBalancesByContract +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-balances-details.mdx b/es/api-references/indexer/endpoints/public/get-token-balances-details.mdx new file mode 100644 index 00000000..54f2cc95 --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-balances-details.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenBalancesDetails +openapi: ../indexer.json post /rpc/Indexer/GetTokenBalancesDetails +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-balances-summary.mdx b/es/api-references/indexer/endpoints/public/get-token-balances-summary.mdx new file mode 100644 index 00000000..f70d5ccc --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-balances-summary.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenBalancesSummary +openapi: ../indexer.json post /rpc/Indexer/GetTokenBalancesSummary +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-balances.mdx b/es/api-references/indexer/endpoints/public/get-token-balances.mdx new file mode 100644 index 00000000..6101e569 --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-balances.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenBalances +openapi: ../indexer.json post /rpc/Indexer/GetTokenBalances +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-supplies-map.mdx b/es/api-references/indexer/endpoints/public/get-token-supplies-map.mdx new file mode 100644 index 00000000..828a9fc1 --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-supplies-map.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenSuppliesMap +openapi: ../indexer.json post /rpc/Indexer/GetTokenSuppliesMap +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-token-supplies.mdx b/es/api-references/indexer/endpoints/public/get-token-supplies.mdx new file mode 100644 index 00000000..910c344c --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-token-supplies.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenSupplies +openapi: ../indexer.json post /rpc/Indexer/GetTokenSupplies +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/get-transaction-history.mdx b/es/api-references/indexer/endpoints/public/get-transaction-history.mdx new file mode 100644 index 00000000..b7fe3324 --- /dev/null +++ b/es/api-references/indexer/endpoints/public/get-transaction-history.mdx @@ -0,0 +1,4 @@ +--- +title: GetTransactionHistory +openapi: ../indexer.json post /rpc/Indexer/GetTransactionHistory +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/subscribe-balance-updates.mdx b/es/api-references/indexer/endpoints/public/subscribe-balance-updates.mdx new file mode 100644 index 00000000..dbeec80a --- /dev/null +++ b/es/api-references/indexer/endpoints/public/subscribe-balance-updates.mdx @@ -0,0 +1,4 @@ +--- +title: SubscribeBalanceUpdates +openapi: ../indexer.json post /rpc/Indexer/SubscribeBalanceUpdates +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/subscribe-events.mdx b/es/api-references/indexer/endpoints/public/subscribe-events.mdx new file mode 100644 index 00000000..b6fa2cdc --- /dev/null +++ b/es/api-references/indexer/endpoints/public/subscribe-events.mdx @@ -0,0 +1,4 @@ +--- +title: SubscribeEvents +openapi: ../indexer.json post /rpc/Indexer/SubscribeEvents +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/public/subscribe-receipts.mdx b/es/api-references/indexer/endpoints/public/subscribe-receipts.mdx new file mode 100644 index 00000000..c765693d --- /dev/null +++ b/es/api-references/indexer/endpoints/public/subscribe-receipts.mdx @@ -0,0 +1,4 @@ +--- +title: SubscribeReceipts +openapi: ../indexer.json post /rpc/Indexer/SubscribeReceipts +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/add-webhook-listener.mdx b/es/api-references/indexer/endpoints/secret/add-webhook-listener.mdx new file mode 100644 index 00000000..8651462d --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/add-webhook-listener.mdx @@ -0,0 +1,4 @@ +--- +title: AddWebhookListener +openapi: ../indexer.json post /rpc/Indexer/AddWebhookListener +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/get-all-webhook-listeners.mdx b/es/api-references/indexer/endpoints/secret/get-all-webhook-listeners.mdx new file mode 100644 index 00000000..e8c79bc5 --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/get-all-webhook-listeners.mdx @@ -0,0 +1,4 @@ +--- +title: GetAllWebhookListeners +openapi: ../indexer.json post /rpc/Indexer/GetAllWebhookListeners +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/pause-all-webhook-listeners.mdx b/es/api-references/indexer/endpoints/secret/pause-all-webhook-listeners.mdx new file mode 100644 index 00000000..be51c1b9 --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/pause-all-webhook-listeners.mdx @@ -0,0 +1,4 @@ +--- +title: PauseAllWebhookListeners +openapi: ../indexer.json post /rpc/Indexer/PauseAllWebhookListeners +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/remove-webhook-listener.mdx b/es/api-references/indexer/endpoints/secret/remove-webhook-listener.mdx new file mode 100644 index 00000000..962c1b1e --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/remove-webhook-listener.mdx @@ -0,0 +1,4 @@ +--- +title: RemoveWebhookListener +openapi: ../indexer.json post /rpc/Indexer/RemoveWebhookListener +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/resume-all-webhook-listeners.mdx b/es/api-references/indexer/endpoints/secret/resume-all-webhook-listeners.mdx new file mode 100644 index 00000000..edf424cc --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/resume-all-webhook-listeners.mdx @@ -0,0 +1,4 @@ +--- +title: ResumeAllWebhookListeners +openapi: ../indexer.json post /rpc/Indexer/ResumeAllWebhookListeners +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/toggle-webhook-listener.mdx b/es/api-references/indexer/endpoints/secret/toggle-webhook-listener.mdx new file mode 100644 index 00000000..6802904a --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/toggle-webhook-listener.mdx @@ -0,0 +1,4 @@ +--- +title: ToggleWebhookListener +openapi: ../indexer.json post /rpc/Indexer/ToggleWebhookListener +--- \ No newline at end of file diff --git a/es/api-references/indexer/endpoints/secret/update-webhook-listener.mdx b/es/api-references/indexer/endpoints/secret/update-webhook-listener.mdx new file mode 100644 index 00000000..c2b96a3a --- /dev/null +++ b/es/api-references/indexer/endpoints/secret/update-webhook-listener.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateWebhookListener +openapi: ../indexer.json post /rpc/Indexer/UpdateWebhookListener +--- \ No newline at end of file diff --git a/es/api-references/indexer/examples/fetch-tokens.mdx b/es/api-references/indexer/examples/fetch-tokens.mdx new file mode 100644 index 00000000..fce5919f --- /dev/null +++ b/es/api-references/indexer/examples/fetch-tokens.mdx @@ -0,0 +1,143 @@ +--- +title: Tokens API +sidebarTitle: Obtener Tokens +--- + +## Obtiene la lista de tokens ERC20, ERC721 y ERC1155 y metadatos en cualquier wallet. +_Método `GetTokenBalances` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetTokenBalances +- Content-Type: application/json +- Cuerpo (en JSON): + - `accountAddress` (string) -- la dirección de cuenta del wallet + - `includeMetadata` (booleano - opcional - por defecto: false) -- alterna si los metadatos del token se incluyen en la respuesta + - `metadataOptions` (objeto - opcional) -- opciones adicionales para metadatos + - `verifiedOnly` (booleano - opcional) -- devuelve solo contratos 'verificados' para ayudar a reducir spam + - `includeContracts` (\[]string - opcional) -- lista de direcciones de contrato específicas que siempre se incluirán, incluso si verifiedOnly está activado. + - `includeCollectionTokens` (booleano - opcional - por defecto: true) -- alterna para representar tokens ERC721 / ERC1155 como un solo ítem resumen en la respuesta + + + ```shell Curl + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTokenBalances -d '{ "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9", "includeMetadata": true }' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // try any account address you'd like :) + const accountAddress = '0xabc...' + + // query Sequence Indexer for all token balances of the account on Polygon + const tokenBalances = await indexer.getTokenBalances({ + accountAddress: accountAddress, + includeMetadata: true + }) + console.log('tokens in your account:', tokenBalances) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTokenBalances(accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + includeMetadata := true + + tokenBalances, _, err := seqIndexer.GetTokenBalances(context.Background(), &accountAddress, nil, &includeMetadata, nil, nil) + if err != nil { + log.Fatal(err) + } + fmt.Println("tokenBalances:", tokenBalances) + } + ``` + + + + **CONSEJO PRO: obtener IDs de tokens ERC721/1155** + + Notará que, por defecto, `GetTokenBalances` devolverá como máximo una instancia de token de cada contrato. + Para obtener balances de tokens ERC721/1155, debe pasar el `contractAddress` al método `GetTokenBalances`. + Esto devolverá todos los tokens que posee `accountAddress` del `contractAddress` especificado. + Consulte la sección siguiente para más información. + + +## Obtenga los IDs de token, balances y metadatos de colecciones ERC721 y ERC1155. +_Método `GetTokenBalances` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetTokenBalances +- Content-Type: application/json +- Cuerpo (en JSON): + - `accountAddress` (string) -- la dirección de cuenta del wallet + - `contractAddress` (string) -- la dirección del contrato de la colección ERC721 / ERC1155 + - `includeMetadata` (booleano - opcional - por defecto: false) -- alterna si los metadatos del token se incluyen en la respuesta + - `metadataOptions` (objeto - opcional) -- opciones adicionales para metadatos + - `verifiedOnly` (booleano - opcional) -- devuelve solo contratos 'verificados' para ayudar a reducir spam + - `includeContracts` (\[]string - opcional) -- lista de direcciones de contrato específicas que siempre se incluirán, incluso si verifiedOnly está activado. + +
+ +**Ejemplo: `GetTokenBalances` de un contrato + dirección de cuenta en Polygon usando un `PROJECT_ACCESS_KEY`** + + + ```bash Curl + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: PROJECT_ACCESS_KEY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTokenBalances -d '{ "contractAddress": "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9", "includeMetadata": true }' + ``` + + ```typescript Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // try any contract and account address you'd like :) + const contractAddress = '0x631998e91476DA5B870D741192fc5Cbc55F5a52E' + const accountAddress = '0xabc...' + + // query Sequence Indexer for all nft balances of the account on Polygon + const nftBalances = await indexer.getTokenBalances({ + contractAddress: contractAddress, + accountAddress: accountAddress, + includeMetadata: true + }) + + console.log('collection of items:', nftBalances) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTokenBalances(contractAddress, accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + includeMetadata := true + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, // Set to true if you want to fetch only verified contracts + UnverifiedOnly: false, + IncludeContracts: nil, // Provide a list of specific contracts to include, if any + } + + nftBalances, _, err := seqIndexer.GetTokenBalances(context.Background(), &accountAddress, nil, nil, nil, &metadataOptions, nil, nil) + if err != nil { + log.Fatal(err) + } + + fmt.Println("nftBalances:", nftBalances) + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/metadata-tips.mdx b/es/api-references/indexer/examples/metadata-tips.mdx new file mode 100644 index 00000000..1f0e115b --- /dev/null +++ b/es/api-references/indexer/examples/metadata-tips.mdx @@ -0,0 +1,25 @@ +--- +title: Consejos sobre metadatos y notas sobre spam +sidebarTitle: Consejos sobre metadatos +--- + +Los servicios Sequence Indexer y Sequence Metadata capturan todo lo que se publica en una blockchain. +Nuestros servicios están diseñados para proporcionar datos en tiempo real +conforme se minan los bloques, y cumplen con todos los estándares populares de metadatos ERC20, ERC721 y ERC1155 +para que todo _simplemente funcione_. + +Esto es muy útil para que sus aplicaciones tengan acceso al conjunto completo de datos +on-chain, pero también significa que se incluirán tokens spam al consultar con la configuración predeterminada. + +Para combatir el spam, introdujimos los argumentos `metadataOptions` que pueden pasarse a las llamadas RPC de Indexer +para controlar los resultados devueltos. + +El servicio Sequence Metadata lleva un registro de los contratos "verificados" consultando fuentes populares +como Coingecko, OpenSea, Sequence Builder ([https://sequence.build](https://sequence.build)) y el Sequence Token +Directory ([https://github.com/0xsequence/token-directory](https://github.com/0xsequence/token-directory)). Al llamar a los métodos RPC de Indexer con +`"metadataOptions": { "verifiedOnly": true }`, cualquier dirección de contrato que no esté verificada +será omitida de los resultados. Recomendamos usar esta opción siempre, pero la desventaja es que +si los contratos de su proyecto no están verificados, también serán omitidos. Para ayudarle +con esto, sus opciones son verificar sus contratos en alguna de las fuentes mencionadas, o en sus llamadas RPC pasar +`"metadataOptions": { "verifiedOnly": true, "includeContracts": ["0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "0x8bb759bb68995343ff1e9d57ac85ff5c5fb79334"] }` +como ejemplo. \ No newline at end of file diff --git a/es/api-references/indexer/examples/native-network-balance.mdx b/es/api-references/indexer/examples/native-network-balance.mdx new file mode 100644 index 00000000..1d2f2004 --- /dev/null +++ b/es/api-references/indexer/examples/native-network-balance.mdx @@ -0,0 +1,58 @@ +--- +title: Balances de red nativa (por ejemplo, ETH, MATIC, etc.) +sidebarTitle: Balance de red nativa +--- + +## Obtenga el balance de la red nativa (también conocido como ETH en Ethereum, MATIC en Polygon, AVAX en Avalanche, BNB en BSC, etc.) +_Método `GetEtherBalance` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetEtherBalance +- Content-Type: application/json +- Cuerpo (en JSON): + - `accountAddress` (string) -- la dirección de cuenta del wallet + +**Ejemplo: `GetEtherBalance` balance de MATIC de una dirección de cuenta de wallet en Polygon usando un `API_Access_Key`** + + + ```bash cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetEtherBalance -d '{ "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" }' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // try any account address you'd like :) + const accountAddress = '0xabc...' + + // query Sequence Indexer for the MATIC balance on Polygon + const balance = await indexer.getEtherBalance({ + accountAddress: accountAddress, + }) + + console.log('tokens in your account:', tokenBalances) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetEtherBalance(accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + nativeBalance, err := seqIndexer.GetEtherBalance(context.Background(), &accountAddress) + + if err != nil { + log.Fatal(err) + } + fmt.Println("nativeBalance:", nativeBalance) + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/subscriptions.mdx b/es/api-references/indexer/examples/subscriptions.mdx new file mode 100644 index 00000000..93d92982 --- /dev/null +++ b/es/api-references/indexer/examples/subscriptions.mdx @@ -0,0 +1,98 @@ +--- +title: Suscripciones +sidebarTitle: Suscripciones +--- + +## Suscribirse a eventos de Blockchain +Puede suscribirse a diferentes eventos de blockchain en tiempo real usando +endpoints de suscripción. Use filtros para escuchar direcciones de contrato +específicas, direcciones de cuenta y/o IDs de token. + +### Suscribirse a eventos +_Método `SubscribeEvents` de Sequence Indexer:_ +- Solicitud: `POST /rpc/Indexer/SubscribeEvents` +- Content-Type: `application/json` +- Cuerpo (en JSON): + - `Filters` (\[]object) -- un arreglo de filtros + - `contractAddresses` (\[]string) -- una dirección de contrato ERC20 / ERC721 / ERC1155 + - `accounts` (\[]string) -- direcciones de wallet + - `tokenIDs` (\[]int) _opcional_ -- un arreglo de IDs de token + - `events` (\[]string) -- un arreglo de nombres de eventos + - `topicHashes` (\[]string) -- un arreglo de hashes de tópico + +Debe proporcionar al menos uno de `contractAddresses` o `accounts` en el filtro. + +### Suscribirse a actualizaciones de balance +_Método `SubscribeBalanceUpdates` de Sequence Indexer:_ + +### Suscribirse a recibos +_Método `SubscribeBalanceUpdates` de Sequence Indexer:_ + +Ejemplo `SubscribeEvents` + + + ```bash cURL + curl -X POST \ + -H 'Content-type: application/json' \ + -H "X-Access-Key: c3bgcU3LkFR9Bp9jFssLenPAAAAAAAAAA" \ + https://polygon-indexer.sequence.app/rpc/Indexer/SubscribeBalanceUpdates \ + -d '{"contractAddress":"0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"}' + ``` + + ```go Go + import ( + "context" + "log" + + "github.com/0xsequence/go-sequence/indexer" + "github.com/0xsequence/go-sequence/lib/prototyp" + ) + + func SubscribeEvents() { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "c3bgcU3LkFR9Bp9jFssLenPAAAAAAAAAA") + + reader, err := seqIndexer.SubscribeEvents( + context.Background(), + &indexer.EventFilter{ + ContractAddresses: []prototyp.Hash{prototyp.HashFromString("0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359")}, + }, + ) + if err != nil { + log.Fatalf("SubscribeEvents: %v", err) + } + + for { + event, err := reader.Read() + if err != nil { + log.Fatalf("Read: %v", err) + } + + log.Println("Event", event) + } + } + ``` + + ```typescript [TypeScript] + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer, WebrpcError } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'c3bgcU3LkFR9Bp9jFssLenPAAAAAAAAAA') + + const req = { + filter: { + contractAddresses: ['0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359'], + }, + } + + const options = { + onMessage: (msg: any) => { + console.log('msg', msg) + }, + onError: (err: WebrpcError) => { + console.error('err', err) + } + } + + await indexer.subscribeEvents(req, options) + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/transaction-history.mdx b/es/api-references/indexer/examples/transaction-history.mdx new file mode 100644 index 00000000..cbf500b4 --- /dev/null +++ b/es/api-references/indexer/examples/transaction-history.mdx @@ -0,0 +1,90 @@ +--- +title: Historial de transacciones de wallet +sidebarTitle: Historial de transacciones +--- + +## Obtenga el historial de transacciones para cualquier dirección de wallet +Obtiene el historial de transacciones / tokens para cualquier dirección de wallet de cualquier token ERC20, ERC721 y ERC1155. +La respuesta incluye detalles de transacciones decodificados para facilitar su consumo y visualización. + +_Método `GetTransactionHistory` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetTransactionHistory +- Content-Type: application/json +- Cuerpo (en JSON): + - `filter` (objeto) + - `accountAddress` (string) -- la dirección de cuenta del wallet + - `contractAddress` (string) -- opcionalmente especifique una dirección de contrato para filtrar + - `accountAddresses` (arreglo de cadenas) -- opcionalmente especifique una lista de direcciones de cuenta de wallet + - `contractAddresses` (arreglo de cadenas) -- opcionalmente especifique una lista de direcciones de contrato + - `transactionHashes` (arreglo de cadenas) -- opcionalmente especifique una lista de hashes de transacciones + - `metaTransactionIDs` (arreglo de cadenas) -- opcionalmente especifique una lista de IDs de meta transacciones + - `includeMetadata` (booleano - opcional - por defecto: false) -- alterna si los metadatos del token se incluyen en la respuesta + - `metadataOptions` (objeto - opcional) -- opciones adicionales para metadatos + - `verifiedOnly` (booleano - opcional) -- devuelve solo contratos 'verificados' para ayudar a reducir spam + - `includeContracts` (\[]string - opcional) -- lista de direcciones de contrato específicas que siempre se incluirán, incluso si verifiedOnly está activado. + +
+ + + El historial de transacciones de wallet se conserva durante 30 días en todas las redes con el Indexer (excepto en `arbitrum-sepolia`, donde es de 20 días). + + +**Ejemplo: `GetTransactionHistory` de la dirección de cuenta de una wallet en Polygon usando un `API_ACCESS_KEY`** + + + ```bash cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTransactionHistory -d '{ "filter": { "accountAddress": "0x8e3E38fe7367dd3b52D1e281E4e8400447C8d8B9" }, "includeMetadata": true }' + projectAccessKey + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // try any account address you'd like :) + const filter = { + accountAddress: "0xabc..." + } + + // query Sequence Indexer for all token transaction history on Polygon + const transactionHistory = await indexer.getTransactionHistory({ + filter: filter, + includeMetadata: true + }) + + console.log('transaction history in account:', transactionHistory) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTransactionHistory(accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + filter := &indexer.TransactionHistoryFilter{ + AccountAddress: &accountAddress, + } + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, // Set to true if you want to fetch only verified contracts + UnverifiedOnly: false, + IncludeContracts: nil, // Provide a list of specific contracts to include, if any + } + + _, history, err := seqIndexer.GetTransactionHistory(context.Background(), filter, nil, nil, &metadataOptions) + if err != nil { + log.Fatal(err) + } + fmt.Println("transaction history:", history) + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/transation-history-token-contract.mdx b/es/api-references/indexer/examples/transation-history-token-contract.mdx new file mode 100644 index 00000000..e89654e9 --- /dev/null +++ b/es/api-references/indexer/examples/transation-history-token-contract.mdx @@ -0,0 +1,83 @@ +--- +title: Historial de tokens de contrato +sidebarTitle: Token de historial de transacciones +--- + +## Obtenga o escuche el historial de transacciones de cualquier contrato ERC20, ERC721 o ERC1155. +Esta consulta es útil para rastrear el historial de transacciones de un contrato de token en particular. +En este ejemplo, usamos la dirección del contrato del token Skyweaver 0x631998e91476DA5B870D741192fc5Cbc55F5a52E +en la red Polygon. Puede consultar cualquier dirección de contrato en cualquiera de las redes soportadas (pero +asegúrese de consultar el indexer de la red correspondiente). + +_Método `GetTransactionHistory` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetTransactionHistory +- Content-Type: application/json +- Cuerpo (en JSON): + - `filter` (objeto) + - `contractAddress` (cadena) -- una dirección de contrato ERC20 / ERC721 / ERC1155 + + + El historial de transacciones de contratos de tokens se conserva durante 30 días en todas las redes con el Indexer (excepto en `arbitrum-sepolia`, donde es de 20 días). + + +**Ejemplo: `GetTransactionHistory` del contrato Skyweaver en Polygon usando un `API_ACCESS_KEY`** + + + ```bash cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTransactionHistory -d '{ "filter": { "accountAddress": "0x631998e91476DA5B870D741192fc5Cbc55F5a52E" }, "includeMetadata": true }' + ``` + + ```typescript Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from "@0xsequence/indexer"; + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // here we query the Skyweaver contract address, but you can use any + const contractAddress = "0x631998e91476DA5B870D741192fc5Cbc55F5a52E"; + + // query Sequence Indexer for all token details / supplies + // try any contract address you'd like :) + const filter = { + contractAddress: contractAddress, + }; + + // query Sequence Indexer for all token transaction history on Polygon + const transactionHistory = await indexer.getTransactionHistory({ + filter: filter, + }); + + console.log("transaction history of contract:", transactionHistory); + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTransactionHistory(contractAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + filter := &indexer.TransactionHistoryFilter{ + ContractAddress: &contractAddress, + } + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, // Set to true if you want to fetch only verified contracts + UnverifiedOnly: false, + IncludeContracts: nil, // Provide a list of specific contracts to include, if any + } + + _, history, err := seqIndexer.GetTransactionHistory(context.Background(), filter, nil, nil, &metadataOptions) + if err != nil { + log.Fatal(err) + } + fmt.Println("transaction history:", history) + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/unique-tokens.mdx b/es/api-references/indexer/examples/unique-tokens.mdx new file mode 100644 index 00000000..e63f1ee3 --- /dev/null +++ b/es/api-references/indexer/examples/unique-tokens.mdx @@ -0,0 +1,77 @@ +--- +title: Tokens en un contrato +sidebarTitle: Tokens únicos +--- + +## Obtenga todos los tokens únicos en un contrato ERC20/721/1155 específico, incluyendo el suministro total +**Obtiene el suministro de tokens y metadatos para cualquier contrato ERC20, ERC721 o ERC1155.** + +Esta consulta es útil para mostrar todos los tokens de un contrato de tokens, o para consultar el suministro total de tokens. +En este ejemplo, usamos la dirección del contrato del token Skyweaver 0x631998e91476DA5B870D741192fc5Cbc55F5a52E +en la red Polygon. Puede consultar cualquier dirección de contrato en cualquiera de las redes soportadas (pero +asegúrese de consultar el indexer de la red correspondiente). + +_Método `GetTokenSupplies` de Sequence Indexer:_ +- Solicitud: POST /rpc/Indexer/GetTokenSupplies +- Content-Type: application/json +- Cuerpo (en JSON): + - `contractAddress` (cadena) -- una dirección de contrato ERC20 / ERC721 / ERC1155 + - `includeMetadata` (booleano - opcional - por defecto: false) -- alterna si los metadatos del token se incluyen en la respuesta + - `metadataOptions` (objeto - opcional) -- opciones adicionales para metadatos + - `verifiedOnly` (booleano - opcional) -- devuelve solo contratos 'verificados' para ayudar a reducir spam + - `includeContracts` (\[]string - opcional) -- lista de direcciones de contrato específicas que siempre se incluirán, incluso si verifiedOnly está activado. + +**Ejemplo: `GetTokenSupplies` del contrato Skyweaver en Polygon usando un `AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY`** + + + ```bash cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://polygon-indexer.sequence.app/rpc/Indexer/GetTokenSupplies -d '{ "contractAddress": "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "includeMetadata": true }' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + // here we query the Skyweaver contract address, but you can use any + const contractAddress = '0x631998e91476DA5B870D741192fc5Cbc55F5a52E' + + // query Sequence Indexer for all token details / supplies + const tokenDetails = await indexer.getTokenSupplies({ + contractAddress: contractAddress, + includeMetadata: true + }) + console.log('token details of contract:', tokenDetails) + ``` + + ```go Go + go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTokenSupplies(contractAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, // Set to true if you want to fetch only verified contracts + UnverifiedOnly: false, + IncludeContracts: nil, // Provide a list of specific contracts to include, if any + } + + _, _, tokenDetails, err := seqIndexer.GetTokenSupplies(context.Background(), contractAddress, nil, &metadataOptions, nil) + + if err != nil { + log.Fatal(err) + } + + fmt.Println("token details:", tokenDetails) + } + ``` + \ No newline at end of file diff --git a/es/api-references/indexer/examples/webhook-listener.mdx b/es/api-references/indexer/examples/webhook-listener.mdx new file mode 100644 index 00000000..bd6ddd1a --- /dev/null +++ b/es/api-references/indexer/examples/webhook-listener.mdx @@ -0,0 +1,294 @@ +--- +title: Webhooks +sidebarTitle: Webhooks +--- + +Los webhooks son una función que permite que sistemas sean llamados a través de internet cuando ocurre un evento en blockchain que cumple ciertos criterios. + +Puede escuchar transacciones mediante webhooks usando el Sequence Indexer, registrando un endpoint o eliminándolo cuando ya no sea necesario. + + + Si prefiere una forma sin código para agregar webhooks usando Sequence Builder, consulte [esta guía](/solutions/builder/webhooks). + + +Para comenzar, diríjase al [Sequence Builder](https://sequence.build) y siga [esta guía para la Public API Access Key](/solutions/builder/getting-started#claim-an-api-access-key) y [esta guía para la Secret API Access Key](/solutions/builder/getting-started#4-optional-for-development-create-a-service-account), ambas necesarias para usar los Webhooks del Sequence Indexer. + +Función +1. [Registrar un Webhook Listener](/api-references/indexer/examples/webhook-listener#1-register-a-webhook-listener) +2. [Eliminar un Webhook Listener](/api-references/indexer/examples/webhook-listener#2-remove-a-webhook-listener) + +Respuesta del Webhook +- [Respuesta del Webhook Listener](/api-references/indexer/examples/webhook-listener#webhook-listener-response) + +Ejemplo +- [Escuchar todos los minteos y transferencias de un TokenID ERC1155 específico](/api-references/indexer/examples/webhook-listener#listen-to-a-specific-token-id-for-an-erc1155) + + + Si necesita un servidor para desarrollo, puede usar lo siguiente: + + [Servidor Webhook Nodejs de plantilla](https://github.com/0xsequence-demos/template-nodejs-webhook-server/blob/master/README.md) combinado con [ngrok](https://ngrok.com), un túnel seguro hacia su computadora ejecutando el servidor local + + +## 1. Registrar un Webhook Listener +Nuestros filtros le permiten escuchar eventos on-chain para direcciones de contrato específicas, eventos de contrato, IDs de token específicos, direcciones de cuenta o hashes de tópicos. + + + Si necesita un endpoint de webhook para llamar, puede usar [webhook.site](https://webhook.site/) para pruebas y especificarlo en el campo `url`. + + +_Método `AddWebhookListener` de Sequence Indexer:_ con campos `required*` +- Solicitud: POST /rpc/Indexer/AddWebhookListener +- Content-Type: application/json +- Cuerpo (en JSON): + - `url*` (cadena) -- la URL a la que se enviará el webhook + - `filters*` (objeto) -- un objeto de filtros + - `contractAddresses*` (\[]cadena) -- un arreglo de cualquier dirección de contrato + - `events*` (\[]cadena) -- cualquier evento de contrato, incluyendo la palabra clave `indexed` del contrato cuando sea necesario (por ejemplo, `Transfer(address indexed from, address indexed to, uint256 amount)`. También se acepta la forma abreviada sin nombres de argumentos, que simplemente se interpretará como: arg1, arg2, etc. Ejemplo: `Transfer(address indexed,address indexed,uint256)` sin nombres de argumentos) + - `tokenIDs` (\[]int) -- un arreglo de IDs de token + - `accounts` (\[]cadena) -- un arreglo de direcciones de wallet a escuchar + - `topicHashes` (\[]cadena) -- un hash del evento que se está escuchando (por ejemplo, ethers.id("Transfer(address indexed from, address indexed to, uint256 amount)")) + +
+ + + Para ver la lista completa de eventos de los diferentes tipos de tokens: ERC20, ERC721 o ERC1155, [consulte aquí](/api-references/indexer/examples/webhook-listener#on-chain-token-event-types). + + +**Ejemplo: `AddWebhookListener`** + +En este ejemplo se escuchan todos los minteos de un contrato coleccionable ERC1155: + + + ```bash cURL + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: " \ + -H "Authorization: BEARER " \ + -d '{ + "url": "", + "filters": { + "contractAddresses": ["0x9bec34c1f7098e278afd48fedcf13355b854364a"], + "events": ["TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)"], + } + }' \ + https://arbitrum-sepolia-indexer.sequence.app/rpc/Indexer/AddWebhookListener + ``` + + ```typescript TypeScript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://polygon-indexer.sequence.app', '', '') + + const req = { + url: 'https://webhook.site/27c266b7-ee69-4046-8319-75ce91ec2bcf', + filters: { + contractAddresses: ['0x631998e91476DA5B870D741192fc5Cbc55F5a52E'], + events: ["TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)"] + } + } + + + const ok = await indexer.addWebhookListener({ + Url: req.url, + Filters: req.filters + }) + + console.log('ok', ok) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func GetTransactionHistory(accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", '', '') + + ok, err := seqIndexer.AddWebhookListener(context.Background(), + &proto.WebhookListener{ + Url: "https://webhook.site/27c266b7-ee69-4046-8319-75ce91ec2bcf", + Filters: &proto.WebhookEventFilter{ + Accounts: []prototyp.Hash{prototyp.HashFromString("0xd4Bbf5d234CC95441A8Af0a317D8874eE425e74d")}, + ContractAddresses: []prototyp.Hash{prototyp.HashFromString("0xC852bf35CB7B54a33844B181e6fD163387D85868")}, + // TokenIDs: []prototyp.BigInt{prototyp.NewBigInt(1)}, + }, + }, + ) + fmt.Println(ok, err) + } + ``` + + +## 2. Eliminar un Webhook Listener +Si necesita limpiar sus listeners de webhook, puede enviar solicitudes para eliminar el listener usando el `id` y el `projectId`: + +_Método `RemoveWebhookListener` de Sequence Indexer:_ con campos `required*` +- Solicitud: POST /rpc/Indexer/RemoveWebhookListener +- Content-Type: application/json +- Cuerpo (en JSON): + - `id*` (cadena) -- el id del listener devuelto por `AddWebhookListener` (por ejemplo, `response.listener.id`) + - `projectId*` (cadena) -- el Project ID del que se obtuvo la JWT Secret API key + +**Ejemplo: `RemoveWebhookListener`** + + + ```bash cURL + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: " \ + -H "Authorization: BEARER " \ + -d '{ "id": , "projectId": }' \ + https://arbitrum-sepolia-indexer.sequence.app/rpc/Indexer/RemoveWebhookListener + ``` + + ```typescript TypeScript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer('https://arbitrum-sepolia-indexer.sequence.app', '', '') + + const ok = await indexer.removeWebhookListener({ + id: , + projectId: + }) + + console.log('ok', ok) + ``` + + ```go Go + import ( + "context" + "fmt" + "log" + "net/http" + + "github.com/0xsequence/go-sequence/indexer" + ) + + func RemoveWebhook(accountAddress string) { + seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", '', ) + + ok, err := seqIndexer.RemoveWebhookListener(context.Background(), + &proto.WebhookListener{ + id: , + projectId: , + }, + ) + fmt.Println(ok, err) + } + ``` + + +## Respuesta del Webhook Listener +Al recibir una respuesta del webhook listener, se devuelve un objeto con la siguiente estructura +- Respuesta (en JSON): + - `uid` (cadena) -- un valor hash determinista del log de la transacción on-chain + - `type` (cadena), -- el tipo de evento (por ejemplo, `BLOCK_ADDED`) + - `blockNumber` (i32) -- el número de bloque de la blockchain cuando ocurrió el evento + - `blockHash` (cadena) -- el hash del bloque de la transacción + - `parentBlockHash` (i32) -- el hash del bloque padre + - `contractAddress` (cadena) -- la dirección del contrato de donde proviene el evento + - `contractType` (cadena) -- el tipo de contrato (por ejemplo, `ERC20`, `ERC721`, `ERC1155`, etc.) + - `txnHash` (cadena) -- el hash de la transacción del evento + - `txnIndex` (i32) -- el índice de la transacción en el bloque de la blockchain + - `txnLogIndex` (cadena) -- el índice del log en la transacción + - `ts` (fecha) -- una fecha y hora en formato ISO 8601 del evento + - `event` ([evento](/api-references/indexer/examples/webhook-listener#event-object)) -- los datos del evento de la información on-chain + - `txnLogIndex` (cadena) -- el índice del log en la transacción + - `logDataType` (cadena) -- el tipo de evento de log (por ejemplo, `TOKEN_TRANSFER`) + - `rawLog` ([raw](/api-references/indexer/examples/webhook-listener#rawlog-object)) -- el objeto de transacción sin procesar + +## Ejemplo + +### Escuchar un Token ID específico para un ERC1155 +Si quieres obtener todos los minteos y transferencias de un Token ID específico para un ERC1155 + + + ```bash cURL + curl -X POST \ + -H "Content-Type: application/json" \ + -H "X-Access-Key: " \ + -H "Authorization: BEARER " \ + -d '{ + "url": "", + "filters": { + "contractAddresses": ["0x9bec34c1f7098e278afd48fedcf13355b854364a"], + "events": ["TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value)"], + "tokenIDs": ["1237"] + } + }' \ + https://arbitrum-sepolia-indexer.sequence.app/rpc/Indexer/AddWebhookListener + ``` + + ```typescript TypeScript + // Works in both a Webapp (browser) or Node.js: + import { SequenceIndexer } from '@0xsequence/indexer' + + const indexer = new SequenceIndexer( + 'https://arbitrum-sepolia-indexer.sequence.app', + '', + ' + +### Tipos de eventos de token on-chain + +#### ERC20 + +- Transfer(address indexed from, address indexed to, uint256 value) +- Approval(address indexed owner, address indexed spender, uint256 value) + +#### ERC721 + +- Transfer(address indexed from, address indexed to, uint256 indexed tokenId) +- Approval(address indexed owner, address indexed approved, uint256 indexed tokenId) +- ApprovalForAll(address indexed owner, address indexed operator, bool approved) + +#### ERC1155 + +- TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value) +- TransferBatch(address indexed operator, address indexed from, address indexed to, uint256\[] ids, uint256\[] values) +- ApprovalForAll(address indexed account, address indexed operator, bool approved) +- URI(string value, uint256 indexed id) + +### Glosario de tipos de datos personalizados de retorno + +##### evento (objeto) + +| Campo | Type | Description | +| --------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| topicHash | string | un hash del evento al que se está escuchando (por ejemplo, ethers.id("Transfer(address indexed from, address indexed to, uint256 amount)")) | +| eventSig | string | la firma del evento on-chain (por ejemplo, "Transfer(address indexed from, address indexed to, uint256 amount)") | +| types | \[]string | un arreglo con los tipos de argumentos del evento | +| names | \[]string | un arreglo con los nombres de los argumentos del evento en texto plano (nota: si los nombres no se incluyen al crear el webhook, aparecerán como: arg1, arg2, arg3, etc.) | +| values | \[]string | un arreglo de valores hexadecimales correspondientes a los nombres de los argumentos | + +##### rawLog (objeto) + +| Campo | Type | Description | +| ------ | --------- | --------------------------------------------------------- | +| data | string | data | +| topics | \[]string | los hashes de los tópicos de eventos emitidos en los logs | \ No newline at end of file diff --git a/es/api-references/indexer/installation.mdx b/es/api-references/indexer/installation.mdx new file mode 100644 index 00000000..cfdc110d --- /dev/null +++ b/es/api-references/indexer/installation.mdx @@ -0,0 +1,80 @@ +--- +title: Instalación del Indexer +sidebarTitle: Instalación +--- + +Sequence Indexer es una API sencilla para consultar cualquier dato de tokens y NFTs en blockchain. A continuación se indican instrucciones para integrar la API de Sequence Indexer en aplicaciones web, juegos y backends. Si se lo perdiste, también puedes consultar la [Descripción general del Indexer](/api-references/indexer/overview). + +## Instalación +Sequence Indexer está construido como una API HTTP con endpoints RPC a la que puede acceder directamente desde su aplicación web, juego o backend de servidor. Más abajo encontrará información sobre el esquema de endpoints RPC con ejemplos de comandos curl, junto con ejemplos en Javascript/Typescript y Go. + +Ofrecemos SDKs para [Web / node.js](https://github.com/0xsequence/sequence.js) y [Go](https://github.com/0xsequence/go-sequence). O si desea integrar el Indexer con otro lenguaje, simplemente siga la referencia de la API a continuación para implementar las solicitudes HTTP. Además, puede leer el código fuente del cliente Typescript como [implementación de referencia del cliente de la API del Indexer](https://github.com/0xsequence/sequence.js/blob/master/packages/indexer/src/indexer.gen.ts). + +### Instalación en Web / node.js + + + ```bash npm + npm install 0xsequence ethers + ``` + + o + + ```bash pnpm + pnpm install 0xsequence ethers + ``` + + o + + ```bash yarn + yarn add 0xsequence ethers + ``` + + + + Este código requiere una clave de acceso API de [Sequence Builder](https://sequence.build). + + +```ts +import { SequenceIndexer } from '@0xsequence/indexer' + +// see https://docs.sequence.xyzhttps://status.sequence.info for list of +// indexer hosts for the chain you'd like to query +const indexer = new SequenceIndexer('https://mainnet-indexer.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + +// see examples below for the kinds of queries you can make +const tokenBalances = await indexer.getTokenBalances(...) +``` + +**NOTA:** si está usando `@0xsequence/indexer` desde node.js, recomendamos usar node v18.x o superior. + +
+ +### Instalación en Go + +```bash Terminal +go get -u github.com/0xsequence/go-sequence@latest +``` + +luego, en su aplicación, + +```go Go +import ( + "github.com/0xsequence/go-sequence/indexer" +) + +// see https://docs.sequence.xyzhttps://status.sequence.info for list of +// indexer hosts for the chain you'd like to query +seqIndexer := indexer.NewIndexer("https://polygon-indexer.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + +// see examples below for the kinds of queries you can make +accountAddress := "ACCOUNT_ADDRESS" +includeMetadata := true +metadataOptions := indexer.MetadataOptions{ + VerifiedOnly: true, +} + +_, tokenBalances, err := seqIndexer.GetTokenBalances(context.Background(), &accountAddress, nil, nil, &includeMetadata, &metadataOptions, nil, nil) +``` + +### Instalación en Unity o Unreal +El Sequence Indexer está integrado directamente en los respectivos \[Sequence Unity SDK] y \[Sequence Unreal SDK]. \ No newline at end of file diff --git a/es/api-references/indexer/overview.mdx b/es/api-references/indexer/overview.mdx new file mode 100644 index 00000000..14a0972a --- /dev/null +++ b/es/api-references/indexer/overview.mdx @@ -0,0 +1,35 @@ +--- +title: Indexer +sidebarTitle: Resumen +--- + +Sequence Indexer es un servicio web3 modular que facilita la consulta de datos de tokens y NFTs en blockchain desde redes compatibles con Ethereum. El Indexer indexa automáticamente todos los tokens ERC20, ERC721 y ERC1155 de cadenas compatibles con Ethereum. + +Sequence Indexer es una herramienta potente que puede usarse para crear wallets, juegos y dapps que necesiten consultar datos on-chain. Está diseñado para ser rápido, confiable y fácil de usar. Aprovecha el [Sequence Node Gateway](/api-references/node-gateway), que monitorea la salud de los nodos, enruta inteligentemente las solicitudes a los nodos disponibles y almacena en caché las respuestas más recientes. Esto significa que si algún proveedor de nodos falla, el Node Gateway redirigirá automáticamente a un proveedor saludable, asegurando que el Indexer siempre esté actualizado y sin interrupciones. + +Otro beneficio de usar el Indexer es que utiliza bases de datos de última generación, desarrolladas internamente y basadas en LSM-tree para almacenar los datos. Esto permite consultas e indexación de datos extremadamente rápidas. Los datos están disponibles en tiempo real y con baja latencia. Puede consultarlos usando una API REST sencilla o alguno de nuestros SDKs. + +La API del Indexer le permite consultar todos los balances de tokens, historial y otra información para todas las cadenas compatibles con Ethereum. Para que sea su punto único para todas sus necesidades de datos de tokens, hemos incluido soporte de [Sequence Metadata](/api-references/metadata/overview) para todos los tokens. Esto significa que puede mostrar fácilmente los tokens en sus aplicaciones, juegos o wallets sin necesidad de obtener metadata de una API diferente. + +De hecho, Sequence Wallet utiliza el Indexer en segundo plano para mostrar toda la información de tokens en cualquier wallet de forma fluida. Pero, por supuesto, el Indexer es un componente modular de infraestructura, y puede usarlo directamente desde su dapp, juego o incluso desde un servidor. + +**Características:** +- API ultrarrápida para consultar todos los balances de tokens, historial, metadata y NFTs con soporte multichain +- Indexación en tiempo real de transacciones ERC20, ERC721 y ERC1155 en cadenas compatibles con EVM +- Detecta automáticamente todos los tokens en la cadena, sin necesidad de un registro de contratos +- Resistente a fallos de nodos y reorganizaciones de la cadena +- Escuche fácilmente eventos y transacciones específicas on-chain de forma precisa con una API sencilla +- Soporte integrado de metadata de tokens / NFTs para mostrar fácilmente tokens en sus apps / juegos +- Alta disponibilidad y tiempo de actividad + +## Supported Networks & Endpoints +You can see the [full list of supported networks here](https://status.sequence.info). + +## Primeros pasos +Aquí tiene algunos ejemplos de consultas que puede hacer a una blockchain desde su dapp, juego o wallet: +- [Obtener todos los tokens y NFTs en cualquier wallet, incluyendo toda la metadata](/api-references/indexer/examples/fetch-tokens) +- [Obtener el historial de transacciones de cualquier dirección de wallet](/api-references/indexer/examples/transaction-history) +- [Obtener todos los tokens únicos en un contrato ERC20/721/1155 específico, incluyendo suministros totales](/api-references/indexer/examples/unique-tokens) +- [¿Cuál es el suministro total de un token ERC20? ¿Cuál es el suministro total de todos los tokens ERC1155 en un contrato específico?](/api-references/indexer/examples/unique-tokens) +- [Obtener el historial de transacciones de cualquier dirección de contrato de token](/api-references/indexer/examples/transation-history-token-contract) +- [Escuchar transacciones de tokens/contratos/direcciones específicas mediante webhooks](/api-references/indexer/examples/webhook-listener) \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/get-linked-wallets.mdx b/es/api-references/infrastructure/endpoints/get-linked-wallets.mdx new file mode 100644 index 00000000..96fbaf8d --- /dev/null +++ b/es/api-references/infrastructure/endpoints/get-linked-wallets.mdx @@ -0,0 +1,4 @@ +--- +title: GetLinkedWallets +openapi: ./sequence-api.json post /rpc/API/GetLinkedWallets +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/get-swap-price.mdx b/es/api-references/infrastructure/endpoints/get-swap-price.mdx new file mode 100644 index 00000000..5ff351a3 --- /dev/null +++ b/es/api-references/infrastructure/endpoints/get-swap-price.mdx @@ -0,0 +1,4 @@ +--- +title: GetSwapPrice +openapi: ./sequence-api.json post /rpc/API/GetSwapPrice +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/get-swap-prices.mdx b/es/api-references/infrastructure/endpoints/get-swap-prices.mdx new file mode 100644 index 00000000..d8c83f8f --- /dev/null +++ b/es/api-references/infrastructure/endpoints/get-swap-prices.mdx @@ -0,0 +1,4 @@ +--- +title: GetSwapPrices +openapi: ./sequence-api.json post /rpc/API/GetSwapPrices +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/get-swap-quote.mdx b/es/api-references/infrastructure/endpoints/get-swap-quote.mdx new file mode 100644 index 00000000..5bd4e3b0 --- /dev/null +++ b/es/api-references/infrastructure/endpoints/get-swap-quote.mdx @@ -0,0 +1,4 @@ +--- +title: GetSwapQuote +openapi: ./sequence-api.json post /rpc/API/GetSwapQuote +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof.mdx b/es/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof.mdx new file mode 100644 index 00000000..80157d64 --- /dev/null +++ b/es/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof.mdx @@ -0,0 +1,4 @@ +--- +title: IsValidETHAuthProof +openapi: ./sequence-api.json post /rpc/API/IsValidETHAuthProof +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/is-valid-message-signature.mdx b/es/api-references/infrastructure/endpoints/is-valid-message-signature.mdx new file mode 100644 index 00000000..852ba605 --- /dev/null +++ b/es/api-references/infrastructure/endpoints/is-valid-message-signature.mdx @@ -0,0 +1,4 @@ +--- +title: IsValidMessageSignature +openapi: ./sequence-api.json post /rpc/API/IsValidMessageSignature +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/is-valid-signature.mdx b/es/api-references/infrastructure/endpoints/is-valid-signature.mdx new file mode 100644 index 00000000..2bba5cde --- /dev/null +++ b/es/api-references/infrastructure/endpoints/is-valid-signature.mdx @@ -0,0 +1,4 @@ +--- +title: IsValidSignature +openapi: ./sequence-api.json post /rpc/API/IsValidSignature +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/is-valid-typed-data-signature.mdx b/es/api-references/infrastructure/endpoints/is-valid-typed-data-signature.mdx new file mode 100644 index 00000000..781150cf --- /dev/null +++ b/es/api-references/infrastructure/endpoints/is-valid-typed-data-signature.mdx @@ -0,0 +1,4 @@ +--- +title: IsValidTypedDataSignature +openapi: ./sequence-api.json post /rpc/API/IsValidTypedDataSignature +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/link-wallet.mdx b/es/api-references/infrastructure/endpoints/link-wallet.mdx new file mode 100644 index 00000000..47c0159c --- /dev/null +++ b/es/api-references/infrastructure/endpoints/link-wallet.mdx @@ -0,0 +1,4 @@ +--- +title: LinkWallet +openapi: ./sequence-api.json post /rpc/API/LinkWallet +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/remove-linked-wallet.mdx b/es/api-references/infrastructure/endpoints/remove-linked-wallet.mdx new file mode 100644 index 00000000..025880d4 --- /dev/null +++ b/es/api-references/infrastructure/endpoints/remove-linked-wallet.mdx @@ -0,0 +1,4 @@ +--- +title: RemoveLinkedWallet +openapi: ./sequence-api.json post /rpc/API/RemoveLinkedWallet +--- \ No newline at end of file diff --git a/es/api-references/infrastructure/endpoints/sequence-api.json b/es/api-references/infrastructure/endpoints/sequence-api.json new file mode 100644 index 00000000..bc6e0dde --- /dev/null +++ b/es/api-references/infrastructure/endpoints/sequence-api.json @@ -0,0 +1,3504 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorAborted": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Aborted" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Request aborted" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorGeoblocked": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Geoblocked" + }, + "code": { + "type": "number", + "example": 1006 + }, + "msg": { + "type": "string", + "example": "Geoblocked region" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 451 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUnavailable": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unavailable" + }, + "code": { + "type": "number", + "example": 2002 + }, + "msg": { + "type": "string", + "example": "Unavailable resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorQueryFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "QueryFailed" + }, + "code": { + "type": "number", + "example": 2003 + }, + "msg": { + "type": "string", + "example": "Query failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "SardinePaymentType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "ach", + "debit", + "credit", + "us_debit", + "international_debit", + "international_credit" + ] + }, + "SardineQuoteType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "buy", + "sell" + ] + }, + "TokenType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "ver", + "branch", + "commitHash", + "checks", + "numTxnsRelayed" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + }, + "numTxnsRelayed": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/NumTxnsRelayed" + } + } + } + }, + "NumTxnsRelayed": { + "type": "object", + "required": [ + "chainID", + "prev", + "current", + "period" + ], + "properties": { + "chainID": { + "type": "number" + }, + "prev": { + "type": "number" + }, + "current": { + "type": "number" + }, + "period": { + "type": "number" + } + } + }, + "RuntimeChecks": { + "type": "object" + }, + "SequenceContext": { + "type": "object", + "required": [ + "factory", + "mainModule", + "mainModuleUpgradable", + "guestModule", + "utils" + ], + "properties": { + "factory": { + "type": "string" + }, + "mainModule": { + "type": "string" + }, + "mainModuleUpgradable": { + "type": "string" + }, + "guestModule": { + "type": "string" + }, + "utils": { + "type": "string" + } + } + }, + "User": { + "type": "object", + "required": [ + "address", + "username", + "normalizedUsername", + "avatar", + "bio", + "location", + "locale", + "sysAdmin" + ], + "properties": { + "address": { + "type": "string" + }, + "username": { + "type": "string" + }, + "normalizedUsername": { + "type": "string" + }, + "avatar": { + "type": "string" + }, + "bio": { + "type": "string" + }, + "location": { + "type": "string" + }, + "locale": { + "type": "string" + }, + "backup": { + "type": "boolean" + }, + "backupConfirmed": { + "type": "boolean" + }, + "maxInvites": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "sysAdmin": { + "type": "boolean" + } + } + }, + "WalletBackup": { + "type": "object", + "required": [ + "accountAddress", + "secretHash", + "encryptedWallet", + "userConfirmed" + ], + "properties": { + "accountAddress": { + "type": "string" + }, + "secretHash": { + "type": "string" + }, + "encryptedWallet": { + "type": "string" + }, + "userConfirmed": { + "type": "boolean" + }, + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "Friend": { + "type": "object", + "required": [ + "id", + "userAddress", + "friendAddress", + "nickname" + ], + "properties": { + "id": { + "type": "number" + }, + "userAddress": { + "type": "string" + }, + "friendAddress": { + "type": "string" + }, + "nickname": { + "type": "string" + }, + "user": { + "$ref": "#/components/schemas/User" + }, + "createdAt": { + "type": "string" + } + } + }, + "InviteCode": { + "type": "object", + "required": [ + "code", + "source", + "usesLeft", + "ownerAccount", + "url" + ], + "properties": { + "code": { + "type": "string" + }, + "source": { + "type": "string" + }, + "usesLeft": { + "type": "number" + }, + "ownerAccount": { + "type": "string" + }, + "email": { + "type": "string" + }, + "url": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "expiresAt": { + "type": "string" + } + } + }, + "InviteCodeAccount": { + "type": "object", + "required": [ + "code", + "claimedByUserAddress" + ], + "properties": { + "code": { + "type": "string" + }, + "claimedByUserAddress": { + "type": "string" + }, + "claimedAt": { + "type": "string" + } + } + }, + "InviteInfo": { + "type": "object", + "required": [ + "expiryInHours", + "max", + "invites" + ], + "properties": { + "expiryInHours": { + "type": "number" + }, + "max": { + "type": "number" + }, + "invites": { + "type": "array", + "description": "[]InviteCode", + "items": { + "$ref": "#/components/schemas/InviteCode" + } + } + } + }, + "ContractCall": { + "type": "object", + "required": [ + "signature", + "function", + "args" + ], + "properties": { + "signature": { + "type": "string" + }, + "function": { + "type": "string" + }, + "args": { + "type": "array", + "description": "[]TupleComponent", + "items": { + "$ref": "#/components/schemas/TupleComponent" + } + } + } + }, + "TupleComponent": { + "type": "object", + "required": [ + "type", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "value": { + "type": "object" + } + } + }, + "Transaction": { + "type": "object", + "required": [ + "delegateCall", + "revertOnError", + "gasLimit", + "target", + "value", + "data" + ], + "properties": { + "delegateCall": { + "type": "boolean" + }, + "revertOnError": { + "type": "boolean" + }, + "gasLimit": { + "type": "string" + }, + "target": { + "type": "string" + }, + "value": { + "type": "string" + }, + "data": { + "type": "string" + }, + "call": { + "$ref": "#/components/schemas/ContractCall" + } + } + }, + "UserStorage": { + "type": "object", + "required": [ + "userAddress", + "key", + "value" + ], + "properties": { + "userAddress": { + "type": "string" + }, + "key": { + "type": "string" + }, + "value": { + "type": "object" + } + } + }, + "Token": { + "type": "object", + "required": [ + "chainId", + "contractAddress" + ], + "properties": { + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + } + } + }, + "Price": { + "type": "object", + "required": [ + "value", + "currency" + ], + "properties": { + "value": { + "type": "number" + }, + "currency": { + "type": "string" + } + } + }, + "TokenPrice": { + "type": "object", + "required": [ + "token", + "floorPrice", + "buyPrice", + "sellPrice", + "updatedAt" + ], + "properties": { + "token": { + "$ref": "#/components/schemas/Token" + }, + "price": { + "$ref": "#/components/schemas/Price" + }, + "price24hChange": { + "$ref": "#/components/schemas/Price" + }, + "floorPrice": { + "$ref": "#/components/schemas/Price" + }, + "buyPrice": { + "$ref": "#/components/schemas/Price" + }, + "sellPrice": { + "$ref": "#/components/schemas/Price" + }, + "updatedAt": { + "type": "string" + } + } + }, + "ExchangeRate": { + "type": "object", + "required": [ + "name", + "symbol", + "value", + "vsCurrency", + "currencyType" + ], + "properties": { + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "value": { + "type": "number" + }, + "vsCurrency": { + "type": "string" + }, + "currencyType": { + "type": "string" + } + } + }, + "LinkedWallet": { + "type": "object", + "required": [ + "id", + "walletAddress", + "linkedWalletAddress" + ], + "properties": { + "id": { + "type": "number" + }, + "walletType": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "linkedWalletAddress": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "Page": { + "type": "object", + "properties": { + "pageSize": { + "type": "number" + }, + "page": { + "type": "number" + }, + "totalRecords": { + "type": "number" + }, + "column": { + "type": "string" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + }, + "more": { + "type": "boolean" + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column", + "order" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "SardineNFTCheckoutParams": { + "type": "object", + "required": [ + "name", + "imageUrl", + "network", + "recipientAddress", + "blockchainNftId", + "contractAddress", + "quantity", + "tokenAmount", + "tokenAddress", + "tokenSymbol", + "calldata", + "platform" + ], + "properties": { + "name": { + "type": "string" + }, + "imageUrl": { + "type": "string" + }, + "network": { + "type": "string" + }, + "recipientAddress": { + "type": "string" + }, + "blockchainNftId": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "quantity": { + "type": "number" + }, + "decimals": { + "type": "number" + }, + "tokenAmount": { + "type": "string" + }, + "tokenAddress": { + "type": "string" + }, + "tokenSymbol": { + "type": "string" + }, + "tokenDecimals": { + "type": "number" + }, + "calldata": { + "type": "string" + }, + "platform": { + "type": "string" + }, + "approvedSpenderAddress": { + "type": "string" + } + } + }, + "SardineNFTCheckout": { + "type": "object", + "required": [ + "token", + "expiresAt", + "orderId" + ], + "properties": { + "token": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "orderId": { + "type": "string" + } + } + }, + "SardineOrder": { + "type": "object", + "required": [ + "id", + "referenceId", + "status", + "fiatCurrency", + "fiatExchangeRateUSD", + "transactionId", + "total", + "subTotal", + "transactionFee", + "networkFee", + "transactionType", + "name", + "price", + "imageUrl", + "recipientAddress" + ], + "properties": { + "id": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "referenceId": { + "type": "string" + }, + "status": { + "type": "string" + }, + "fiatCurrency": { + "type": "string" + }, + "fiatExchangeRateUSD": { + "type": "number" + }, + "transactionId": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "total": { + "type": "number" + }, + "subTotal": { + "type": "number" + }, + "transactionFee": { + "type": "number" + }, + "networkFee": { + "type": "number" + }, + "paymentCurrency": { + "type": "string" + }, + "paymentMethodType": { + "type": "string" + }, + "transactionType": { + "type": "string" + }, + "name": { + "type": "string" + }, + "price": { + "type": "number" + }, + "imageUrl": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "transactionHash": { + "type": "string" + }, + "recipientAddress": { + "type": "string" + } + } + }, + "SardineRegion": { + "type": "object", + "required": [ + "countryCode", + "isAllowedOnRamp", + "isAllowedOnNFT", + "isBasicKycRequired", + "isSsnRequired", + "name", + "currencyCode", + "isPayrollSupported", + "supportedDocuments", + "paymentMethods", + "states" + ], + "properties": { + "countryCode": { + "type": "string" + }, + "isAllowedOnRamp": { + "type": "boolean" + }, + "isAllowedOnNFT": { + "type": "boolean" + }, + "isBasicKycRequired": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "isSsnRequired": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "name": { + "type": "string" + }, + "currencyCode": { + "type": "string" + }, + "isPayrollSupported": { + "type": "boolean" + }, + "supportedDocuments": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "paymentMethods": { + "type": "array", + "description": "[]SardineRegionPaymentMethod", + "items": { + "$ref": "#/components/schemas/SardineRegionPaymentMethod" + } + }, + "states": { + "type": "array", + "description": "[]SardineRegionState", + "items": { + "$ref": "#/components/schemas/SardineRegionState" + } + } + } + }, + "SardineRegionPaymentMethod": { + "type": "object", + "required": [ + "name", + "isAllowedOnRamp", + "isAllowedOnNFT", + "subTypes", + "type", + "subType" + ], + "properties": { + "name": { + "type": "string" + }, + "isAllowedOnRamp": { + "type": "boolean" + }, + "isAllowedOnNFT": { + "type": "boolean" + }, + "subTypes": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + }, + "subType": { + "type": "string" + } + } + }, + "SardineRegionState": { + "type": "object", + "required": [ + "code", + "name", + "isAllowedOnRamp", + "isAllowedOnNFT" + ], + "properties": { + "code": { + "type": "string" + }, + "name": { + "type": "string" + }, + "isAllowedOnRamp": { + "type": "boolean" + }, + "isAllowedOnNFT": { + "type": "boolean" + } + } + }, + "SardineSupportedToken": { + "type": "object", + "required": [ + "network", + "assetSymbol", + "assetName", + "chainId", + "tokenName", + "token", + "tokenAddress" + ], + "properties": { + "network": { + "type": "string" + }, + "assetSymbol": { + "type": "string" + }, + "assetName": { + "type": "string" + }, + "chainId": { + "type": "string" + }, + "tokenName": { + "type": "string" + }, + "token": { + "type": "string" + }, + "tokenAddress": { + "type": "string" + } + } + }, + "SardineEnabledToken": { + "type": "object", + "required": [ + "network", + "assetSymbol", + "assetName", + "chainId", + "tokenName", + "token", + "tokenAddress" + ], + "properties": { + "network": { + "type": "string" + }, + "assetSymbol": { + "type": "string" + }, + "assetName": { + "type": "string" + }, + "chainId": { + "type": "string" + }, + "tokenName": { + "type": "string" + }, + "token": { + "type": "string" + }, + "tokenAddress": { + "type": "string" + } + } + }, + "SardineGetQuoteParams": { + "type": "object", + "required": [ + "assetType", + "network", + "total" + ], + "properties": { + "assetType": { + "type": "string" + }, + "network": { + "type": "string" + }, + "total": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "paymentType": { + "$ref": "#/components/schemas/SardinePaymentType" + }, + "quoteType": { + "$ref": "#/components/schemas/SardineQuoteType" + }, + "walletAddress": { + "type": "string" + } + } + }, + "SardineQuote": { + "type": "object", + "required": [ + "quantity", + "network", + "assetType", + "total", + "currency", + "expiresAt", + "paymentType", + "price", + "subtotal", + "transactionFee", + "networkFee", + "highNetworkFee", + "minTransactionValue", + "maxTransactionValue", + "liquidityProvider" + ], + "properties": { + "quantity": { + "type": "number" + }, + "network": { + "type": "string" + }, + "assetType": { + "type": "string" + }, + "total": { + "type": "number" + }, + "currency": { + "type": "string" + }, + "expiresAt": { + "type": "string" + }, + "paymentType": { + "type": "string" + }, + "price": { + "type": "number" + }, + "subtotal": { + "type": "number" + }, + "transactionFee": { + "type": "number" + }, + "networkFee": { + "type": "number" + }, + "highNetworkFee": { + "type": "boolean" + }, + "minTransactionValue": { + "type": "number" + }, + "maxTransactionValue": { + "type": "number" + }, + "liquidityProvider": { + "type": "string" + } + } + }, + "SardineFiatCurrency": { + "type": "object", + "required": [ + "currencyCode", + "name", + "currencySymbol", + "paymentOptions", + "supportingCountries" + ], + "properties": { + "currencyCode": { + "type": "string" + }, + "name": { + "type": "string" + }, + "currencySymbol": { + "type": "string" + }, + "paymentOptions": { + "type": "array", + "description": "[]SardinePaymentOption", + "items": { + "$ref": "#/components/schemas/SardinePaymentOption" + } + }, + "supportingCountries": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "SardinePaymentOption": { + "type": "object", + "required": [ + "name", + "dailyLimit", + "weeklyLimit", + "monthlyLimit", + "maxAmount", + "minAmount", + "subTypes", + "type", + "subType", + "processingTime" + ], + "properties": { + "name": { + "type": "string" + }, + "dailyLimit": { + "type": "number" + }, + "weeklyLimit": { + "type": "number" + }, + "monthlyLimit": { + "type": "number" + }, + "maxAmount": { + "type": "number" + }, + "minAmount": { + "type": "number" + }, + "subTypes": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "type": { + "type": "string" + }, + "subType": { + "type": "string" + }, + "processingTime": { + "type": "string" + } + } + }, + "SwapPrice": { + "type": "object", + "required": [ + "currencyAddress", + "currencyBalance", + "price", + "maxPrice", + "transactionValue" + ], + "properties": { + "currencyAddress": { + "type": "string" + }, + "currencyBalance": { + "type": "string" + }, + "price": { + "type": "string" + }, + "maxPrice": { + "type": "string" + }, + "transactionValue": { + "type": "string" + } + } + }, + "SwapQuote": { + "type": "object", + "required": [ + "currencyAddress", + "currencyBalance", + "price", + "maxPrice", + "to", + "transactionData", + "transactionValue", + "approveData" + ], + "properties": { + "currencyAddress": { + "type": "string" + }, + "currencyBalance": { + "type": "string" + }, + "price": { + "type": "string" + }, + "maxPrice": { + "type": "string" + }, + "to": { + "type": "string" + }, + "transactionData": { + "type": "string" + }, + "transactionValue": { + "type": "string" + }, + "approveData": { + "type": "string" + } + } + }, + "CurrencyGroup": { + "type": "object", + "required": [ + "name", + "tokens" + ], + "properties": { + "name": { + "type": "string" + }, + "tokens": { + "type": "array", + "description": "[]CurrencyGroupToken", + "items": { + "$ref": "#/components/schemas/CurrencyGroupToken" + } + } + } + }, + "CurrencyGroupToken": { + "type": "object", + "required": [ + "chainId", + "tokenAddress" + ], + "properties": { + "chainId": { + "type": "number" + }, + "tokenAddress": { + "type": "string" + } + } + }, + "OffchainInventory": { + "type": "object", + "required": [ + "id", + "projectId", + "chainId", + "externalProductId", + "paymentTokenAddress", + "paymentTokenType", + "paymentTokenId", + "paymentAmount", + "paymentRecipient", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "externalProductId": { + "type": "string" + }, + "paymentTokenAddress": { + "type": "string" + }, + "paymentTokenType": { + "$ref": "#/components/schemas/TokenType" + }, + "paymentTokenId": { + "type": "number" + }, + "paymentAmount": { + "type": "number" + }, + "paymentRecipient": { + "type": "string" + }, + "chainedCallAddress": { + "type": "string" + }, + "chainedCallData": { + "type": "string" + }, + "allowCrossChainPayments": { + "type": "boolean" + }, + "callbackURL": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "OffchainPayment": { + "type": "object", + "required": [ + "id", + "offchainInventoryId", + "productRecipient", + "paymentChainId", + "paymentTokenAddress", + "expiration", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "offchainInventoryId": { + "type": "number" + }, + "productRecipient": { + "type": "string" + }, + "paymentChainId": { + "type": "number" + }, + "paymentTokenAddress": { + "type": "string" + }, + "expiration": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "completedAt": { + "type": "string" + }, + "processedAt": { + "type": "string" + } + } + }, + "PaymentResponse": { + "type": "object", + "required": [ + "paymentId", + "offchainInventoryId", + "chainId", + "externalProductId", + "paymentTokenAddress", + "paymentTokenType", + "paymentTokenId", + "paymentTotal", + "expiration", + "signature", + "txTo", + "txData" + ], + "properties": { + "paymentId": { + "type": "number" + }, + "offchainInventoryId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "externalProductId": { + "type": "string" + }, + "paymentTokenAddress": { + "type": "string" + }, + "paymentTokenType": { + "$ref": "#/components/schemas/TokenType" + }, + "paymentTokenId": { + "type": "number" + }, + "paymentTotal": { + "type": "number" + }, + "expiration": { + "type": "string" + }, + "signature": { + "type": "string" + }, + "txTo": { + "type": "string" + }, + "txData": { + "type": "string" + } + } + }, + "API_IsValidSignature_Request": { + "type": "object", + "properties": { + "chainId": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "signature": { + "type": "string" + } + } + }, + "API_IsValidMessageSignature_Request": { + "type": "object", + "properties": { + "chainId": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "message": { + "type": "string" + }, + "signature": { + "type": "string" + } + } + }, + "API_IsValidTypedDataSignature_Request": { + "type": "object", + "properties": { + "chainId": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "typedData": { + "type": "object" + }, + "signature": { + "type": "string" + } + } + }, + "API_IsValidETHAuthProof_Request": { + "type": "object", + "properties": { + "chainId": { + "type": "string" + }, + "walletAddress": { + "type": "string" + }, + "ethAuthProofString": { + "type": "string" + } + } + }, + "API_LinkWallet_Request": { + "type": "object", + "properties": { + "parentWalletAddress": { + "type": "string" + }, + "parentWalletMessage": { + "type": "string" + }, + "parentWalletSignature": { + "type": "string" + }, + "linkedWalletAddress": { + "type": "string" + }, + "linkedWalletMessage": { + "type": "string" + }, + "linkedWalletSignature": { + "type": "string" + }, + "signatureChainId": { + "type": "string" + }, + "linkedWalletType": { + "type": "string" + } + } + }, + "API_GetLinkedWallets_Request": { + "type": "object", + "properties": { + "parentWalletAddress": { + "type": "string" + }, + "parentWalletMessage": { + "type": "string" + }, + "parentWalletSignature": { + "type": "string" + }, + "signatureChainId": { + "type": "string" + } + } + }, + "API_RemoveLinkedWallet_Request": { + "type": "object", + "properties": { + "parentWalletAddress": { + "type": "string" + }, + "parentWalletMessage": { + "type": "string" + }, + "parentWalletSignature": { + "type": "string" + }, + "linkedWalletAddress": { + "type": "string" + }, + "linkedWalletMessage": { + "type": "string" + }, + "linkedWalletSignature": { + "type": "string" + }, + "signatureChainId": { + "type": "string" + } + } + }, + "API_GetSwapPrice_Request": { + "type": "object", + "properties": { + "buyCurrencyAddress": { + "type": "string" + }, + "sellCurrencyAddress": { + "type": "string" + }, + "buyAmount": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "slippagePercentage": { + "type": "number" + } + } + }, + "API_GetSwapPrices_Request": { + "type": "object", + "properties": { + "userAddress": { + "type": "string" + }, + "buyCurrencyAddress": { + "type": "string" + }, + "buyAmount": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "slippagePercentage": { + "type": "number" + } + } + }, + "API_GetSwapQuote_Request": { + "type": "object", + "properties": { + "userAddress": { + "type": "string" + }, + "buyCurrencyAddress": { + "type": "string" + }, + "sellCurrencyAddress": { + "type": "string" + }, + "buyAmount": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "includeApprove": { + "type": "boolean" + }, + "slippagePercentage": { + "type": "number" + } + } + }, + "API_IsValidSignature_Response": { + "type": "object", + "properties": { + "isValid": { + "type": "boolean" + } + } + }, + "API_IsValidMessageSignature_Response": { + "type": "object", + "properties": { + "isValid": { + "type": "boolean" + } + } + }, + "API_IsValidTypedDataSignature_Response": { + "type": "object", + "properties": { + "isValid": { + "type": "boolean" + } + } + }, + "API_IsValidETHAuthProof_Response": { + "type": "object", + "properties": { + "isValid": { + "type": "boolean" + } + } + }, + "API_LinkWallet_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "API_GetLinkedWallets_Response": { + "type": "object", + "properties": { + "linkedWallets": { + "type": "array", + "description": "[]LinkedWallet", + "items": { + "$ref": "#/components/schemas/LinkedWallet" + } + } + } + }, + "API_RemoveLinkedWallet_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "API_GetSwapPrice_Response": { + "type": "object", + "properties": { + "swapPrice": { + "$ref": "#/components/schemas/SwapPrice" + } + } + }, + "API_GetSwapPrices_Response": { + "type": "object", + "properties": { + "swapPrices": { + "type": "array", + "description": "[]SwapPrice", + "items": { + "$ref": "#/components/schemas/SwapPrice" + } + } + } + }, + "API_GetSwapQuote_Response": { + "type": "object", + "properties": { + "swapQuote": { + "$ref": "#/components/schemas/SwapQuote" + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Sequence Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/API/IsValidSignature": { + "post": { + "summary": "IsValidSignature", + "description": "TODO: we can add walletContext optional in the future when we need it NOTE: chainId can be either a number or canonical name", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidSignature_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidSignature_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/IsValidMessageSignature": { + "post": { + "summary": "IsValidMessageSignature", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidMessageSignature_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidMessageSignature_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/IsValidTypedDataSignature": { + "post": { + "summary": "IsValidTypedDataSignature", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidTypedDataSignature_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidTypedDataSignature_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/IsValidETHAuthProof": { + "post": { + "summary": "IsValidETHAuthProof", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidETHAuthProof_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_IsValidETHAuthProof_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/LinkWallet": { + "post": { + "summary": "LinkWallet", + "description": "Send a Payload to link a user wallet, this would require a signed message from both parent wallet (Embedded Wallet) and a linking wallet like an EOA.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_LinkWallet_Request" + }, + "example": { + "signatureChainId": "137", + "linkedWalletType": "MetaMask", + "parentWalletAddress": "0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "parentWalletMessage": "child wallet with address 0x4f8A351143A0aAec055873959b8Cb705c00a37F6", + "parentWalletSignature": "0x01000100000000020189e6eb0408ae08542bcc99696fba0c001f6aa3ac0000fe01000300000000060100010000740001b467851352ace0a432c71a157e6fd6b5007b86e473247919461148e5eed2bd68226f24168e61a2c1dddb3c860188dec82df140637dc765d1be3ad814853db8a91c010400002c01019cec96321d5a54df2277fe3dbb2405016a3bbf9601013f5602872eff7ef96e69ef2409e0dd3c62923bd7060200010000740001069b3fb27e49dcb5e396cac5d5b073be0d86ae1e4a591150387b98583a7a23856f3ad6e24a21cc56d5cab9f61708e88cf526de72eff8b83416de7b8cab6378f51c010400002c0101951448847a03ad1005a0e463dff0da093690ff240101e0f61b36d02be47455ce5332e9d7bb43bf8f344b030100c46d323d87fc26dad057c9a8d5faeb7112ab829e", + "linkedWalletAddress": "0x4f8A351143A0aAec055873959b8Cb705c00a37F6", + "linkedWalletMessage": "Link to parent wallet with address 0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "linkedWalletSignature": "0x0d31791e6aefbd01590f846e93a7740988a6d5ffc50a59ee0941747c2740242a3ec105fddf66a8b39b49db5d13de9d68a36c5fd7e1e83da1e01657c9996d87181c" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_LinkWallet_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/GetLinkedWallets": { + "post": { + "summary": "GetLinkedWallets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetLinkedWallets_Request" + }, + "example": { + "parentWalletAddress": "0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "parentWalletMessage": "parent wallet with address 0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "parentWalletSignature": "0x01000100000000020189e6eb0408ae08542bcc99696fba0c001f6aa3ac0000fe010003000000000601000100007400019b61caaf15c224553593641f40c0ecd8d57e589dd9b04c129505d4537d979b827548ad6feef3379b0c3442e9b76ac07e06307e779c9b3a5fd4ec2ff27037eac81b010400002c01019cec96321d5a54df2277fe3dbb2405016a3bbf9601013f5602872eff7ef96e69ef2409e0dd3c62923bd7060200010000740001c0fb1a592dd8424b917820c1d8ae25bd1516df486fa6f7610999b141fac46f1e072a5c439d21eaad9521b912b68c428135117bef95bebf56d0a2dfe61fc8fddd1c010400002c0101951448847a03ad1005a0e463dff0da093690ff240101e0f61b36d02be47455ce5332e9d7bb43bf8f344b030100c46d323d87fc26dad057c9a8d5faeb7112ab829e", + "signatureChainId": "137" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetLinkedWallets_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Query all wallets that are linked", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/RemoveLinkedWallet": { + "post": { + "summary": "RemoveLinkedWallet", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_RemoveLinkedWallet_Request" + }, + "example": { + "signatureChainId": "137", + "parentWalletAddress": "0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "parentWalletMessage": "child wallet with address 0x4f8A351143A0aAec055873959b8Cb705c00a37F6", + "parentWalletSignature": "0x01000100000000020189e6eb0408ae08542bcc99696fba0c001f6aa3ac0000fe01000300000000060100010000740001b467851352ace0a432c71a157e6fd6b5007b86e473247919461148e5eed2bd68226f24168e61a2c1dddb3c860188dec82df140637dc765d1be3ad814853db8a91c010400002c01019cec96321d5a54df2277fe3dbb2405016a3bbf9601013f5602872eff7ef96e69ef2409e0dd3c62923bd7060200010000740001069b3fb27e49dcb5e396cac5d5b073be0d86ae1e4a591150387b98583a7a23856f3ad6e24a21cc56d5cab9f61708e88cf526de72eff8b83416de7b8cab6378f51c010400002c0101951448847a03ad1005a0e463dff0da093690ff240101e0f61b36d02be47455ce5332e9d7bb43bf8f344b030100c46d323d87fc26dad057c9a8d5faeb7112ab829e", + "linkedWalletAddress": "0x4f8A351143A0aAec055873959b8Cb705c00a37F6", + "linkedWalletMessage": "Unlink from parent wallet with address 0xb33018E5C4f5A168f5560D9C05597508dA8a4E91", + "linkedWalletSignature": "0x3cb92cfae098adb135560f52158fb6fc4c02ca962b9a8721ab6203440f116464259099457f014d46b078d59a02946c3f40b6031f89efa2ac9df4ddc7f88ec1131b" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_RemoveLinkedWallet_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Send a Payload to link a user wallet, this would require a signed message from both parent wallet (Embedded Wallet) and a linking wallet like an EOA.", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/GetSwapPrice": { + "post": { + "summary": "GetSwapPrice", + "description": " Currency abstraction ", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapPrice_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapPrice_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/GetSwapPrices": { + "post": { + "summary": "GetSwapPrices", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapPrices_Request" + }, + "example": { + "userAddress": "0x1fEA9Fcbd1989C0f2D0Fbad08144c528c7F5ea54", + "buyCurrencyAddress": "0x50ba9d89fbfa2862d0447281219a3058e7724224", + "buyAmount": "1000000000000000000", + "chainId": 11155111 + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapPrices_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "Retrieve swap prices for the specified ERC20 token at the address provided as 'buyCurrencyAddress'. The result will be 'null' if the user lacks sufficient funds or if there is insufficient pool liquidity.", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/API/GetSwapQuote": { + "post": { + "summary": "GetSwapQuote", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapQuote_Request" + }, + "example": { + "userAddress": "0x1fEA9Fcbd1989C0f2D0Fbad08144c528c7F5ea54", + "sellCurrencyAddress": "0x1c7d4b196cb0c7b01d743fbc6116a902379c7238", + "buyCurrencyAddress": "0x50ba9d89fbfa2862d0447281219a3058e7724224", + "buyAmount": "1000000000000000000", + "chainId": 11155111, + "includeApprove": true + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/API_GetSwapQuote_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "description": "After selecting a swap price from 'GetSwapPrices', use this API to retrieve the transaction data needed to execute the swap on-chain.", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://api.sequence.app/", + "description": "Api" + } + ] +} \ No newline at end of file diff --git a/es/api-references/infrastructure/overview.mdx b/es/api-references/infrastructure/overview.mdx new file mode 100644 index 00000000..b5a2eb77 --- /dev/null +++ b/es/api-references/infrastructure/overview.mdx @@ -0,0 +1,8 @@ +--- +title: API de Infraestructura Stack +sidebarTitle: Resumen +--- + +La API Sequence Infrastructure contiene una variedad de servicios que potencian la infraestructura de Sequence y que puede aprovechar en su propia aplicación. Esto incluye Abstracción de Moneda, endpoints de Criptografía, vinculación de wallet y más. + +Consulte nuestras Referencias de API [aquí](/api-references/infrastructure/endpoints) para comenzar. \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/checkout-options-marketplace.mdx b/es/api-references/marketplace/endpoints/checkout-options-marketplace.mdx new file mode 100644 index 00000000..0abf376f --- /dev/null +++ b/es/api-references/marketplace/endpoints/checkout-options-marketplace.mdx @@ -0,0 +1,4 @@ +--- +title: CheckoutOptionsMarketplace +openapi: ./sequence-marketplace.json post /rpc/Marketplace/CheckoutOptionsMarketplace +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/checkout-options-sales-contract.mdx b/es/api-references/marketplace/endpoints/checkout-options-sales-contract.mdx new file mode 100644 index 00000000..0467532b --- /dev/null +++ b/es/api-references/marketplace/endpoints/checkout-options-sales-contract.mdx @@ -0,0 +1,4 @@ +--- +title: CheckoutOptionsSalesContract +openapi: ./sequence-marketplace.json post /rpc/Marketplace/CheckoutOptionsSalesContract +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/generate-buy-transaction.mdx b/es/api-references/marketplace/endpoints/generate-buy-transaction.mdx new file mode 100644 index 00000000..82e25ef3 --- /dev/null +++ b/es/api-references/marketplace/endpoints/generate-buy-transaction.mdx @@ -0,0 +1,4 @@ +--- +title: GenerateBuyTransaction +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GenerateBuyTransaction +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/generate-cancel-transaction.mdx b/es/api-references/marketplace/endpoints/generate-cancel-transaction.mdx new file mode 100644 index 00000000..12fa30b2 --- /dev/null +++ b/es/api-references/marketplace/endpoints/generate-cancel-transaction.mdx @@ -0,0 +1,4 @@ +--- +title: GenerateCancelTransaction +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GenerateCancelTransaction +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/generate-listing-transaction.mdx b/es/api-references/marketplace/endpoints/generate-listing-transaction.mdx new file mode 100644 index 00000000..6e62b8b1 --- /dev/null +++ b/es/api-references/marketplace/endpoints/generate-listing-transaction.mdx @@ -0,0 +1,4 @@ +--- +title: GenerateListingTransaction +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GenerateListingTransaction +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/generate-offer-transaction.mdx b/es/api-references/marketplace/endpoints/generate-offer-transaction.mdx new file mode 100644 index 00000000..0551e9b2 --- /dev/null +++ b/es/api-references/marketplace/endpoints/generate-offer-transaction.mdx @@ -0,0 +1,4 @@ +--- +title: GenerateOfferTransaction +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GenerateOfferTransaction +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/generate-sell-transaction.mdx b/es/api-references/marketplace/endpoints/generate-sell-transaction.mdx new file mode 100644 index 00000000..595c490f --- /dev/null +++ b/es/api-references/marketplace/endpoints/generate-sell-transaction.mdx @@ -0,0 +1,4 @@ +--- +title: GenerateSellTransaction +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GenerateSellTransaction +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-collectible.mdx b/es/api-references/marketplace/endpoints/get-collectible.mdx new file mode 100644 index 00000000..86d8053c --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: GetCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-count-of-all-collectibles.mdx b/es/api-references/marketplace/endpoints/get-count-of-all-collectibles.mdx new file mode 100644 index 00000000..2144d18b --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-count-of-all-collectibles.mdx @@ -0,0 +1,4 @@ +--- +title: GetCountOfAllCollectibles +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetCountOfAllCollectibles +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-count-of-filtered-collectibles.mdx b/es/api-references/marketplace/endpoints/get-count-of-filtered-collectibles.mdx new file mode 100644 index 00000000..da8bc382 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-count-of-filtered-collectibles.mdx @@ -0,0 +1,4 @@ +--- +title: GetCountOfFilteredCollectibles +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetCountOfFilteredCollectibles +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-floor-order.mdx b/es/api-references/marketplace/endpoints/get-floor-order.mdx new file mode 100644 index 00000000..af2d3ff6 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-floor-order.mdx @@ -0,0 +1,4 @@ +--- +title: GetFloorOrder +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetFloorOrder +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible.mdx b/es/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible.mdx new file mode 100644 index 00000000..cde25198 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: GetHighestPriceListingForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetHighestPriceListingForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible.mdx b/es/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible.mdx new file mode 100644 index 00000000..ead3b2e4 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: GetHighestPriceOfferForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetHighestPriceOfferForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible.mdx b/es/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible.mdx new file mode 100644 index 00000000..31dc01f7 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: GetLowestPriceListingForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetLowestPriceListingForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible.mdx b/es/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible.mdx new file mode 100644 index 00000000..2887736a --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: GetLowestPriceOfferForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetLowestPriceOfferForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/get-orders.mdx b/es/api-references/marketplace/endpoints/get-orders.mdx new file mode 100644 index 00000000..8aec7d88 --- /dev/null +++ b/es/api-references/marketplace/endpoints/get-orders.mdx @@ -0,0 +1,4 @@ +--- +title: GetOrders +openapi: ./sequence-marketplace.json post /rpc/Marketplace/GetOrders +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/list-collectibles.mdx b/es/api-references/marketplace/endpoints/list-collectibles.mdx new file mode 100644 index 00000000..8711d7c9 --- /dev/null +++ b/es/api-references/marketplace/endpoints/list-collectibles.mdx @@ -0,0 +1,4 @@ +--- +title: ListCollectibles +openapi: ./sequence-marketplace.json post /rpc/Marketplace/ListCollectibles +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/list-currencies.mdx b/es/api-references/marketplace/endpoints/list-currencies.mdx new file mode 100644 index 00000000..766688d4 --- /dev/null +++ b/es/api-references/marketplace/endpoints/list-currencies.mdx @@ -0,0 +1,4 @@ +--- +title: ListCurrencies +openapi: ./sequence-marketplace.json post /rpc/Marketplace/ListCurrencies +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/list-listings-for-collectible.mdx b/es/api-references/marketplace/endpoints/list-listings-for-collectible.mdx new file mode 100644 index 00000000..b1dca39e --- /dev/null +++ b/es/api-references/marketplace/endpoints/list-listings-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: ListListingsForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/ListListingsForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/list-offers-for-collectible.mdx b/es/api-references/marketplace/endpoints/list-offers-for-collectible.mdx new file mode 100644 index 00000000..c48f1465 --- /dev/null +++ b/es/api-references/marketplace/endpoints/list-offers-for-collectible.mdx @@ -0,0 +1,4 @@ +--- +title: ListOffersForCollectible +openapi: ./sequence-marketplace.json post /rpc/Marketplace/ListOffersForCollectible +--- \ No newline at end of file diff --git a/es/api-references/marketplace/endpoints/sequence-marketplace.json b/es/api-references/marketplace/endpoints/sequence-marketplace.json new file mode 100644 index 00000000..b6710554 --- /dev/null +++ b/es/api-references/marketplace/endpoints/sequence-marketplace.json @@ -0,0 +1,7331 @@ +{ + "components": { + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key", + "x-example": "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + } + }, + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUserNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "UserNotFound" + }, + "code": { + "type": "number", + "example": 3001 + }, + "msg": { + "type": "string", + "example": "User not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInvalidTier": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidTier" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Invalid subscription tier" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectLimitReached": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectLimitReached" + }, + "code": { + "type": "number", + "example": 3005 + }, + "msg": { + "type": "string", + "example": "Project limit reached" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ErrorNotImplemented": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotImplemented" + }, + "code": { + "type": "number", + "example": 9999 + }, + "msg": { + "type": "string", + "example": "Not Implemented" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "TokenMetadata": { + "type": "object", + "required": [ + "tokenId", + "name", + "attributes" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "video": { + "type": "string" + }, + "audio": { + "type": "string" + }, + "properties": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "attributes": { + "type": "array", + "description": "[]map", + "items": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + }, + "imageData": { + "type": "string" + }, + "externalUrl": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } + }, + "Asset": { + "type": "object", + "required": [ + "id", + "collectionId", + "tokenId", + "metadataField" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "metadataField": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "filesize": { + "type": "number" + }, + "mimeType": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "PropertyType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "INT", + "STRING", + "ARRAY", + "GENERIC" + ] + }, + "MarketplaceKind": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "sequence_marketplace_v1", + "sequence_marketplace_v2", + "blur", + "zerox", + "opensea", + "looks_rare", + "x2y2", + "alienswap", + "payment_processor", + "mintify", + "magic_eden" + ] + }, + "OrderbookKind": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sequence_marketplace_v1", + "sequence_marketplace_v2", + "blur", + "opensea", + "looks_rare", + "reservoir", + "x2y2" + ] + }, + "SourceKind": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "external", + "sequence_marketplace_v1", + "sequence_marketplace_v2" + ] + }, + "OrderSide": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "listing", + "offer" + ] + }, + "OrderStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive", + "expired", + "cancelled", + "filled", + "decimals_missing" + ] + }, + "ContractType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "CollectionPriority": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "low", + "normal", + "high" + ] + }, + "CollectionStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "created", + "syncing_contract_metadata", + "synced_contract_metadata", + "syncing_metadata", + "synced_metadata", + "syncing_tokens", + "synced_tokens", + "syncing_orders", + "active", + "failed", + "inactive", + "incompatible_type" + ] + }, + "ProjectStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive" + ] + }, + "CollectibleStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "active", + "inactive" + ] + }, + "CurrencyStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "created", + "syncing_metadata", + "active", + "failed" + ] + }, + "WalletKind": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "sequence" + ] + }, + "StepType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "tokenApproval", + "buy", + "sell", + "createListing", + "createOffer", + "signEIP712", + "signEIP191", + "cancel" + ] + }, + "TransactionCrypto": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "none", + "partially", + "all" + ] + }, + "TransactionNFTCheckoutProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sardine", + "transak" + ] + }, + "TransactionOnRampProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "sardine", + "transak" + ] + }, + "TransactionSwapProvider": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "zerox" + ] + }, + "ExecuteType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "unknown", + "order" + ] + }, + "ActivityAction": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "unknown", + "listing", + "offer", + "mint", + "sale", + "listingCancel", + "offerCancel", + "transfer" + ] + }, + "Page": { + "type": "object", + "required": [ + "page", + "pageSize" + ], + "properties": { + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "more": { + "type": "boolean" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column", + "order" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "Filter": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "properties": { + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" + } + } + } + }, + "PropertyFilter": { + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/PropertyType" + }, + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "values": { + "type": "array", + "description": "[]any", + "items": { + "type": "object" + } + } + } + }, + "CollectiblesFilter": { + "type": "object", + "required": [ + "includeEmpty" + ], + "properties": { + "includeEmpty": { + "type": "boolean" + }, + "searchText": { + "type": "string" + }, + "properties": { + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" + } + }, + "marketplaces": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" + } + }, + "inAccounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "notInAccounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "ordersCreatedBy": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "ordersNotCreatedBy": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "inCurrencyAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "notInCurrencyAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Order": { + "type": "object", + "required": [ + "id", + "collectionId", + "orderId", + "marketplace", + "source", + "side", + "status", + "chainId", + "originName", + "collectionContractAddress", + "createdBy", + "priceAmount", + "priceAmountFormatted", + "priceAmountNet", + "priceAmountNetFormatted", + "priceCurrencyAddress", + "priceDecimals", + "priceUSD", + "priceUSDFormatted", + "quantityInitial", + "quantityInitialFormatted", + "quantityRemaining", + "quantityRemainingFormatted", + "quantityAvailable", + "quantityAvailableFormatted", + "quantityDecimals", + "feeBps", + "feeBreakdown", + "validFrom", + "validUntil", + "blockNumber", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "collectibleId": { + "type": "number" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "source": { + "$ref": "#/components/schemas/SourceKind" + }, + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "status": { + "$ref": "#/components/schemas/OrderStatus" + }, + "chainId": { + "type": "number" + }, + "originName": { + "type": "string" + }, + "collectionContractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "createdBy": { + "type": "string" + }, + "priceAmount": { + "type": "string" + }, + "priceAmountFormatted": { + "type": "string" + }, + "priceAmountNet": { + "type": "string" + }, + "priceAmountNetFormatted": { + "type": "string" + }, + "priceCurrencyAddress": { + "type": "string" + }, + "priceDecimals": { + "type": "number" + }, + "priceUSD": { + "type": "number" + }, + "priceUSDFormatted": { + "type": "string" + }, + "quantityInitial": { + "type": "string" + }, + "quantityInitialFormatted": { + "type": "string" + }, + "quantityRemaining": { + "type": "string" + }, + "quantityRemainingFormatted": { + "type": "string" + }, + "quantityAvailable": { + "type": "string" + }, + "quantityAvailableFormatted": { + "type": "string" + }, + "quantityDecimals": { + "type": "number" + }, + "feeBps": { + "type": "number" + }, + "feeBreakdown": { + "type": "array", + "description": "[]FeeBreakdown", + "items": { + "$ref": "#/components/schemas/FeeBreakdown" + } + }, + "validFrom": { + "type": "string" + }, + "validUntil": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "orderCreatedAt": { + "type": "string" + }, + "orderUpdatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "FeeBreakdown": { + "type": "object", + "required": [ + "kind", + "recipientAddress", + "bps" + ], + "properties": { + "kind": { + "type": "string" + }, + "recipientAddress": { + "type": "string" + }, + "bps": { + "type": "number" + } + } + }, + "CollectibleOrder": { + "type": "object", + "required": [ + "metadata" + ], + "properties": { + "metadata": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "order": { + "$ref": "#/components/schemas/Order" + }, + "listing": { + "$ref": "#/components/schemas/Order" + }, + "offer": { + "$ref": "#/components/schemas/Order" + } + } + }, + "OrderFilter": { + "type": "object", + "properties": { + "createdBy": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "marketplace": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" + } + }, + "currencies": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Collection": { + "type": "object", + "required": [ + "id", + "status", + "chainId", + "contractAddress", + "contractType", + "priority", + "tokenQuantityDecimals", + "config", + "syncContractMetadataJob", + "refreshMetadataJob", + "refreshMetadataTimestamp", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "status": { + "$ref": "#/components/schemas/CollectionStatus" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "priority": { + "$ref": "#/components/schemas/CollectionPriority" + }, + "tokenQuantityDecimals": { + "type": "number" + }, + "config": { + "$ref": "#/components/schemas/CollectionConfig" + }, + "syncContractMetadataJob": { + "type": "number" + }, + "refreshMetadataJob": { + "type": "number" + }, + "refreshMetadataTimestamp": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "CollectionConfig": { + "type": "object", + "required": [ + "lastSynced", + "collectiblesSynced", + "activitiesSynced", + "activitiesSyncedContinuity" + ], + "properties": { + "lastSynced": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/CollectionLastSynced" + } + }, + "collectiblesSynced": { + "type": "string" + }, + "activitiesSynced": { + "type": "string" + }, + "activitiesSyncedContinuity": { + "type": "string" + } + } + }, + "CollectionLastSynced": { + "type": "object", + "required": [ + "allOrders", + "newOrders" + ], + "properties": { + "allOrders": { + "type": "string" + }, + "newOrders": { + "type": "string" + } + } + }, + "Project": { + "type": "object", + "required": [ + "id", + "projectId", + "collectionId", + "chainId", + "contractAddress", + "status", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/ProjectStatus" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "Collectible": { + "type": "object", + "required": [ + "id", + "collectionId", + "chainId", + "contractAddress", + "status", + "tokenId", + "decimals", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CollectibleStatus" + }, + "tokenId": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "Currency": { + "type": "object", + "required": [ + "id", + "chainId", + "contractAddress", + "status", + "name", + "symbol", + "decimals", + "imageUrl", + "exchangeRate", + "defaultChainCurrency", + "nativeCurrency", + "createdAt", + "updatedAt", + "refreshMetadataJob" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/CurrencyStatus" + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "imageUrl": { + "type": "string" + }, + "exchangeRate": { + "type": "number" + }, + "defaultChainCurrency": { + "type": "boolean" + }, + "nativeCurrency": { + "type": "boolean" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + }, + "refreshMetadataJob": { + "type": "number" + } + } + }, + "OrderData": { + "type": "object", + "required": [ + "orderId", + "quantity" + ], + "properties": { + "orderId": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "tokenId": { + "type": "string" + } + } + }, + "AdditionalFee": { + "type": "object", + "required": [ + "amount", + "receiver" + ], + "properties": { + "amount": { + "type": "string" + }, + "receiver": { + "type": "string" + } + } + }, + "Step": { + "type": "object", + "required": [ + "id", + "data", + "to", + "value", + "price" + ], + "properties": { + "id": { + "$ref": "#/components/schemas/StepType" + }, + "data": { + "type": "string" + }, + "to": { + "type": "string" + }, + "value": { + "type": "string" + }, + "price": { + "type": "string" + }, + "signature": { + "$ref": "#/components/schemas/Signature" + }, + "post": { + "$ref": "#/components/schemas/PostRequest" + }, + "executeType": { + "$ref": "#/components/schemas/ExecuteType" + } + } + }, + "PostRequest": { + "type": "object", + "required": [ + "endpoint", + "method", + "body" + ], + "properties": { + "endpoint": { + "type": "string" + }, + "method": { + "type": "string" + }, + "body": { + "type": "object" + } + } + }, + "CreateReq": { + "type": "object", + "required": [ + "tokenId", + "quantity", + "expiry", + "currencyAddress", + "pricePerToken" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "expiry": { + "type": "string" + }, + "currencyAddress": { + "type": "string" + }, + "pricePerToken": { + "type": "string" + } + } + }, + "GetOrdersInput": { + "type": "object", + "required": [ + "contractAddress", + "orderId", + "marketplace" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + } + } + }, + "Signature": { + "type": "object", + "required": [ + "domain", + "types", + "primaryType", + "value" + ], + "properties": { + "domain": { + "$ref": "#/components/schemas/Domain" + }, + "types": { + "type": "object" + }, + "primaryType": { + "type": "string" + }, + "value": { + "type": "object" + } + } + }, + "Domain": { + "type": "object", + "required": [ + "name", + "version", + "chainId", + "verifyingContract" + ], + "properties": { + "name": { + "type": "string" + }, + "version": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "verifyingContract": { + "type": "string" + } + } + }, + "CheckoutOptionsMarketplaceOrder": { + "type": "object", + "required": [ + "contractAddress", + "orderId", + "marketplace" + ], + "properties": { + "contractAddress": { + "type": "string" + }, + "orderId": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + } + } + }, + "CheckoutOptionsItem": { + "type": "object", + "required": [ + "tokenId", + "quantity" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "quantity": { + "type": "string" + } + } + }, + "CheckoutOptions": { + "type": "object", + "required": [ + "crypto", + "swap", + "nftCheckout", + "onRamp" + ], + "properties": { + "crypto": { + "$ref": "#/components/schemas/TransactionCrypto" + }, + "swap": { + "type": "array", + "description": "[]TransactionSwapProvider", + "items": { + "$ref": "#/components/schemas/TransactionSwapProvider" + } + }, + "nftCheckout": { + "type": "array", + "description": "[]TransactionNFTCheckoutProvider", + "items": { + "$ref": "#/components/schemas/TransactionNFTCheckoutProvider" + } + }, + "onRamp": { + "type": "array", + "description": "[]TransactionOnRampProvider", + "items": { + "$ref": "#/components/schemas/TransactionOnRampProvider" + } + } + } + }, + "Activity": { + "type": "object", + "required": [ + "id", + "collectionId", + "collectibleId", + "chainId", + "contractAddress", + "tokenId", + "action", + "txHash", + "source", + "from", + "quantity", + "quantityDecimals", + "activityCreatedAt", + "logIndex", + "uniqueHash", + "createdAt", + "updatedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "collectibleId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "action": { + "$ref": "#/components/schemas/ActivityAction" + }, + "txHash": { + "type": "string" + }, + "source": { + "$ref": "#/components/schemas/SourceKind" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "quantity": { + "type": "string" + }, + "quantityDecimals": { + "type": "number" + }, + "priceAmount": { + "type": "string" + }, + "priceAmountFormatted": { + "type": "string" + }, + "priceCurrencyAddress": { + "type": "string" + }, + "priceDecimals": { + "type": "number" + }, + "activityCreatedAt": { + "type": "string" + }, + "logIndex": { + "type": "number" + }, + "uniqueHash": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "Marketplace_ListCurrencies_Request": { + "type": "object" + }, + "Marketplace_GetCollectionDetail_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + } + } + }, + "Marketplace_GetCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + } + } + }, + "Marketplace_GetLowestPriceOfferForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetHighestPriceOfferForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetLowestPriceListingForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetHighestPriceListingForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_ListListingsForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListOffersForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetCountOfListingsForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetCountOfOffersForCollectible_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetCollectibleLowestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetCollectibleHighestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetCollectibleLowestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_GetCollectibleHighestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + } + } + }, + "Marketplace_ListCollectibleListings_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectibleOffers_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/OrderFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GenerateBuyTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "buyer": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "ordersData": { + "type": "array", + "description": "[]OrderData", + "items": { + "$ref": "#/components/schemas/OrderData" + } + }, + "additionalFees": { + "type": "array", + "description": "[]AdditionalFee", + "items": { + "$ref": "#/components/schemas/AdditionalFee" + } + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" + } + } + }, + "Marketplace_GenerateSellTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "seller": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "ordersData": { + "type": "array", + "description": "[]OrderData", + "items": { + "$ref": "#/components/schemas/OrderData" + } + }, + "additionalFees": { + "type": "array", + "description": "[]AdditionalFee", + "items": { + "$ref": "#/components/schemas/AdditionalFee" + } + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" + } + } + }, + "Marketplace_GenerateListingTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "owner": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "orderbook": { + "$ref": "#/components/schemas/OrderbookKind" + }, + "listing": { + "$ref": "#/components/schemas/CreateReq" + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" + } + } + }, + "Marketplace_GenerateOfferTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "maker": { + "type": "string" + }, + "contractType": { + "$ref": "#/components/schemas/ContractType" + }, + "orderbook": { + "$ref": "#/components/schemas/OrderbookKind" + }, + "offer": { + "$ref": "#/components/schemas/CreateReq" + }, + "walletType": { + "$ref": "#/components/schemas/WalletKind" + } + } + }, + "Marketplace_GenerateCancelTransaction_Request": { + "type": "object", + "properties": { + "collectionAddress": { + "type": "string" + }, + "maker": { + "type": "string" + }, + "marketplace": { + "$ref": "#/components/schemas/MarketplaceKind" + }, + "orderId": { + "type": "string" + } + } + }, + "Marketplace_Execute_Request": { + "type": "object", + "properties": { + "signature": { + "type": "string" + }, + "method": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "executeType": { + "$ref": "#/components/schemas/ExecuteType" + }, + "body": { + "type": "object" + } + } + }, + "Marketplace_ListCollectibles_Request": { + "type": "object", + "properties": { + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetCountOfAllCollectibles_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + } + } + }, + "Marketplace_GetCountOfFilteredCollectibles_Request": { + "type": "object", + "properties": { + "side": { + "$ref": "#/components/schemas/OrderSide" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + } + } + }, + "Marketplace_GetFloorOrder_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + } + } + }, + "Marketplace_ListCollectionActivities_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectibleActivities_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectiblesWithLowestListing_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectiblesWithHighestOffer_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/CollectiblesFilter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetOrders_Request": { + "type": "object", + "properties": { + "input": { + "type": "array", + "description": "[]GetOrdersInput", + "items": { + "$ref": "#/components/schemas/GetOrdersInput" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_CheckoutOptionsMarketplace_Request": { + "type": "object", + "properties": { + "wallet": { + "type": "string" + }, + "orders": { + "type": "array", + "description": "[]CheckoutOptionsMarketplaceOrder", + "items": { + "$ref": "#/components/schemas/CheckoutOptionsMarketplaceOrder" + } + }, + "additionalFee": { + "type": "number" + } + } + }, + "Marketplace_CheckoutOptionsSalesContract_Request": { + "type": "object", + "properties": { + "wallet": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "collectionAddress": { + "type": "string" + }, + "items": { + "type": "array", + "description": "[]CheckoutOptionsItem", + "items": { + "$ref": "#/components/schemas/CheckoutOptionsItem" + } + } + } + }, + "Marketplace_SupportedMarketplaces_Request": { + "type": "object" + }, + "Marketplace_ListCurrencies_Response": { + "type": "object", + "properties": { + "currencies": { + "type": "array", + "description": "[]Currency", + "items": { + "$ref": "#/components/schemas/Currency" + } + } + } + }, + "Marketplace_GetCollectionDetail_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Marketplace_GetCollectible_Response": { + "type": "object", + "properties": { + "metadata": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + }, + "Marketplace_GetLowestPriceOfferForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetHighestPriceOfferForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetLowestPriceListingForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetHighestPriceListingForCollectible_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_ListListingsForCollectible_Response": { + "type": "object", + "properties": { + "listings": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListOffersForCollectible_Response": { + "type": "object", + "properties": { + "offers": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetCountOfListingsForCollectible_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + } + }, + "Marketplace_GetCountOfOffersForCollectible_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + } + }, + "Marketplace_GetCollectibleLowestOffer_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetCollectibleHighestOffer_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetCollectibleLowestListing_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_GetCollectibleHighestListing_Response": { + "type": "object", + "properties": { + "order": { + "$ref": "#/components/schemas/Order" + } + } + }, + "Marketplace_ListCollectibleListings_Response": { + "type": "object", + "properties": { + "listings": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectibleOffers_Response": { + "type": "object", + "properties": { + "offers": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GenerateBuyTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" + } + } + } + }, + "Marketplace_GenerateSellTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" + } + } + } + }, + "Marketplace_GenerateListingTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" + } + } + } + }, + "Marketplace_GenerateOfferTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" + } + } + } + }, + "Marketplace_GenerateCancelTransaction_Response": { + "type": "object", + "properties": { + "steps": { + "type": "array", + "description": "[]Step", + "items": { + "$ref": "#/components/schemas/Step" + } + } + } + }, + "Marketplace_Execute_Response": { + "type": "object", + "properties": { + "orderId": { + "type": "string" + } + } + }, + "Marketplace_ListCollectibles_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { + "$ref": "#/components/schemas/CollectibleOrder" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetCountOfAllCollectibles_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + } + }, + "Marketplace_GetCountOfFilteredCollectibles_Response": { + "type": "object", + "properties": { + "count": { + "type": "number" + } + } + }, + "Marketplace_GetFloorOrder_Response": { + "type": "object", + "properties": { + "collectible": { + "$ref": "#/components/schemas/CollectibleOrder" + } + } + }, + "Marketplace_ListCollectionActivities_Response": { + "type": "object", + "properties": { + "activities": { + "type": "array", + "description": "[]Activity", + "items": { + "$ref": "#/components/schemas/Activity" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectibleActivities_Response": { + "type": "object", + "properties": { + "activities": { + "type": "array", + "description": "[]Activity", + "items": { + "$ref": "#/components/schemas/Activity" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectiblesWithLowestListing_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { + "$ref": "#/components/schemas/CollectibleOrder" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_ListCollectiblesWithHighestOffer_Response": { + "type": "object", + "properties": { + "collectibles": { + "type": "array", + "description": "[]CollectibleOrder", + "items": { + "$ref": "#/components/schemas/CollectibleOrder" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_GetOrders_Response": { + "type": "object", + "properties": { + "orders": { + "type": "array", + "description": "[]Order", + "items": { + "$ref": "#/components/schemas/Order" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Marketplace_CheckoutOptionsMarketplace_Response": { + "type": "object", + "properties": { + "options": { + "$ref": "#/components/schemas/CheckoutOptions" + } + } + }, + "Marketplace_CheckoutOptionsSalesContract_Response": { + "type": "object", + "properties": { + "options": { + "$ref": "#/components/schemas/CheckoutOptions" + } + } + }, + "Marketplace_SupportedMarketplaces_Response": { + "type": "object", + "properties": { + "marketplaces": { + "type": "array", + "description": "[]MarketplaceKind", + "items": { + "$ref": "#/components/schemas/MarketplaceKind" + } + } + } + } + } + }, + "info": { + "title": "Marketplace Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Marketplace/ListCurrencies": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCurrencies_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCurrencies_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectionDetail": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectionDetail_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetLowestPriceOfferForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceOfferForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetHighestPriceOfferForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceOfferForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetLowestPriceListingForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetLowestPriceListingForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetHighestPriceListingForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetHighestPriceListingForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListListingsForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListListingsForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListOffersForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListOffersForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCountOfListingsForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCountOfOffersForCollectible": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectibleLowestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetLowestPriceOfferForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestOffer_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectibleHighestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetHighestPriceOfferForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestOffer_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectibleLowestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetLowestPriceListingForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleLowestListing_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCollectibleHighestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use GetHighestPriceListingForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCollectibleHighestListing_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectibleListings": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use ListListingsForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleListings_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectibleOffers": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "Deprecated: Please use ListOffersForCollectible instead.", + "deprecated": true, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleOffers_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GenerateBuyTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "checkout process", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateBuyTransaction_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GenerateSellTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateSellTransaction_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GenerateListingTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateListingTransaction_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GenerateOfferTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateOfferTransaction_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GenerateCancelTransaction": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GenerateCancelTransaction_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "list of collectibles with best order for each collectible, by default this only returns collectibles with an order", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibles_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibles_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCountOfAllCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfAllCollectibles_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetCountOfFilteredCollectibles": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetCountOfFilteredCollectibles_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetFloorOrder": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetFloorOrder_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectionActivities": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectionActivities_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectibleActivities": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectibleActivities_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectiblesWithLowestListing": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithLowestListing_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/ListCollectiblesWithHighestOffer": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_ListCollectiblesWithHighestOffer_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/GetOrders": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetOrders_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_GetOrders_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/CheckoutOptionsMarketplace": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsMarketplace_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/CheckoutOptionsSalesContract": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_CheckoutOptionsSalesContract_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + }, + "/rpc/Marketplace/SupportedMarketplaces": { + "post": { + "tags": [ + "Marketplace" + ], + "summary": "", + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Marketplace_SupportedMarketplaces_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorUserNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInvalidTier" + }, + { + "$ref": "#/components/schemas/ErrorProjectLimitReached" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorNotImplemented" + } + ] + } + } + } + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [] + } + ], + "servers": [ + { + "url": "https://marketplace-api.sequence.app/amoy/", + "description": "Amoy" + }, + { + "url": "https://marketplace-api.sequence.app/apechain-mainnet/", + "description": "Apechain Mainnet" + }, + { + "url": "https://marketplace-api.sequence.app/apechain-testnet/", + "description": "Apechain Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum/", + "description": "Arbitrum" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum-nova/", + "description": "Arbitrum Nova" + }, + { + "url": "https://marketplace-api.sequence.app/arbitrum-sepolia/", + "description": "Arbitrum Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/astar-zkevm/", + "description": "Astar zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/astar-zkyoto/", + "description": "Astar zKyoto" + }, + { + "url": "https://marketplace-api.sequence.app/avalanche/", + "description": "Avalanche" + }, + { + "url": "https://marketplace-api.sequence.app/avalanche-testnet/", + "description": "Avalanche Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/b3/", + "description": "B3" + }, + { + "url": "https://marketplace-api.sequence.app/b3-sepolia/", + "description": "B3 Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/base/", + "description": "Base" + }, + { + "url": "https://marketplace-api.sequence.app/base-sepolia/", + "description": "Base Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/blast/", + "description": "Blast" + }, + { + "url": "https://marketplace-api.sequence.app/blast-sepolia/", + "description": "Blast Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/borne-testnet/", + "description": "Borne Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/bsc/", + "description": "BSC" + }, + { + "url": "https://marketplace-api.sequence.app/bsc-testnet/", + "description": "BSC Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/gnosis/", + "description": "Gnosis" + }, + { + "url": "https://marketplace-api.sequence.app/homeverse/", + "description": "Homeverse" + }, + { + "url": "https://marketplace-api.sequence.app/homeverse-testnet/", + "description": "Homeverse Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/immutable-zkevm/", + "description": "Immutable zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/immutable-zkevm-testnet/", + "description": "Immutable zkEVM Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/imx/", + "description": "IMX" + }, + { + "url": "https://marketplace-api.sequence.app/imx-testnet/", + "description": "IMX Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/mainnet/", + "description": "Mainnet" + }, + { + "url": "https://marketplace-api.sequence.app/optimism/", + "description": "Optimism" + }, + { + "url": "https://marketplace-api.sequence.app/optimism-sepolia/", + "description": "Optimism Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/polygon/", + "description": "Polygon" + }, + { + "url": "https://marketplace-api.sequence.app/polygon-zkevm/", + "description": "Polygon zkEVM" + }, + { + "url": "https://marketplace-api.sequence.app/rootnet/", + "description": "Rootnet" + }, + { + "url": "https://marketplace-api.sequence.app/rootnet-porcini/", + "description": "Rootnet Porcini" + }, + { + "url": "https://marketplace-api.sequence.app/sepolia/", + "description": "Sepolia" + }, + { + "url": "https://marketplace-api.sequence.app/skale-nebula-testnet/", + "description": "SKALE Nebula Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/soneium-minato/", + "description": "Soneium Minato" + }, + { + "url": "https://marketplace-api.sequence.app/toy-testnet/", + "description": "Toy Testnet" + }, + { + "url": "https://marketplace-api.sequence.app/xai/", + "description": "Xai" + }, + { + "url": "https://marketplace-api.sequence.app/xai-sepolia/", + "description": "Xai Sepolia" + } + ] +} \ No newline at end of file diff --git a/es/api-references/marketplace/overview.mdx b/es/api-references/marketplace/overview.mdx new file mode 100644 index 00000000..2e171eee --- /dev/null +++ b/es/api-references/marketplace/overview.mdx @@ -0,0 +1,10 @@ +--- +title: API de Marketplace +sidebarTitle: Resumen +--- + + + [Referencia de la API de Marketplace](/api-references/marketplace/endpoints) + + +El servicio Sequence Marketplace API ofrece una forma simple y rápida de interactuar con los protocolos de marketplace de Sequence, así como de agregar y listar de marketplaces externos de terceros de manera fluida. La API está diseñada para ser fácil de usar y tener todas las funciones necesarias para construir un marketplace completamente funcional. \ No newline at end of file diff --git a/es/api-references/metadata.mdx b/es/api-references/metadata.mdx new file mode 100644 index 00000000..ccbc7078 --- /dev/null +++ b/es/api-references/metadata.mdx @@ -0,0 +1,61 @@ +--- +title: Metadata API - Documentación y Endpoints +description: El servicio Metadata API permite consultar, gestionar y actualizar colecciones, metadatos de tokens y NFT para cadenas compatibles con Ethereum. Para acceder, necesitas una Service Account & Token a través del Builder Console. +--- + +# Metadata API +:::note +[Documentación y endpoints de Metadata API](https://0xsequence.redoc.ly/tag/metadata) +::: + +El servicio Metadata API ofrece una API simple y rápida para consultar, gestionar y actualizar colecciones, metadatos de tokens y NFT para cadenas compatibles con Ethereum. + + + El servicio Metadata API se gestiona a través del [Builder Console de Sequence](HTTPS://SEQUENCE.BUILD) y requiere una Service Account & Token para poder llamar a los endpoints correspondientes. Por favor, sigue la [sección](/api-references/metadata#obtaining-a-service-account--token) a continuación antes de llamar a los endpoints. + + +## Obtaining a Service Account & Token +Dado que Metadata API requiere acceso de escritura para actualizar el estado on-chain, primero debes obtener una Service Account & Token para llamar desde tu backend. Es importante destacar que esta es una clave secreta y no debe exponerse públicamente. +1. Create a New Project using our [Builder](https://sequence.build). Navigate to Settings > API Keys > Add Service Account. +2. In the modal that pops up, click the dropdown for Permission and change to Write. After completed click Add. +3. On the next screen, you will be given your Secret API Token. Copy the key and store it securely as it is not possible to see it again. Once this is done, click Confirm and you are all set to utilize the API. + +Keep in mind, in contrast to our Public API Access key - this Secret API Token should be stored securely and not be used publicly. You will pass this token as a normal JWT in the Request Headers as X-Access-Key + +## Creación de colecciones, tokens y gestión de metadatos +Los siguientes pasos muestran un ejemplo de principio a fin utilizando Metadata API para desplegar una colección de NFT, crear tokens dentro de esa colección y asociar metadatos de activos, como una imagen, a ese token. +1. [Llame al endpoint `CreateCollection`](https://docs.sequence.xyz/api-references/metadata/endpoints) - asegúrese de pasar el Secret Service Token creado en la sección anterior. + +2. `CreateToken` - use el collectionId devuelto en la solicitud anterior + +3. `CreateAsset` - use collectionId y su tokenId + - establezca `metadataField` (assetType) en uno de los siguientes + - image + - animation\_url + - audio + - video + +4. Suba el archivo con el método PUT a este endpoint `PUT {metadata-server}/projects/{projectId}/collections/{collectionId}/tokens/{tokenId}/upload/{assetIdOrAssetType}`- use el assetId que se devuelve en el paso 3 O puede pasar assetType, como "image" + +- Por ejemplo, puede subir a [https://metadata.sequence.app/projects/486/collections/1/tokens/1/upload/image](https://metadata.sequence.app/projects/486/collections/1/tokens/1/upload/image) lo que encontrará el activo del tipo "image" para el token y lo subirá allí. + - También puede pasar el assetId si lo prefiere, es decir, PUT [https://metadata.sequence.app/projects/486/collections/1/assets/1/upload](https://metadata.sequence.app/projects/486/collections/1/assets/1/upload) +- Los tipos de activos incluyen: image, audio, video, animation\_url + +5. El activo ahora es accesible de forma privada con un token JWT en `GET {metadata-server}/projects/{projectID}/collections/{collectionID}/tokens/{tokenID}/asset/{assetType}` + - por ejemplo: [https://metadata.sequence.app/projects/486/collections/1/tokens/1/asset/image](https://metadata.sequence.app/projects/486/collections/1/tokens/1/asset/image) + +6. `PublishCollection` -- esto hace que la colección sea accesible al público + +7. `GetCollection` -- devolverá tanto los baseURIs para los metadatos a nivel de contrato como de token. + +- Metadatos a nivel de colección (también llamados a nivel de contrato): [https://metadata.sequence.app/projects/486/collections/1](https://metadata.sequence.app/projects/486/collections/1) o [https://metadata.sequence.app/projects/486/collections/1.json](https://metadata.sequence.app/projects/486/collections/1.json) +- Metadatos a nivel de token: [https://metadata.sequence.app/projects/486/collections/1/tokens/{tokenId}](https://metadata.sequence.app/projects/486/collections/1/tokens/\{tokenId}) + - Ejemplo: [https://metadata.sequence.app/projects/486/collections/1/tokens/1](https://metadata.sequence.app/projects/486/collections/1/tokens/1) o [https://metadata.sequence.app/projects/486/collections/1/tokens/1.json](https://metadata.sequence.app/projects/486/collections/1/tokens/1.json) + +8. Por último, para usar los metadatos en el contrato, simplemente actualice las URIs base de metadatos del contrato con los valores anteriores, ¡y todo funcionará automáticamente! + +A continuación se muestra una arquitectura que demuestra los pasos anteriores sobre cómo se crea y gestiona una colección NFT (ERC721 o ERC1155). +![Soporte Sequence](/images/metadata/metadata_api_architecture.png) + +## Precios y uso +Los metadatos de Sequence están disponibles de forma gratuita con límites moderados de solicitudes, pero si su proyecto requiere límites más altos, por favor contacte al equipo de [Sequence](https://sequence.xyz). \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/directory-get-collections.mdx b/es/api-references/metadata/endpoints/public/directory-get-collections.mdx new file mode 100644 index 00000000..8c84ae12 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/directory-get-collections.mdx @@ -0,0 +1,4 @@ +--- +title: DirectoryGetCollections +openapi: ../sequence-metadata.json post /rpc/Metadata/DirectoryGetCollections +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/directory-get-networks.mdx b/es/api-references/metadata/endpoints/public/directory-get-networks.mdx new file mode 100644 index 00000000..c7ef1305 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/directory-get-networks.mdx @@ -0,0 +1,4 @@ +--- +title: DirectoryGetNetworks +openapi: ../sequence-metadata.json post /rpc/Metadata/DirectoryGetNetworks +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh.mdx b/es/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh.mdx new file mode 100644 index 00000000..cbce4748 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh.mdx @@ -0,0 +1,5 @@ +--- +title: EnqueueTokensForRefresh +openapi: ../sequence-metadata.json post /rpc/Metadata/EnqueueTokensForRefresh +description: ¡Este endpoint está obsoleto! +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/get-contract-info-batch.mdx b/es/api-references/metadata/endpoints/public/get-contract-info-batch.mdx new file mode 100644 index 00000000..8bb5b731 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/get-contract-info-batch.mdx @@ -0,0 +1,4 @@ +--- +title: GetContractInfoBatch +openapi: ../sequence-metadata.json post /rpc/Metadata/GetContractInfoBatch +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/get-contract-info.mdx b/es/api-references/metadata/endpoints/public/get-contract-info.mdx new file mode 100644 index 00000000..ca15daad --- /dev/null +++ b/es/api-references/metadata/endpoints/public/get-contract-info.mdx @@ -0,0 +1,4 @@ +--- +title: GetContractInfo +openapi: ../sequence-metadata.json post /rpc/Metadata/GetContractInfo +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/get-token-metadata-batch.mdx b/es/api-references/metadata/endpoints/public/get-token-metadata-batch.mdx new file mode 100644 index 00000000..50a8a282 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/get-token-metadata-batch.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenMetadataBatch +openapi: ../sequence-metadata.json post /rpc/Metadata/GetTokenMetadataBatch +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/get-token-metadata.mdx b/es/api-references/metadata/endpoints/public/get-token-metadata.mdx new file mode 100644 index 00000000..cec32b59 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/get-token-metadata.mdx @@ -0,0 +1,4 @@ +--- +title: GetTokenMetadata +openapi: ../sequence-metadata.json post /rpc/Metadata/GetTokenMetadata +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/refresh-all-contract-tokens.mdx b/es/api-references/metadata/endpoints/public/refresh-all-contract-tokens.mdx new file mode 100644 index 00000000..dbfb53e8 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/refresh-all-contract-tokens.mdx @@ -0,0 +1,4 @@ +--- +title: RefreshAllContractTokens +openapi: ../sequence-metadata.json post /rpc/Metadata/RefreshAllContractTokens +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/refresh-contract-info.mdx b/es/api-references/metadata/endpoints/public/refresh-contract-info.mdx new file mode 100644 index 00000000..cd1e1815 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/refresh-contract-info.mdx @@ -0,0 +1,4 @@ +--- +title: RefreshContractInfo +openapi: ../sequence-metadata.json post /rpc/Metadata/RefreshContractInfo +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/refresh-contract-tokens.mdx b/es/api-references/metadata/endpoints/public/refresh-contract-tokens.mdx new file mode 100644 index 00000000..7f35b077 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/refresh-contract-tokens.mdx @@ -0,0 +1,4 @@ +--- +title: RefreshContractTokens +openapi: ../sequence-metadata.json post /rpc/Metadata/RefreshContractTokens +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/refresh-token-metadata.mdx b/es/api-references/metadata/endpoints/public/refresh-token-metadata.mdx new file mode 100644 index 00000000..0d4f3266 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/refresh-token-metadata.mdx @@ -0,0 +1,5 @@ +--- +title: RefreshTokenMetadata +openapi: ../sequence-metadata.json post /rpc/Metadata/RefreshTokenMetadata +description: ¡Este endpoint está obsoleto! +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-contract-info-batch.mdx b/es/api-references/metadata/endpoints/public/search-contract-info-batch.mdx new file mode 100644 index 00000000..7a3c4bb9 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-contract-info-batch.mdx @@ -0,0 +1,4 @@ +--- +title: SearchContractInfoBatch +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchContractInfoBatch +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-contract-info.mdx b/es/api-references/metadata/endpoints/public/search-contract-info.mdx new file mode 100644 index 00000000..69a44cd5 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-contract-info.mdx @@ -0,0 +1,4 @@ +--- +title: SearchContractInfo +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchContractInfo +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-contracts.mdx b/es/api-references/metadata/endpoints/public/search-contracts.mdx new file mode 100644 index 00000000..33a25c94 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-contracts.mdx @@ -0,0 +1,4 @@ +--- +title: SearchContracts +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchContracts +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-metadata.mdx b/es/api-references/metadata/endpoints/public/search-metadata.mdx new file mode 100644 index 00000000..6fae3bca --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-metadata.mdx @@ -0,0 +1,5 @@ +--- +title: SearchMetadata +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchMetadata +description: ¡Este endpoint está obsoleto! +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-token-i-ds.mdx b/es/api-references/metadata/endpoints/public/search-token-i-ds.mdx new file mode 100644 index 00000000..a4783dff --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-token-i-ds.mdx @@ -0,0 +1,4 @@ +--- +title: SearchTokenIDs +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchTokenIDs +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-token-metadata.mdx b/es/api-references/metadata/endpoints/public/search-token-metadata.mdx new file mode 100644 index 00000000..44df801b --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-token-metadata.mdx @@ -0,0 +1,4 @@ +--- +title: SearchTokenMetadata +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchTokenMetadata +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/search-tokens.mdx b/es/api-references/metadata/endpoints/public/search-tokens.mdx new file mode 100644 index 00000000..e7337ae6 --- /dev/null +++ b/es/api-references/metadata/endpoints/public/search-tokens.mdx @@ -0,0 +1,4 @@ +--- +title: SearchTokens +openapi: ../sequence-metadata.json post /rpc/Metadata/SearchTokens +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/public/token-collection-filters.mdx b/es/api-references/metadata/endpoints/public/token-collection-filters.mdx new file mode 100644 index 00000000..8abc229c --- /dev/null +++ b/es/api-references/metadata/endpoints/public/token-collection-filters.mdx @@ -0,0 +1,4 @@ +--- +title: TokenCollectionFilters +openapi: ../sequence-metadata.json post /rpc/Metadata/TokenCollectionFilters +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/create-asset.mdx b/es/api-references/metadata/endpoints/secret/create-asset.mdx new file mode 100644 index 00000000..5836d3d2 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/create-asset.mdx @@ -0,0 +1,4 @@ +--- +title: CreateAsset +openapi: ../sequence-metadata.json post /rpc/Collections/CreateAsset +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/create-collection.mdx b/es/api-references/metadata/endpoints/secret/create-collection.mdx new file mode 100644 index 00000000..ff707ce5 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/create-collection.mdx @@ -0,0 +1,4 @@ +--- +title: CreateCollection +openapi: ../sequence-metadata.json post /rpc/Collections/CreateCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/create-contract-collection.mdx b/es/api-references/metadata/endpoints/secret/create-contract-collection.mdx new file mode 100644 index 00000000..d433fe38 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/create-contract-collection.mdx @@ -0,0 +1,4 @@ +--- +title: CreateContractCollection +openapi: ../sequence-metadata.json post /rpc/Collections/CreateContractCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/create-token.mdx b/es/api-references/metadata/endpoints/secret/create-token.mdx new file mode 100644 index 00000000..3f31f15d --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/create-token.mdx @@ -0,0 +1,4 @@ +--- +title: CreateToken +openapi: ../sequence-metadata.json post /rpc/Collections/CreateToken +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/delete-asset.mdx b/es/api-references/metadata/endpoints/secret/delete-asset.mdx new file mode 100644 index 00000000..2a9c0a10 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/delete-asset.mdx @@ -0,0 +1,4 @@ +--- +title: DeleteAsset +openapi: ../sequence-metadata.json post /rpc/Collections/DeleteAsset +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/delete-collection.mdx b/es/api-references/metadata/endpoints/secret/delete-collection.mdx new file mode 100644 index 00000000..1b3aa5f6 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/delete-collection.mdx @@ -0,0 +1,4 @@ +--- +title: DeleteCollection +openapi: ../sequence-metadata.json post /rpc/Collections/DeleteCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/delete-contract-collection.mdx b/es/api-references/metadata/endpoints/secret/delete-contract-collection.mdx new file mode 100644 index 00000000..8573ec06 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/delete-contract-collection.mdx @@ -0,0 +1,4 @@ +--- +title: DeleteContractCollection +openapi: ../sequence-metadata.json post /rpc/Collections/DeleteContractCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/delete-token.mdx b/es/api-references/metadata/endpoints/secret/delete-token.mdx new file mode 100644 index 00000000..287030eb --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/delete-token.mdx @@ -0,0 +1,4 @@ +--- +title: DeleteToken +openapi: ../sequence-metadata.json post /rpc/Collections/DeleteToken +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/get-asset.mdx b/es/api-references/metadata/endpoints/secret/get-asset.mdx new file mode 100644 index 00000000..8d6af3cc --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/get-asset.mdx @@ -0,0 +1,4 @@ +--- +title: GetAsset +openapi: ../sequence-metadata.json post /rpc/Collections/GetAsset +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/get-collection.mdx b/es/api-references/metadata/endpoints/secret/get-collection.mdx new file mode 100644 index 00000000..8d0f384a --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/get-collection.mdx @@ -0,0 +1,4 @@ +--- +title: GetCollection +openapi: ../sequence-metadata.json post /rpc/Collections/GetCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/get-contract-collection.mdx b/es/api-references/metadata/endpoints/secret/get-contract-collection.mdx new file mode 100644 index 00000000..cb2843fb --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/get-contract-collection.mdx @@ -0,0 +1,4 @@ +--- +title: GetContractCollection +openapi: ../sequence-metadata.json post /rpc/Collections/GetContractCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/get-token.mdx b/es/api-references/metadata/endpoints/secret/get-token.mdx new file mode 100644 index 00000000..edaea480 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/get-token.mdx @@ -0,0 +1,4 @@ +--- +title: GetToken +openapi: ../sequence-metadata.json post /rpc/Collections/GetToken +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/list-collections.mdx b/es/api-references/metadata/endpoints/secret/list-collections.mdx new file mode 100644 index 00000000..b1dcae49 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/list-collections.mdx @@ -0,0 +1,4 @@ +--- +title: ListCollections +openapi: ../sequence-metadata.json post /rpc/Collections/ListCollections +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/list-contract-collections.mdx b/es/api-references/metadata/endpoints/secret/list-contract-collections.mdx new file mode 100644 index 00000000..81d998df --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/list-contract-collections.mdx @@ -0,0 +1,4 @@ +--- +title: ListContractCollections +openapi: ../sequence-metadata.json post /rpc/Collections/ListContractCollections +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/list-tokens.mdx b/es/api-references/metadata/endpoints/secret/list-tokens.mdx new file mode 100644 index 00000000..0adc59a1 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/list-tokens.mdx @@ -0,0 +1,4 @@ +--- +title: ListTokens +openapi: ../sequence-metadata.json post /rpc/Collections/ListTokens +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/publish-collection.mdx b/es/api-references/metadata/endpoints/secret/publish-collection.mdx new file mode 100644 index 00000000..0ded74c3 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/publish-collection.mdx @@ -0,0 +1,4 @@ +--- +title: PublishCollection +openapi: ../sequence-metadata.json post /rpc/Collections/PublishCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/unpublish-collection.mdx b/es/api-references/metadata/endpoints/secret/unpublish-collection.mdx new file mode 100644 index 00000000..338b53fc --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/unpublish-collection.mdx @@ -0,0 +1,4 @@ +--- +title: UnpublishCollection +openapi: ../sequence-metadata.json post /rpc/Collections/UnpublishCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/update-asset.mdx b/es/api-references/metadata/endpoints/secret/update-asset.mdx new file mode 100644 index 00000000..08a6d29a --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/update-asset.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateAsset +openapi: ../sequence-metadata.json post /rpc/Collections/UpdateAsset +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/update-collection.mdx b/es/api-references/metadata/endpoints/secret/update-collection.mdx new file mode 100644 index 00000000..2374767f --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/update-collection.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateCollection +openapi: ../sequence-metadata.json post /rpc/Collections/UpdateCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/update-contract-collection.mdx b/es/api-references/metadata/endpoints/secret/update-contract-collection.mdx new file mode 100644 index 00000000..c37a49bf --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/update-contract-collection.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateContractCollection +openapi: ../sequence-metadata.json post /rpc/Collections/UpdateContractCollection +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/secret/update-token.mdx b/es/api-references/metadata/endpoints/secret/update-token.mdx new file mode 100644 index 00000000..8e460765 --- /dev/null +++ b/es/api-references/metadata/endpoints/secret/update-token.mdx @@ -0,0 +1,4 @@ +--- +title: UpdateToken +openapi: ../sequence-metadata.json post /rpc/Collections/UpdateToken +--- \ No newline at end of file diff --git a/es/api-references/metadata/endpoints/sequence-metadata.json b/es/api-references/metadata/endpoints/sequence-metadata.json new file mode 100644 index 00000000..0e254d14 --- /dev/null +++ b/es/api-references/metadata/endpoints/sequence-metadata.json @@ -0,0 +1,10753 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorSessionExpired": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "SessionExpired" + }, + "code": { + "type": "number", + "example": 1002 + }, + "msg": { + "type": "string", + "example": "Session expired" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorRequestConflict": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequestConflict" + }, + "code": { + "type": "number", + "example": 1004 + }, + "msg": { + "type": "string", + "example": "Conflict with target resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorFail": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Fail" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Request Failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorGeoblocked": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Geoblocked" + }, + "code": { + "type": "number", + "example": 1006 + }, + "msg": { + "type": "string", + "example": "Geoblocked region" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 451 + } + } + }, + "ErrorTimeout": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Timeout" + }, + "code": { + "type": "number", + "example": 2000 + }, + "msg": { + "type": "string", + "example": "Request timed out" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 408 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorRequiredArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequiredArgument" + }, + "code": { + "type": "number", + "example": 2002 + }, + "msg": { + "type": "string", + "example": "Required argument missing" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorQueryFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "QueryFailed" + }, + "code": { + "type": "number", + "example": 2003 + }, + "msg": { + "type": "string", + "example": "Query failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorValidationFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ValidationFailed" + }, + "code": { + "type": "number", + "example": 2004 + }, + "msg": { + "type": "string", + "example": "Validation failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorRateLimited": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RateLimited" + }, + "code": { + "type": "number", + "example": 2005 + }, + "msg": { + "type": "string", + "example": "Rate limited" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 429 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorProjectNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ProjectNotFound" + }, + "code": { + "type": "number", + "example": 3002 + }, + "msg": { + "type": "string", + "example": "Project not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorChainNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "ChainNotFound" + }, + "code": { + "type": "number", + "example": 3003 + }, + "msg": { + "type": "string", + "example": "Chain not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorTokenDirectoryDisabled": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "TokenDirectoryDisabled" + }, + "code": { + "type": "number", + "example": 4001 + }, + "msg": { + "type": "string", + "example": "Token Directory is disabled" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ContractType": { + "type": "string", + "description": "Represented as uint16 on the server side", + "enum": [ + "UNKNOWN", + "ERC20", + "ERC721", + "ERC1155" + ] + }, + "ResourceStatus": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "NOT_AVAILABLE", + "STALE", + "AVAILABLE" + ] + }, + "PropertyType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "INT", + "STRING", + "ARRAY", + "GENERIC" + ] + }, + "SwapType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "UNKNOWN", + "BUY", + "SELL" + ] + }, + "TaskStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "QUEUED", + "PAUSED", + "FAILED", + "COMPLETED" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "uptimeString", + "ver", + "branch", + "commitHash", + "checks", + "runnable" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "uptimeString": { + "type": "string" + }, + "ver": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + }, + "runnable": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/RunnableStatus" + } + } + } + }, + "RunnableStatus": { + "type": "object", + "required": [ + "running", + "restarts", + "startTime", + "lastError" + ], + "properties": { + "running": { + "type": "boolean" + }, + "restarts": { + "type": "number" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "lastError": { + "type": "object" + } + } + }, + "RuntimeChecks": { + "type": "object" + }, + "ContractIndex": { + "type": "object", + "required": [ + "chainId", + "address", + "type", + "metadata", + "contentHash", + "deployed", + "bytecodeHash", + "notFound", + "updatedAt", + "status" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/ContractType" + }, + "metadata": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "contentHash": { + "type": "number" + }, + "deployed": { + "type": "boolean" + }, + "bytecodeHash": { + "type": "string" + }, + "notFound": { + "type": "boolean" + }, + "updatedAt": { + "type": "string" + }, + "queuedAt": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/ResourceStatus" + } + } + }, + "TokenIndex": { + "type": "object", + "required": [ + "key", + "chainId", + "contractAddress", + "tokenId", + "metadata", + "updatedAt" + ], + "properties": { + "key": { + "type": "string" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "tokenId": { + "type": "string" + }, + "metadata": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "notFound": { + "type": "boolean" + }, + "lastFetched": { + "type": "string" + }, + "fetchCount": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "queuedAt": { + "type": "string" + } + } + }, + "ContractInfo": { + "type": "object", + "required": [ + "chainId", + "address", + "name", + "type", + "symbol", + "logoURI", + "deployed", + "bytecodeHash", + "extensions", + "contentHash", + "updatedAt", + "notFound", + "status" + ], + "properties": { + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "type": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "logoURI": { + "type": "string" + }, + "deployed": { + "type": "boolean" + }, + "bytecodeHash": { + "type": "string" + }, + "extensions": { + "$ref": "#/components/schemas/ContractInfoExtensions" + }, + "contentHash": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "notFound": { + "type": "boolean" + }, + "queuedAt": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/ResourceStatus" + } + } + }, + "ContractInfoExtensions": { + "type": "object", + "required": [ + "link", + "description", + "categories", + "ogImage", + "ogName", + "originChainId", + "originAddress", + "blacklist", + "verified", + "verifiedBy", + "featured" + ], + "properties": { + "link": { + "type": "string" + }, + "description": { + "type": "string" + }, + "categories": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "ogImage": { + "type": "string" + }, + "ogName": { + "type": "string" + }, + "originChainId": { + "type": "number" + }, + "originAddress": { + "type": "string" + }, + "blacklist": { + "type": "boolean" + }, + "verified": { + "type": "boolean" + }, + "verifiedBy": { + "type": "string" + }, + "featured": { + "type": "boolean" + } + } + }, + "TokenMetadata": { + "type": "object", + "required": [ + "tokenId", + "name", + "attributes", + "status" + ], + "properties": { + "tokenId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "video": { + "type": "string" + }, + "audio": { + "type": "string" + }, + "properties": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "attributes": { + "type": "array", + "description": "[]map", + "items": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + }, + "imageData": { + "type": "string" + }, + "externalUrl": { + "type": "string" + }, + "backgroundColor": { + "type": "string" + }, + "animationUrl": { + "type": "string" + }, + "decimals": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + }, + "status": { + "$ref": "#/components/schemas/ResourceStatus" + }, + "queuedAt": { + "type": "string" + }, + "lastFetched": { + "type": "string" + } + } + }, + "PropertyFilter": { + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/PropertyType" + }, + "min": { + "type": "number" + }, + "max": { + "type": "number" + }, + "values": { + "type": "array", + "description": "[]any", + "items": { + "type": "object" + } + } + } + }, + "Filter": { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "properties": { + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" + } + } + } + }, + "Collection": { + "type": "object", + "required": [ + "id", + "projectId", + "metadata", + "private" + ], + "properties": { + "id": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "metadata": { + "$ref": "#/components/schemas/CollectionMetadata" + }, + "private": { + "type": "boolean" + }, + "revealKey": { + "type": "string" + }, + "tokenCount": { + "type": "number" + }, + "createdAt": { + "type": "string" + }, + "updatedAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + }, + "baseURIs": { + "$ref": "#/components/schemas/CollectionBaseURIs" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } + }, + "CollectionMetadata": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "externalLink": { + "type": "string" + }, + "properties": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "attributes": { + "type": "array", + "description": "[]map", + "items": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + } + } + } + }, + "CollectionBaseURIs": { + "type": "object", + "required": [ + "contractMetadataURI", + "tokenMetadataURI" + ], + "properties": { + "contractMetadataURI": { + "type": "string" + }, + "tokenMetadataURI": { + "type": "string" + } + } + }, + "ContractCollection": { + "type": "object", + "required": [ + "id", + "chainId", + "contractAddress", + "collectionId" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + }, + "collectionId": { + "type": "number" + } + } + }, + "Asset": { + "type": "object", + "required": [ + "id", + "collectionId", + "metadataField" + ], + "properties": { + "id": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "url": { + "type": "string" + }, + "metadataField": { + "type": "string" + }, + "filename": { + "type": "string" + }, + "filesize": { + "type": "number" + }, + "mimeType": { + "type": "string" + }, + "width": { + "type": "number" + }, + "height": { + "type": "number" + }, + "updatedAt": { + "type": "string" + } + } + }, + "Token": { + "type": "object", + "required": [ + "collectionId", + "tokenId", + "metadata", + "private", + "searchColumn" + ], + "properties": { + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "metadata": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "private": { + "type": "boolean" + }, + "searchColumn": { + "type": "string" + }, + "updatedAt": { + "type": "string" + } + } + }, + "GetNiftyswapUnitPricesRequest": { + "type": "object", + "required": [ + "swapType", + "ids", + "amounts" + ], + "properties": { + "swapType": { + "$ref": "#/components/schemas/SwapType" + }, + "ids": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "amounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "GetNiftyswapUnitPricesResponse": { + "type": "object", + "required": [ + "unitPrice", + "unitAmount", + "availableAmount" + ], + "properties": { + "unitPrice": { + "type": "string" + }, + "unitAmount": { + "type": "string" + }, + "availableAmount": { + "type": "string" + } + } + }, + "Page": { + "type": "object", + "properties": { + "page": { + "type": "number" + }, + "column": { + "type": "string" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "pageSize": { + "type": "number" + }, + "more": { + "type": "boolean" + } + } + }, + "TaskRunner": { + "type": "object", + "required": [ + "id", + "workGroup", + "runAt" + ], + "properties": { + "id": { + "type": "number" + }, + "workGroup": { + "type": "string" + }, + "runAt": { + "type": "string" + } + } + }, + "Task": { + "type": "object", + "required": [ + "id", + "queue", + "try", + "payload" + ], + "properties": { + "id": { + "type": "number" + }, + "queue": { + "type": "string" + }, + "status": { + "$ref": "#/components/schemas/TaskStatus" + }, + "try": { + "type": "number" + }, + "runAt": { + "type": "string" + }, + "lastRanAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "payload": { + "type": "array", + "description": "[]byte", + "items": { + "type": "string" + } + }, + "hash": { + "type": "string" + } + } + }, + "Metadata_RefreshTokenMetadata_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "refreshAll": { + "type": "boolean" + } + } + }, + "Metadata_EnqueueTokensForRefresh_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "refreshAll": { + "type": "boolean" + } + } + }, + "Metadata_RefreshContractInfo_Request": { + "type": "object", + "properties": { + "chainHandle": { + "type": "string" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Metadata_RefreshContractTokens_Request": { + "type": "object", + "properties": { + "chainHandle": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Metadata_RefreshAllContractTokens_Request": { + "type": "object", + "properties": { + "chainHandle": { + "type": "string" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Metadata_GetTokenMetadata_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Metadata_GetTokenMetadataBatch_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractTokenMap": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + } + }, + "Metadata_SearchTokenMetadata_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/Filter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_SearchTokenIDs_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "filter": { + "$ref": "#/components/schemas/Filter" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_TokenCollectionFilters_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Metadata_GetContractInfo_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Metadata_GetContractInfoBatch_Request": { + "type": "object", + "properties": { + "chainID": { + "type": "string" + }, + "contractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Metadata_SearchContractInfo_Request": { + "type": "object", + "properties": { + "contractAddress": { + "type": "string" + } + } + }, + "Metadata_SearchContractInfoBatch_Request": { + "type": "object", + "properties": { + "contractAddresses": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Metadata_SearchMetadata_Request": { + "type": "object", + "properties": { + "filter": { + "type": "string" + }, + "chainID": { + "type": "string" + }, + "types": { + "type": "array", + "description": "[]ContractType", + "items": { + "$ref": "#/components/schemas/ContractType" + } + }, + "excludeTokenMetadata": { + "type": "boolean" + } + } + }, + "Metadata_SearchTokens_Request": { + "type": "object", + "properties": { + "q": { + "type": "string" + }, + "chainID": { + "type": "string" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_SearchContracts_Request": { + "type": "object", + "properties": { + "q": { + "type": "string" + }, + "chainID": { + "type": "string" + }, + "chainIDs": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "types": { + "type": "array", + "description": "[]ContractType", + "items": { + "$ref": "#/components/schemas/ContractType" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_DirectoryGetNetworks_Request": { + "type": "object", + "properties": { + "includeTestnets": { + "type": "boolean" + }, + "onlyFeatured": { + "type": "boolean" + } + } + }, + "Metadata_DirectoryGetCollections_Request": { + "type": "object", + "properties": { + "chainId": { + "type": "number" + }, + "includeTestnets": { + "type": "boolean" + }, + "onlyFeatured": { + "type": "boolean" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_RefreshTokenMetadata_Response": { + "type": "object", + "properties": { + "taskId": { + "type": "number" + } + } + }, + "Metadata_EnqueueTokensForRefresh_Response": { + "type": "object", + "properties": { + "taskId": { + "type": "number" + } + } + }, + "Metadata_RefreshContractInfo_Response": { + "type": "object" + }, + "Metadata_RefreshContractTokens_Response": { + "type": "object", + "properties": { + "task": { + "$ref": "#/components/schemas/Task" + } + } + }, + "Metadata_RefreshAllContractTokens_Response": { + "type": "object", + "properties": { + "task": { + "$ref": "#/components/schemas/Task" + }, + "retryAfter": { + "type": "number" + } + } + }, + "Metadata_GetTokenMetadata_Response": { + "type": "object", + "properties": { + "tokenMetadata": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + }, + "task": { + "$ref": "#/components/schemas/Task" + } + } + }, + "Metadata_GetTokenMetadataBatch_Response": { + "type": "object", + "properties": { + "contractTokenMetadata": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + }, + "task": { + "$ref": "#/components/schemas/Task" + } + } + }, + "Metadata_SearchTokenMetadata_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "tokenMetadata": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + } + }, + "Metadata_SearchTokenIDs_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "tokenIds": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "Metadata_TokenCollectionFilters_Response": { + "type": "object", + "properties": { + "filters": { + "type": "array", + "description": "[]PropertyFilter", + "items": { + "$ref": "#/components/schemas/PropertyFilter" + } + } + } + }, + "Metadata_GetContractInfo_Response": { + "type": "object", + "properties": { + "contractInfo": { + "$ref": "#/components/schemas/ContractInfo" + }, + "task": { + "$ref": "#/components/schemas/Task" + } + } + }, + "Metadata_GetContractInfoBatch_Response": { + "type": "object", + "properties": { + "contractInfoMap": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/ContractInfo" + } + }, + "task": { + "$ref": "#/components/schemas/Task" + } + } + }, + "Metadata_SearchContractInfo_Response": { + "type": "object", + "properties": { + "contractInfoList": { + "type": "array", + "description": "[]ContractInfo", + "items": { + "$ref": "#/components/schemas/ContractInfo" + } + } + } + }, + "Metadata_SearchContractInfoBatch_Response": { + "type": "object", + "properties": { + "contractInfoByChain": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "array", + "description": "[]ContractInfo", + "items": { + "$ref": "#/components/schemas/ContractInfo" + } + } + } + } + }, + "Metadata_SearchMetadata_Response": { + "type": "object", + "properties": { + "tokenMetadata": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + }, + "contractInfo": { + "type": "array", + "description": "[]ContractInfo", + "items": { + "$ref": "#/components/schemas/ContractInfo" + } + } + } + }, + "Metadata_SearchTokens_Response": { + "type": "object", + "properties": { + "tokenMetadata": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + }, + "nextPage": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_SearchContracts_Response": { + "type": "object", + "properties": { + "contractInfo": { + "type": "array", + "description": "[]ContractInfo", + "items": { + "$ref": "#/components/schemas/ContractInfo" + } + }, + "nextPage": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Metadata_DirectoryGetNetworks_Response": { + "type": "object", + "properties": { + "networks": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + } + } + }, + "Metadata_DirectoryGetCollections_Response": { + "type": "object", + "properties": { + "collections": { + "type": "array", + "description": "[]ContractInfo", + "items": { + "$ref": "#/components/schemas/ContractInfo" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Collections_CreateCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_GetCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + } + } + }, + "Collections_ListCollections_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Collections_UpdateCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_DeleteCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + } + } + }, + "Collections_PublishCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "recursive": { + "type": "boolean" + } + } + }, + "Collections_UnpublishCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + } + } + }, + "Collections_CreateContractCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "contractCollection": { + "$ref": "#/components/schemas/ContractCollection" + } + } + }, + "Collections_GetContractCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Collections_ListContractCollections_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Collections_UpdateContractCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "contractCollection": { + "$ref": "#/components/schemas/ContractCollection" + } + } + }, + "Collections_DeleteContractCollection_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "contractAddress": { + "type": "string" + } + } + }, + "Collections_CreateToken_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "token": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "private": { + "type": "boolean" + } + } + }, + "Collections_GetToken_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + } + } + }, + "Collections_ListTokens_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Collections_UpdateToken_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + }, + "token": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "private": { + "type": "boolean" + } + } + }, + "Collections_DeleteToken_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "collectionId": { + "type": "number" + }, + "tokenId": { + "type": "string" + } + } + }, + "Collections_CreateAsset_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "asset": { + "$ref": "#/components/schemas/Asset" + } + } + }, + "Collections_GetAsset_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "assetId": { + "type": "number" + } + } + }, + "Collections_UpdateAsset_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "asset": { + "$ref": "#/components/schemas/Asset" + } + } + }, + "Collections_DeleteAsset_Request": { + "type": "object", + "properties": { + "projectId": { + "type": "number" + }, + "assetId": { + "type": "number" + } + } + }, + "Collections_CreateCollection_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_GetCollection_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_ListCollections_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "collections": { + "type": "array", + "description": "[]Collection", + "items": { + "$ref": "#/components/schemas/Collection" + } + } + } + }, + "Collections_UpdateCollection_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_DeleteCollection_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Collections_PublishCollection_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_UnpublishCollection_Response": { + "type": "object", + "properties": { + "collection": { + "$ref": "#/components/schemas/Collection" + } + } + }, + "Collections_CreateContractCollection_Response": { + "type": "object", + "properties": { + "contractCollection": { + "$ref": "#/components/schemas/ContractCollection" + } + } + }, + "Collections_GetContractCollection_Response": { + "type": "object", + "properties": { + "contractCollection": { + "$ref": "#/components/schemas/ContractCollection" + } + } + }, + "Collections_ListContractCollections_Response": { + "type": "object", + "properties": { + "contractCollections": { + "type": "array", + "description": "[]ContractCollection", + "items": { + "$ref": "#/components/schemas/ContractCollection" + } + }, + "collections": { + "type": "array", + "description": "[]Collection", + "items": { + "$ref": "#/components/schemas/Collection" + } + }, + "page": { + "$ref": "#/components/schemas/Page" + } + } + }, + "Collections_UpdateContractCollection_Response": { + "type": "object", + "properties": { + "ok": { + "type": "boolean" + } + } + }, + "Collections_DeleteContractCollection_Response": { + "type": "object", + "properties": { + "ok": { + "type": "boolean" + } + } + }, + "Collections_CreateToken_Response": { + "type": "object", + "properties": { + "token": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } + }, + "Collections_GetToken_Response": { + "type": "object", + "properties": { + "token": { + "$ref": "#/components/schemas/TokenMetadata" + }, + "assets": { + "type": "array", + "description": "[]Asset", + "items": { + "$ref": "#/components/schemas/Asset" + } + } + } + }, + "Collections_ListTokens_Response": { + "type": "object", + "properties": { + "page": { + "$ref": "#/components/schemas/Page" + }, + "tokens": { + "type": "array", + "description": "[]TokenMetadata", + "items": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + } + }, + "Collections_UpdateToken_Response": { + "type": "object", + "properties": { + "token": { + "$ref": "#/components/schemas/TokenMetadata" + } + } + }, + "Collections_DeleteToken_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + }, + "Collections_CreateAsset_Response": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/components/schemas/Asset" + } + } + }, + "Collections_GetAsset_Response": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/components/schemas/Asset" + } + } + }, + "Collections_UpdateAsset_Response": { + "type": "object", + "properties": { + "asset": { + "$ref": "#/components/schemas/Asset" + } + } + }, + "Collections_DeleteAsset_Response": { + "type": "object", + "properties": { + "status": { + "type": "boolean" + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Sequence Metadata", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Metadata/RefreshTokenMetadata": { + "post": { + "summary": "RefreshTokenMetadata", + "deprecated": true, + "description": "Deprecated -> Use RefreshContractInfo, RefreshContractTokens or RefreshAllContractTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshTokenMetadata_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b99279", + "tokenIDs": [ + 0, + "1" + ], + "refreshAll": true + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshTokenMetadata_Response" + }, + "examples": { + "0": { + "value": { + "taskId": 64137 + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/EnqueueTokensForRefresh": { + "post": { + "summary": "EnqueueTokensForRefresh", + "deprecated": true, + "description": "Deprecated -> RefreshContractTokens or RefreshAllContractTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_EnqueueTokensForRefresh_Request" + }, + "examples": { + "0": { + "value": { + "chainId": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "tokenIds": [ + 0, + "1", + "2" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_EnqueueTokensForRefresh_Response" + }, + "examples": { + "0": { + "value": { + "taskId": 64352 + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/RefreshContractInfo": { + "post": { + "summary": "RefreshContractInfo", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshContractInfo_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshContractInfo_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/RefreshContractTokens": { + "post": { + "summary": "RefreshContractTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshContractTokens_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshContractTokens_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/RefreshAllContractTokens": { + "post": { + "summary": "RefreshAllContractTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshAllContractTokens_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_RefreshAllContractTokens_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/GetTokenMetadata": { + "post": { + "summary": "GetTokenMetadata", + "description": "GetTokenMetadata - fetch token metadata for a particular contract and respective tokenIDs", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetTokenMetadata_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddress": "0xaf8a08bf8b2945c2779ae507dade15985ea11fbc", + "tokenIDs": [ + "19371963813488842961773981353605630758075094402" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetTokenMetadata_Response" + }, + "examples": { + "0": { + "value": { + "tokenMetadata": [ + { + "tokenId": "19371963813488842961773981353605630758075094402", + "name": "Dragon Shield Shield", + "description": "A free AI treasure chest mini-game", + "image": "https://metadata.sequence.app/projects/1229/collections/40/tokens/19371963813488842961773981353605630758075094402/image.png", + "properties": null, + "attributes": [ + { + "display_type": "category", + "trait_type": "Category", + "value": "defensive" + }, + { + "display_type": "defense_min", + "trait_type": "Defense Minimum", + "value": "59" + }, + { + "display_type": "defense_max", + "trait_type": "Defense Maximum", + "value": "67" + }, + { + "display_type": "tier", + "trait_type": "tier", + "value": "Common" + }, + { + "display_type": "type", + "trait_type": "type", + "value": "Shield" + } + ], + "decimals": 0, + "updatedAt": "2024-10-10T18:08:04.22766865Z" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/GetTokenMetadataBatch": { + "post": { + "summary": "GetTokenMetadataBatch", + "description": "GetTokenMetadataBatch allows you to query the token metadata of a batch of contracts and respective tokenIDs where map is contractAddress::[]tokenID => contractAddress::[]TokenMetadata\nNote, we limit each request to 50 contracts max and 50 tokens max per contract.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetTokenMetadataBatch_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractTokenMap": { + "0x8070c5b48b1ce7b3219660c79b23e8679bfd5041": [ + 0, + "1" + ], + "0x70a2177079877e4aae639d1abb29ffa537b94970": [ + 0, + "1", + "2", + "3", + "4", + "5" + ] + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetTokenMetadataBatch_Response" + }, + "examples": { + "0": { + "value": { + "contractTokenMetadata": { + "0x70a2177079877e4aae639d1abb29ffa537b94970": [ + { + "tokenId": 0, + "name": "Divine Axe #160", + "description": "This legendary axe, blessed by ancient gods, capable of shattering mountains.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/0/image.png", + "properties": null, + "attributes": [ + { + "sharpness": 1120 + }, + { + "attackPower": 463 + }, + { + "weight": 700 + }, + { + "criticalHitChance": 1218 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + }, + { + "tokenId": "1", + "name": "Divine Axe #724", + "description": "This powerful axe, blessed by ancient gods, with the power to summon storms.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/1/image.png", + "properties": null, + "attributes": [ + { + "speed": 1491 + }, + { + "edgeRetention": 1198 + }, + { + "criticalHitChance": 370 + }, + { + "attackPower": 396 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + }, + { + "tokenId": "2", + "name": "Divine Axe #819", + "description": "This ancient axe, blessed by ancient gods, capable of shattering mountains.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/2/image.png", + "properties": null, + "attributes": [ + { + "balance": 81 + }, + { + "edgeRetention": 283 + }, + { + "sharpness": 105 + }, + { + "durability": 338 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + }, + { + "tokenId": "3", + "name": "Divine Axe #948", + "description": "This enchanted axe, crafted by the hands of giants, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/3/image.png", + "properties": null, + "attributes": [ + { + "speed": 1314 + }, + { + "balance": 1235 + }, + { + "weight": 48 + }, + { + "magic": 826 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + }, + { + "tokenId": "4", + "name": "Divine Axe #031", + "description": "This powerful axe, forged in the fires of a dying star, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/4/image.png", + "properties": null, + "attributes": [ + { + "speed": 1144 + }, + { + "elementalAffinity": 1315 + }, + { + "edgeRetention": 1128 + }, + { + "sharpness": 1232 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + }, + { + "tokenId": "5", + "name": "Divine Axe #452", + "description": "This enchanted axe, crafted by the hands of giants, with the power to summon storms.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/5/image.png", + "properties": null, + "attributes": [ + { + "elementalAffinity": 803 + }, + { + "durability": 83 + }, + { + "criticalHitChance": 268 + }, + { + "balance": 1039 + } + ], + "updatedAt": "2024-11-01T08:29:29.848063928Z" + } + ], + "0x8070c5b48b1ce7b3219660c79b23e8679bfd5041": [ + { + "tokenId": 0, + "name": "Test nft erc721", + "description": "Description", + "image": "https://metadata.sequence.app/projects/30957/collections/273/tokens/0/image.jpg", + "properties": { + "armor": "100" + }, + "attributes": null, + "updatedAt": "2024-11-01T08:18:33.514523974Z" + }, + { + "tokenId": "1", + "name": "NFT 2 Amoy", + "description": "Description", + "image": "https://metadata.sequence.app/projects/30957/collections/273/tokens/1/image.jpg", + "properties": null, + "attributes": null, + "updatedAt": "2024-11-01T08:18:33.514523974Z" + } + ] + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchTokenMetadata": { + "post": { + "summary": "SearchTokenMetadata", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokenMetadata_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "filter": { + "text": "Divine" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokenMetadata_Response" + }, + "examples": { + "0": { + "value": { + "page": { + "pageSize": 10, + "more": false + }, + "tokenMetadata": [ + { + "tokenId": 0, + "name": "Divine Axe #160", + "description": "This legendary axe, blessed by ancient gods, capable of shattering mountains.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/0/image.png", + "properties": null, + "attributes": [ + { + "sharpness": 1120 + }, + { + "attackPower": 463 + }, + { + "weight": 700 + }, + { + "criticalHitChance": 1218 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "1", + "name": "Divine Axe #724", + "description": "This powerful axe, blessed by ancient gods, with the power to summon storms.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/1/image.png", + "properties": null, + "attributes": [ + { + "speed": 1491 + }, + { + "edgeRetention": 1198 + }, + { + "criticalHitChance": 370 + }, + { + "attackPower": 396 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "2", + "name": "Divine Axe #819", + "description": "This ancient axe, blessed by ancient gods, capable of shattering mountains.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/2/image.png", + "properties": null, + "attributes": [ + { + "balance": 81 + }, + { + "edgeRetention": 283 + }, + { + "sharpness": 105 + }, + { + "durability": 338 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "3", + "name": "Divine Axe #948", + "description": "This enchanted axe, crafted by the hands of giants, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/3/image.png", + "properties": null, + "attributes": [ + { + "speed": 1314 + }, + { + "balance": 1235 + }, + { + "weight": 48 + }, + { + "magic": 826 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "4", + "name": "Divine Axe #031", + "description": "This powerful axe, forged in the fires of a dying star, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/4/image.png", + "properties": null, + "attributes": [ + { + "speed": 1144 + }, + { + "elementalAffinity": 1315 + }, + { + "edgeRetention": 1128 + }, + { + "sharpness": 1232 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "5", + "name": "Divine Axe #452", + "description": "This enchanted axe, crafted by the hands of giants, with the power to summon storms.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/5/image.png", + "properties": null, + "attributes": [ + { + "elementalAffinity": 803 + }, + { + "durability": 83 + }, + { + "criticalHitChance": 268 + }, + { + "balance": 1039 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "6", + "name": "Divine Axe #689", + "description": "This cursed axe, forged in the fires of a dying star, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/6/image.png", + "properties": null, + "attributes": [ + { + "speed": 1088 + }, + { + "elementalAffinity": 1195 + }, + { + "magic": 1398 + }, + { + "sharpness": 1069 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "7", + "name": "Divine Axe #759", + "description": "This ancient axe, blessed by ancient gods, with the power to summon storms.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/7/image.png", + "properties": null, + "attributes": [ + { + "balance": 670 + }, + { + "elementalAffinity": 514 + }, + { + "weight": 146 + }, + { + "edgeRetention": 747 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "8", + "name": "Divine Axe #599", + "description": "This enchanted axe, crafted by the hands of giants, capable of shattering mountains.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/8/image.png", + "properties": null, + "attributes": [ + { + "criticalHitChance": 375 + }, + { + "weight": 531 + }, + { + "speed": 1300 + }, + { + "edgeRetention": 368 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + }, + { + "tokenId": "9", + "name": "Divine Axe #364", + "description": "This cursed axe, imbued with the souls of fallen warriors, which never dulls.", + "image": "https://metadata.sequence.app/projects/30957/collections/819/tokens/9/image.png", + "properties": null, + "attributes": [ + { + "weight": 109 + }, + { + "balance": 395 + }, + { + "durability": 863 + }, + { + "speed": 484 + } + ], + "updatedAt": "0001-01-01T00:00:00Z" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchTokenIDs": { + "post": { + "summary": "SearchTokenIDs", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokenIDs_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "filter": { + "text": "Divine" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokenIDs_Response" + }, + "examples": { + "0": { + "value": { + "page": null, + "tokenIds": [ + 0, + "1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9" + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/TokenCollectionFilters": { + "post": { + "summary": "TokenCollectionFilters", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_TokenCollectionFilters_Request" + }, + "examples": { + "0": { + "value": { + "chainId": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_TokenCollectionFilters_Response" + }, + "examples": { + "0": { + "value": { + "filters": [ + { + "name": "Rarity", + "type": "STRING", + "min": null, + "max": null, + "values": [ + "Rare" + ] + }, + { + "name": "Type", + "type": "STRING", + "min": null, + "max": null, + "values": [ + "Knife" + ] + }, + { + "name": "Model", + "type": "STRING", + "min": null, + "max": null, + "values": [ + "Butterfly" + ] + }, + { + "name": "Condition", + "type": "STRING", + "min": null, + "max": null, + "values": [ + "Slightly Used (SU)" + ] + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/GetContractInfo": { + "post": { + "summary": "GetContractInfo", + "description": "Contract Info -- returns contract meta-info for contracts found in registered chain's token-lists", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetContractInfo_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetContractInfo_Response" + }, + "examples": { + "0": { + "value": { + "contractInfo": { + "chainId": "80002", + "address": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "name": "Placeholders", + "type": "ERC721", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "Placeholders collection", + "ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "ogName": "Vault for Sales", + "originChainId": 0, + "originAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-22T21:10:39.267327075Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/GetContractInfoBatch": { + "post": { + "summary": "GetContractInfoBatch", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetContractInfoBatch_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "contractAddresses": [ + "0x33c7848db3d37103718736d233f0db65cc222b1e", + "0x70a2177071177e4aae639d1abb23ffa537b94970" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_GetContractInfoBatch_Response" + }, + "examples": { + "0": { + "value": { + "contractInfoMap": { + "0x33c7848db3d37103718736d233f0db65cc222b1e": { + "chainId": "80002", + "address": "0x33c7848db3d37103718736d233f0db65cc222b1e", + "name": "Knives", + "type": "ERC1155", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/35598/collections/827/image.png", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "https://baseurl/collections/collectioname", + "description": "All knives from Alternates can be found in this category.", + "ogImage": "https://metadata.sequence.app/projects/35598/collections/827/image.png", + "ogName": "Knives", + "originChainId": 0, + "originAddress": "0x33c7848db3d37103718736d233f0db65cc222b1e", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-23T06:12:24.243404151Z" + }, + "0x70a2177071177e4aae639d1abb23ffa537b94970": { + "chainId": "80002", + "address": "0x70a2177071177e4aae639d1abb23ffa537b94970", + "name": "Placeholders", + "type": "ERC721", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "Placeholders collection", + "ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "ogName": "Vault for Sales", + "originChainId": 0, + "originAddress": "0x70a2177071177e4aae639d1abb23ffa537b94970", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-23T05:53:19.171080211Z" + } + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchContractInfo": { + "post": { + "summary": "SearchContractInfo", + "description": "Search Contract Info across all chains token-lists. Similar to GetContractInfo above, but it will traverse all chains and results from all.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContractInfo_Request" + }, + "examples": { + "0": { + "value": { + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContractInfo_Response" + }, + "examples": { + "0": { + "value": { + "contractInfoList": [ + { + "chainId": "80002", + "address": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "name": "Placeholders", + "type": "ERC721", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "Placeholders collection", + "ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "ogName": "Vault for Sales", + "originChainId": 0, + "originAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-23T05:53:19.171080211Z" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchContractInfoBatch": { + "post": { + "summary": "SearchContractInfoBatch", + "description": "map of contractAddress :: []ContractInfo", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContractInfoBatch_Request" + }, + "examples": { + "0": { + "value": { + "contractAddresses": [ + "0x70a2177079877e4aae639d1abb29ffa537b94970" + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContractInfoBatch_Response" + }, + "examples": { + "0": { + "value": { + "contractInfoByChain": { + "0x70a2177079877e4aae639d1abb29ffa537b94970": [ + { + "chainId": "80002", + "address": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "name": "Placeholders", + "type": "ERC721", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "Placeholders collection", + "ogImage": "https://metadata.sequence.app/projects/30957/collections/819/image.png", + "ogName": "Vault for Sales", + "originChainId": 0, + "originAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-23T05:53:19.171080211Z" + } + ] + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchMetadata": { + "post": { + "summary": "SearchMetadata", + "deprecated": true, + "description": "Deprecated: Use SearchTokens() and SearchContracts() instead.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchMetadata_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchMetadata_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchTokens": { + "post": { + "summary": "SearchTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokens_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "80002", + "q": "skyweaver" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchTokens_Response" + }, + "examples": { + "0": { + "value": { + "tokenMetadata": [ + { + "tokenId": "107", + "name": "Season 0 Floof 107", + "description": "", + "image": "https://nft.flooftopia.org/images/Floof_80001_107.png", + "properties": { + "000_season": { + "name": "season", + "value": "Season 0" + }, + "005_floofId": { + "name": "Floof ID", + "value": "107" + }, + "010_head_indices_shape": { + "name": "Head Shape", + "value": "Egg" + }, + "015_head_indices_nose": { + "name": "Nose", + "value": "Dog Nose" + }, + "020_head_indices_mouth": { + "name": "Mouth", + "value": "Smiley" + }, + "025_head_indices_ears": { + "name": "Ears", + "value": "Curly Loppy" + }, + "030_head_shape": { + "name": "Head Shape Options", + "value": [ + "4", + "2", + -8 + ] + }, + "035_head_eye": { + "name": "Eye Options", + "value": [ + "2", + 21, + -38 + ] + }, + "040_head_eyeColor": { + "name": "Eye Color", + "value": "(R=0.018500,G=0.001214,B=0.009721,A=1.000000)" + }, + "045_head_nose": { + "name": "Nose Options", + "value": [ + -22, + -6 + ] + }, + "050_head_mouth": { + "name": "Mouth Options", + "value": [ + -61, + 61 + ] + }, + "055_head_ears": { + "name": "Ears Options", + "value": [ + 19, + 14, + "4" + ] + }, + "060_fur_indices_length": { + "name": "Fur Length", + "value": "Short" + }, + "065_fur_indices_pattern": { + "name": "Fur Pattern", + "value": "Patches" + }, + "070_fur_color": { + "name": "Fur Color", + "value": "(R=0.361307,G=0.155926,B=0.012286,A=1.000000)" + }, + "075_fur_color_pattern": { + "name": "Pattern Color", + "value": "(R=0.016807,G=0.001214,B=0.005182,A=1.000000)" + }, + "080_fur_pattern": { + "name": "Fur Pattern Options", + "value": [ + -45, + 50 + ] + }, + "085_extras_indices_attachments": { + "name": "Attachment", + "value": "Deer Antlers" + }, + "090_extras_indices_tail": { + "name": "Tail", + "value": "Fox Tail" + }, + "095_extras_attachments": { + "name": "Attachment Options", + "value": [ + -4, + -18, + -16 + ] + }, + "100_extras_tail": { + "name": "Tail Options", + "value": [ + -61, + 14 + ] + }, + "200_background_sky": { + "name": "Background Sky", + "value": "Blue Sky" + }, + "205_background_middle": { + "name": "Background Middle", + "value": "Mountains" + }, + "210_background_ground": { + "name": "Background Ground", + "value": "Grassy Field" + }, + "215_background_item_l": { + "name": "Background Left Item", + "value": "Present" + }, + "220_background_item_r": { + "name": "Background Right Item", + "value": "Skyweaver" + } + }, + "attributes": null, + "external_url": "https://www.flooftopia.org", + "decimals": 0, + "updatedAt": "2023-11-16T19:48:51.110477Z" + } + ], + "nextPage": { + "page": "2", + "pageSize": 30, + "more": true + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/SearchContracts": { + "post": { + "summary": "SearchContracts", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContracts_Request" + }, + "examples": { + "0": { + "value": { + "chainID": "137", + "q": "skyweaver" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_SearchContracts_Response" + }, + "examples": { + "0": { + "value": { + "contractInfo": [ + { + "chainId": "137", + "address": "0x6310c8c6190d99e60422307e75d7770fd1f519d4", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x8a5479c4349518592d41456e7e6983cab19fc4b71f9fce257d3bb5eaec6001bf", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-02-28T19:52:03.42984Z" + }, + { + "chainId": "137", + "address": "0x9b609bf3a3977ee7254210e0a0d835251540c4d5", + "name": "Skyweaver Niftyswap", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0xa04f6e37cbe77c331383504e172081eb95e8ef7aea51ad38c3f313c49422ecad", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348913Z" + }, + { + "chainId": "137", + "address": "0xb5c3023dbece7a6bb78014000cd1c8ce940b50a0", + "name": "Skyweaver Market Fee", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348925Z" + }, + { + "chainId": "137", + "address": "0x2f88096676ea7491305c82752f87a4df73e77a5c", + "name": "Skyweaver Niftyswap", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0xb29d8f6581dc0b517b09690a2d320e8b491b843058853b1d02becd97d0a0364d", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "blacklist": true, + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348965Z" + }, + { + "chainId": "137", + "address": "0x86815cd8a85414a032e631f375f966a6cc366f9f", + "name": "Skyweaver Conquest", + "type": "UNKNOWN", + "symbol": "CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348953Z" + }, + { + "chainId": "137", + "address": "0x58d82d9fb669aec50832f3703698479ff7567559", + "name": "Skyweaver Niftyswap (local)", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0x81fdabb11cb9f9ff9b95fa3af750edbb2f3ca4f85e16ee2ee0144ce31e0ab973", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348997Z" + }, + { + "chainId": "137", + "address": "0xa841aa6805957486cc2e30bb30b737e3f5b14e17", + "name": "Skyweaver Conquest Tickets Factory", + "type": "UNKNOWN", + "symbol": "GET-CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "blacklist": true, + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349016Z" + }, + { + "chainId": "137", + "address": "0x742ac8f575563f090abc70e5ca19932472ec76ef", + "name": "Skyweaver Conquest Tickets Factory (stg)", + "type": "UNKNOWN", + "symbol": "GET-CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349041Z" + }, + { + "chainId": "137", + "address": "0x85117852a3dea4fa50afff171b9b09a4d83c8e4f", + "name": "Skyweaver Conquest", + "type": "UNKNOWN", + "symbol": "CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "blacklist": true, + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349047Z" + }, + { + "chainId": "137", + "address": "0xedbdeb151e1cd111df8ec4a6d88719f415c5fdd7", + "name": "Skyweaver Conquest (dev)", + "type": "UNKNOWN", + "symbol": "CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349053Z" + }, + { + "chainId": "137", + "address": "0x9bc4bd99b0eac905dcc7a9f52d0b1fa1d72cd532", + "name": "Skyweaver Conquest (local)", + "type": "UNKNOWN", + "symbol": "CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349059Z" + }, + { + "chainId": "137", + "address": "0xdc9df33d9bad1ca9a9220b5f3d65865a84a8d528", + "name": "Skyweaver Conquest (stg)", + "type": "UNKNOWN", + "symbol": "CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349065Z" + }, + { + "chainId": "137", + "address": "0x12faf77beab96a21593fc32734be1178346f17e6", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x8a5479c4349518592d41456e7e6983cab19fc4b71f9fce257d3bb5eaec6001bf", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-03-11T20:20:38.740017Z" + }, + { + "chainId": "137", + "address": "0x8e0079a2452f71558f13f0facb65d43e376d4f20", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x2b4204c124e194df7080ef85312509b7161980e9da5d565fcb18a2770e457289", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-03-11T20:26:53.048209Z" + }, + { + "chainId": "137", + "address": "0x96897146606c7d16b208891e74bc5db9d0faa3af", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x2b4204c124e194df7080ef85312509b7161980e9da5d565fcb18a2770e457289", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-03-01T00:03:03.436606Z" + }, + { + "chainId": "137", + "address": "0xa3db84c3d8003f93b6890bb5a291237a408c61cf", + "name": "Skyweaver Sam's Avatars", + "type": "ERC20", + "symbol": "", + "deployed": true, + "bytecodeHash": "0xcf86b412cad75b8679f7f2810e4865a977de8fb4a657d83d144d740edd4a0e2e", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2023-11-24T16:58:29.125983Z" + }, + { + "chainId": "137", + "address": "0x86442a7180ed2bb304d5304ed5ac66e041eeb623", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x2b4204c124e194df7080ef85312509b7161980e9da5d565fcb18a2770e457289", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-03-12T18:39:34.447134Z" + }, + { + "chainId": "137", + "address": "0x787efdb84e94abc631e5a1983c937d220529b94c", + "name": "Skyweaver Treasury", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348938Z" + }, + { + "chainId": "137", + "address": "0x059d3242ded5bad6008ed0899f5e0e22cab0586a", + "name": "Skyweaver Conquest Tickets Factory", + "type": "UNKNOWN", + "symbol": "GET-CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x61d1bd5e3a4d5c9c380d3b6cf970f96d63ae1376d55a2c1205869d1f5ef770f7", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348946Z" + }, + { + "chainId": "137", + "address": "0x00a33f640f8b4efd6a154270fcdbf288d17d4385", + "name": "Skyweaver Niftyswap (dev old)", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0x24cd2c7fa8e95fd37d27f97497f08d207895c52b9c318973cfa43121dbbd8da7", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348973Z" + }, + { + "chainId": "137", + "address": "0x7f6b2bb2217f2cdccd304cb04c4bf98704d30d54", + "name": "Skyweaver Niftyswap (dev)", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.348981Z" + }, + { + "chainId": "137", + "address": "0x95584e36255681f5335702057e150a02cc9a3032", + "name": "Skyweaver Niftyswap (stg)", + "type": "UNKNOWN", + "symbol": "SWAP", + "logoURI": "https://assets.skyweaver.net/latest/sw-swap.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349007Z" + }, + { + "chainId": "137", + "address": "0x241c42c409c4ba4f449ec9cf3b5b853a4a5e8d4c", + "name": "Skyweaver Conquest Tickets Factory (dev)", + "type": "UNKNOWN", + "symbol": "GET-CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x448b201ec52b593a425f3f002309c52830dd1928aac61b4826264613f8ac81b0", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349026Z" + }, + { + "chainId": "137", + "address": "0x2e7dd4b107e7449700df4eb74df910443b0a8acf", + "name": "Skyweaver Conquest Tickets Factory (local)", + "type": "UNKNOWN", + "symbol": "GET-CONQUEST", + "logoURI": "https://assets.skyweaver.net/iYyh8-Op/webapp/icons/conquest-ticket-splash.png", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-06-24T14:56:10.349034Z" + }, + { + "chainId": "137", + "address": "0xaf23b2199fd8a4f0d47a587c6403db534f131f8e", + "name": "Big Skyweaver", + "type": "ERC1155", + "symbol": "Big Skyweaver", + "deployed": true, + "bytecodeHash": "0xa2a2f71551a15ee9e88d5be5f3a0d1716fb9a758d7f525b73d25368d1bca60e5", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-09-19T08:30:23.53885Z" + }, + { + "chainId": "137", + "address": "0x6dba7e0065d43e61412c55fddc3214e371101ad4", + "name": "Skyweaver Payment Proxy", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0xa1275962bd7967e5e8ce1d31a731aa230605cebbf841d8967a910023d1b38ef1", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-03-01T00:03:03.436612Z" + }, + { + "chainId": "137", + "address": "0xd6e5ad42107196628229bda2e4ddf83a740b0891", + "name": "Light Skyweaver", + "type": "ERC1155", + "symbol": "Light Skyweaver", + "deployed": true, + "bytecodeHash": "0xa2a2f71551a15ee9e88d5be5f3a0d1716fb9a758d7f525b73d25368d1bca60e5", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-07-26T10:30:37.613067Z" + }, + { + "chainId": "137", + "address": "0x7fb40ba8fbff2b115f72ebd12648488619924f4d", + "name": "Tiny Skyweaver", + "type": "ERC1155", + "symbol": "Tiny Skyweaver", + "deployed": true, + "bytecodeHash": "0xa2a2f71551a15ee9e88d5be5f3a0d1716fb9a758d7f525b73d25368d1bca60e5", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": false + }, + "updatedAt": "2024-09-29T06:52:52.198645Z" + }, + { + "chainId": "137", + "address": "0x631998e91476da5b870d741192fc5cbc55f5a52e", + "name": "Skyweaver", + "type": "ERC1155", + "symbol": "SKYWVR", + "logoURI": "https://assets.skyweaver.net/_tX5dRVi/webapp/icons/skyweaver-token.png", + "deployed": true, + "bytecodeHash": "0x0b3a422ea307987db0bc40c75566bf4ad0d4fcd617916032e73757f2a4017539", + "extensions": { + "link": "https://www.skyweaver.net/", + "description": "Skyweaver is a Free-to-Play, trading card game powered by Polygon and Ethereum.", + "ogImage": "https://skyweaver.net/images/skyweavercover.jpg", + "ogName": "", + "originChainId": 0, + "originAddress": "0x631998e91476da5b870d741192fc5cbc55f5a52e", + "verified": true, + "verifiedBy": "token-directory", + "featured": true + }, + "updatedAt": "2024-08-13T15:44:12.355679Z" + }, + { + "chainId": "137", + "address": "0x5151bfa48249c57695336c66d51054c9367f6d33", + "name": "Skyweaver", + "type": "ERC1155", + "symbol": "SKYWVR", + "logoURI": "https://assets.skyweaver.net/wiu-vYUH/webapp/icons/skyweaver-token.png", + "deployed": true, + "bytecodeHash": "0xacf498e88ebcfaa0f9074db9d49486392a93b507149a0163c506eacb12864739", + "extensions": { + "link": "https://www.skyweaver.net/", + "description": "Skyweaver is a Free-to-Play, trading card game powered by Ethereum.", + "ogImage": "https://skyweaver.net/images/skyweavercover.jpg", + "ogName": "", + "originChainId": 0, + "originAddress": "0x5151bfa48249c57695336c66d51054c9367f6d33", + "blacklist": true, + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-08-13T15:44:12.355679Z" + } + ], + "nextPage": { + "page": "2", + "pageSize": 30, + "more": true + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/DirectoryGetNetworks": { + "post": { + "summary": "DirectoryGetNetworks", + "description": "Token Directory. NOTE: this only searches the 'token-directory' items. Use 'SearchContracts' or 'SearchTokens' for everything else.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_DirectoryGetNetworks_Request" + }, + "examples": { + "0": { + "value": { + "includeTestnets": true, + "onlyFeatured": false + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_DirectoryGetNetworks_Response" + }, + "examples": { + "0": { + "value": { + "networks": [ + 84532, + 19011, + 42161, + 168587773, + 43114, + 42170, + 10, + 37714555429, + 21000000, + "100", + 11155111, + 8453, + "137", + 1946, + 1993, + "80002", + 97, + 40875, + 43113, + "1", + 37084624, + "5", + 80001, + 3776, + 6038361, + 660279, + 421614, + 33111, + 1101, + 33139, + 56 + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Metadata/DirectoryGetCollections": { + "post": { + "summary": "DirectoryGetCollections", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_DirectoryGetCollections_Request" + }, + "examples": { + "0": { + "value": { + "includeTestnets": true, + "onlyFeatured": false, + "chainId": "80002" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Metadata_DirectoryGetCollections_Response" + }, + "examples": { + "0": { + "value": { + "collections": [ + { + "chainId": "80002", + "address": "0xecfda15b60f2090b9c2c678910889e49e7edaab8", + "name": "colecction 3 de las uan", + "type": "ERC721", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "test en poligon", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-08-20T15:53:43.971994Z" + }, + { + "chainId": "80002", + "address": "0xd67dd82a97b21dafc1c62671e6909d22741c8235", + "name": "Tester Contract For Indexer Subscriptions", + "type": "UNKNOWN", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-08-01T14:30:37.100518Z" + }, + { + "chainId": "80002", + "address": "0xa1b52a27a68f77db09e57defc912eab802500278", + "name": "Toys", + "type": "ERC1155", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "", + "ogImage": "", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-08-20T15:53:45.705423Z" + }, + { + "chainId": "80002", + "address": "0x4442e4878d60b13c0bca9ceb6b0bab82eaa03d56", + "name": "demo collection", + "type": "ERC1155", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "", + "description": "demo collection description", + "ogImage": "https://metadata.sequence.app/projects/38573/collections/713/image.jpg", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-09-09T08:49:47.852638Z" + }, + { + "chainId": "80002", + "address": "0x9559e7958d4729cf7ed4d9ff58a3ae1704800500", + "name": "Prueba-0", + "type": "ERC721", + "symbol": "", + "deployed": true, + "bytecodeHash": "0x77d12b9637a99b3ba23920eea929a68cc89b49a0e1ff4d2a71b798550cc0060e", + "extensions": { + "link": "https://www.google.com", + "description": "Collection description", + "ogImage": "https://metadata.sequence.app/projects/30957/collections/552/image.png", + "ogName": "", + "originChainId": 0, + "originAddress": "", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-08-20T15:53:47.072029Z" + }, + { + "chainId": "80002", + "address": "0x2b1e643324b3c479aa0803664637586493c3c204", + "name": "Weapons", + "type": "ERC1155", + "symbol": "", + "logoURI": "https://metadata.sequence.app/projects/35598/collections/620/image.png", + "deployed": true, + "bytecodeHash": "0xed47946e266a404fc37371df08eefdebb2fccba9ebe60c6ca8b467e1dd554ae0", + "extensions": { + "link": "https://baseurl/collections/collectioname", + "description": "All weapons from Alternates can be found in this category.", + "ogImage": "https://metadata.sequence.app/projects/35598/collections/620/image.png", + "ogName": "Weapons 1155", + "originChainId": 0, + "originAddress": "0x2b1e643324b3c479aa0803664637586493c3c204", + "verified": true, + "verifiedBy": "token-directory" + }, + "updatedAt": "2024-10-03T09:49:56.459325Z" + } + ], + "page": { + "page": "2", + "pageSize": 30, + "more": true + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "public" + ], + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Collections/CreateCollection": { + "post": { + "summary": "CreateCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collection": { + "projectId": 30957, + "private": true, + "metadata": { + "name": "Sandbox Chronicles", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "externalLink": "https://sequence.xyz/", + "properties": { + "maxNfts": 22, + "minNfts": "4", + "funCollection": true + } + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateCollection_Response" + }, + "examples": { + "0": { + "value": { + "collection": { + "id": 887, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": true, + "maxNfts": 22, + "minNfts": "4" + } + }, + "private": true, + "createdAt": "2024-10-23T06:56:39.027843Z", + "updatedAt": "2024-10-23T06:56:39.027843Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887/tokens/" + } + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/GetCollection": { + "post": { + "summary": "GetCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 887 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetCollection_Response" + }, + "examples": { + "0": { + "value": { + "collection": { + "id": 887, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": true, + "maxNfts": 22, + "minNfts": "4" + } + }, + "private": true, + "tokenCount": 0, + "createdAt": "2024-10-23T06:56:39.027843Z", + "updatedAt": "2024-10-23T06:56:39.027843Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887/tokens/" + } + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/ListCollections": { + "post": { + "summary": "ListCollections", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListCollections_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListCollections_Response" + }, + "examples": { + "0": { + "value": { + "page": { + "pageSize": 30, + "more": false + }, + "collections": [ + { + "id": 265, + "projectId": 30957, + "metadata": { + "name": "Mystic Horizons", + "description": "" + }, + "private": false, + "tokenCount": "3", + "createdAt": "2024-05-31T04:17:14.093787Z", + "updatedAt": "2024-10-22T15:16:05.25969Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/265.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/265/tokens/" + } + }, + { + "id": 690, + "projectId": 30957, + "metadata": { + "name": "Primary Sales NFTS - Divine Weapons", + "description": "Primary Sales NFTS - Divine Weapons Collection", + "image": "https://metadata.sequence.app/projects/30957/collections/690/image.png", + "external_link": "https://www.google.com" + }, + "private": false, + "tokenCount": "2", + "createdAt": "2024-08-29T19:44:00.236269Z", + "updatedAt": "2024-08-29T19:52:13.722495Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/690.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/690/tokens/" + } + }, + { + "id": 819, + "projectId": 30957, + "metadata": { + "name": "Placeholders", + "description": "Placeholders collection", + "image": "https://metadata.sequence.app/projects/30957/collections/819/image.png" + }, + "private": false, + "tokenCount": 10, + "createdAt": "2024-10-03T18:46:15.987375Z", + "updatedAt": "2024-10-03T18:46:18.25727Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/819.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/819/tokens/" + } + }, + { + "id": 887, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": true, + "maxNfts": 22, + "minNfts": "4" + } + }, + "private": true, + "tokenCount": 0, + "createdAt": "2024-10-23T06:56:39.027843Z", + "updatedAt": "2024-10-23T06:56:39.027843Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/887/tokens/" + } + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/UpdateCollection": { + "post": { + "summary": "UpdateCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collection": { + "projectId": 30957, + "id": 888, + "private": true, + "metadata": { + "name": "Sandbox Chronicles Modified", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "externalLink": "https://sequence.xyz/", + "properties": { + "maxNfts": 1000, + "minNfts": "1", + "funCollection": false + } + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateCollection_Response" + }, + "examples": { + "0": { + "value": { + "collection": { + "id": 888, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles Modified", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": false, + "maxNfts": 1000, + "minNfts": "1" + } + }, + "private": true, + "createdAt": "2024-10-23T07:02:00.905283Z", + "updatedAt": "2024-10-23T07:10:45.118089375Z", + "baseURIs": { + "contractMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888.json", + "tokenMetadataURI": "https://metadata.sequence.app/projects/30957/collections/888/tokens/" + } + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/DeleteCollection": { + "post": { + "summary": "DeleteCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 3095723, + "collectionId": 26532223 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteCollection_Response" + }, + "examples": { + "0": { + "value": { + "status": true + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/PublishCollection": { + "post": { + "summary": "PublishCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_PublishCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_PublishCollection_Response" + }, + "examples": { + "0": { + "value": { + "collection": { + "id": 888, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles Modified", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": false, + "maxNfts": 1000, + "minNfts": "1" + } + }, + "private": false, + "createdAt": "2024-10-23T07:02:00.905283Z", + "updatedAt": "2024-10-23T07:10:45.118089Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/UnpublishCollection": { + "post": { + "summary": "UnpublishCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UnpublishCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UnpublishCollection_Response" + }, + "examples": { + "0": { + "value": { + "collection": { + "id": 888, + "projectId": 30957, + "metadata": { + "name": "Sandbox Chronicles Modified", + "description": "A collection of test cases designed to push the boundaries of your API. Whether you’re validating edge cases, simulating real-world scenarios, or just experimenting with wild inputs, this suite ensures your endpoints are battle-tested and ready for anything. Perfect for developers who embrace the unexpected and thrive on precision.", + "properties": { + "funCollection": false, + "maxNfts": 1000, + "minNfts": "1" + } + }, + "private": true, + "createdAt": "2024-10-23T07:02:00.905283Z", + "updatedAt": "2024-10-23T07:10:45.118089Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/CreateContractCollection": { + "post": { + "summary": "CreateContractCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateContractCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "contractCollection": { + "chainId": "80002", + "contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7", + "collectionId": 819 + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateContractCollection_Response" + }, + "examples": { + "0": { + "value": { + "contractCollection": { + "id": 460, + "chainId": "80002", + "contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7", + "collectionId": 819 + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/GetContractCollection": { + "post": { + "summary": "GetContractCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetContractCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "chainId": "80002", + "contractAddress": "0x6325e304e6eea3c818f1eaf8924570d491e1f6d4" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetContractCollection_Response" + }, + "examples": { + "0": { + "value": { + "contractCollection": { + "id": 442, + "chainId": "80002", + "contractAddress": "0x6325e304e6eea3c818f1eaf8924570d491e1f6d4", + "collectionId": 908 + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/ListContractCollections": { + "post": { + "summary": "ListContractCollections", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListContractCollections_Request" + }, + "examples": { + "0": { + "value": { + "collectionId": 819, + "projectId": 30957 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListContractCollections_Response" + }, + "examples": { + "0": { + "value": { + "contractCollections": [ + { + "id": 370, + "chainId": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "collectionId": 819 + } + ], + "collections": [ + { + "id": 819, + "projectId": 30957, + "metadata": { + "name": "Placeholders", + "description": "Placeholders collection", + "image": "https://metadata.sequence.app/projects/30957/collections/819/image.png" + }, + "private": false, + "createdAt": "2024-10-03T18:46:15.987375Z", + "updatedAt": "2024-10-03T18:46:18.25727Z" + } + ], + "page": { + "pageSize": 30, + "more": false + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/UpdateContractCollection": { + "post": { + "summary": "UpdateContractCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateContractCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "contractCollection": { + "chainId": "80002", + "contractAddress": "0x70a2177079877e4aae639d1abb29ffa537b94970", + "collectionId": 819 + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateContractCollection_Response" + }, + "examples": { + "0": { + "value": { + "ok": true + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/DeleteContractCollection": { + "post": { + "summary": "DeleteContractCollection", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteContractCollection_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "chainId": "80002", + "contractAddress": "0x477566e9ade2dfa69f066f909e36ad617a2adef7" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteContractCollection_Response" + }, + "examples": { + "0": { + "value": { + "ok": true + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/CreateToken": { + "post": { + "summary": "CreateToken", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateToken_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888, + "private": false, + "token": { + "tokenId": 200, + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "properties": { + "element": "Shadow and Starlight", + "rarity": "Legendary", + "alignment": "Celestial", + "age": "Ancient", + "size": "Massive", + "breath_power": "Time Distortion", + "temperament": "Mysterious", + "constellations_on_scales": 42, + "last_seen": "During the Last Solar Eclipse" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateToken_Response" + }, + "examples": { + "0": { + "value": { + "token": { + "tokenId": 200, + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "image": "", + "properties": { + "age": "Ancient", + "alignment": "Celestial", + "breath_power": "Time Distortion", + "constellations_on_scales": 42, + "element": "Shadow and Starlight", + "last_seen": "During the Last Solar Eclipse", + "rarity": "Legendary", + "size": "Massive", + "temperament": "Mysterious" + }, + "attributes": null, + "updatedAt": "0001-01-01T00:00:00Z" + }, + "assets": null + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/GetToken": { + "post": { + "summary": "GetToken", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetToken_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888, + "tokenId": 200 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetToken_Response" + }, + "examples": { + "0": { + "value": { + "token": { + "tokenId": 200, + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "image": "", + "properties": { + "age": "Ancient", + "alignment": "Celestial", + "breath_power": "Time Distortion", + "constellations_on_scales": 42, + "element": "Shadow and Starlight", + "last_seen": "During the Last Solar Eclipse", + "rarity": "Legendary", + "size": "Massive", + "temperament": "Mysterious" + }, + "attributes": null, + "updatedAt": "2024-10-23T19:34:40.158987036Z" + }, + "assets": [] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/ListTokens": { + "post": { + "summary": "ListTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListTokens_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_ListTokens_Response" + }, + "examples": { + "0": { + "value": { + "page": { + "pageSize": 30, + "more": false + }, + "tokens": [ + { + "tokenId": 200, + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "image": "", + "properties": { + "age": "Ancient", + "alignment": "Celestial", + "breath_power": "Time Distortion", + "constellations_on_scales": 42, + "element": "Shadow and Starlight", + "last_seen": "During the Last Solar Eclipse", + "rarity": "Legendary", + "size": "Massive", + "temperament": "Mysterious" + }, + "attributes": null, + "updatedAt": "2024-10-23T19:34:40.158987036Z" + } + ] + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/UpdateToken": { + "post": { + "summary": "UpdateToken", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateToken_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "collectionId": 888, + "tokenId": 200, + "private": false, + "token": { + "tokenId": "201", + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "properties": { + "element": "Shadow and Starlight", + "rarity": "Legendary", + "alignment": "Celestial", + "age": "Ancient", + "size": "Massive", + "breath_power": "Time Distortion", + "temperament": "Mysterious", + "constellations_on_scales": 42, + "last_seen": "During the Last Solar Eclipse" + } + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateToken_Response" + }, + "examples": { + "0": { + "value": { + "token": { + "tokenId": "201", + "name": "Eclipse Dragon", + "description": "Forged from starlight and shadows, the Eclipse Dragon emerges only during celestial alignments. Its obsidian scales shimmer with constellations, and its breath holds the power to bend time and space. Legends say that those who possess its essence gain unparalleled wisdom—though at the cost of fleeting moments lost to the void. Will you dare wield its mystic force?", + "image": "", + "properties": { + "age": "Ancient", + "alignment": "Celestial", + "breath_power": "Time Distortion", + "constellations_on_scales": 42, + "element": "Shadow and Starlight", + "last_seen": "During the Last Solar Eclipse", + "rarity": "Legendary", + "size": "Massive", + "temperament": "Mysterious" + }, + "attributes": null, + "updatedAt": "0001-01-01T00:00:00Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/DeleteToken": { + "post": { + "summary": "DeleteToken", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteToken_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 3095723, + "collectionId": 26532223, + "tokenId": "32132121" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteToken_Response" + }, + "examples": { + "0": { + "value": { + "status": true + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/CreateAsset": { + "post": { + "summary": "CreateAsset", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateAsset_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "asset": { + "collectionId": 894, + "tokenId": "6", + "metadataField": "image", + "url": "https://metadata.sequence.app/projects/30957/collections/895/tokens/2/image.png", + "filename": "image.png", + "filesize": 670912, + "mimeType": "image/png", + "width": 1024, + "height": 1024 + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_CreateAsset_Response" + }, + "examples": { + "0": { + "value": { + "asset": { + "id": 4418, + "collectionId": 894, + "tokenId": "6", + "url": "", + "metadataField": "image", + "updatedAt": "2024-10-25T01:29:44.686464786Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/GetAsset": { + "post": { + "summary": "GetAsset", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetAsset_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "assetId": 4405 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_GetAsset_Response" + }, + "examples": { + "0": { + "value": { + "asset": { + "id": 4405, + "collectionId": 894, + "tokenId": "1", + "url": "", + "metadataField": "image", + "updatedAt": "2024-10-25T00:15:34.156343Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/UpdateAsset": { + "post": { + "summary": "UpdateAsset", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateAsset_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "asset": { + "id": 4416, + "collectionId": 894, + "tokenId": "4", + "metadataField": "image", + "filename": "My asset" + } + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_UpdateAsset_Response" + }, + "examples": { + "0": { + "value": { + "asset": { + "id": 4416, + "collectionId": 894, + "tokenId": "4", + "url": "", + "metadataField": "image", + "filename": "New Image", + "updatedAt": "2024-10-25T01:22:44.045492Z" + } + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + }, + "/rpc/Collections/DeleteAsset": { + "post": { + "summary": "DeleteAsset", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteAsset_Request" + }, + "examples": { + "0": { + "value": { + "projectId": 30957, + "assetId": 4415 + } + } + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collections_DeleteAsset_Response" + }, + "examples": { + "0": { + "value": { + "status": true + } + } + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorSessionExpired" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorTimeout" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorRequiredArgument" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorValidationFailed" + }, + { + "$ref": "#/components/schemas/ErrorRateLimited" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorProjectNotFound" + }, + { + "$ref": "#/components/schemas/ErrorChainNotFound" + }, + { + "$ref": "#/components/schemas/ErrorTokenDirectoryDisabled" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + }, + { + "$ref": "#/components/schemas/ErrorFail" + } + ] + } + } + } + } + }, + "tags": [ + "secret" + ], + "security": [ + { + "BearerAuth": [ + "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2NvdW50IjoiMHhiZWU3NGU3ZmZkNzdkMThhZDJhOTg2ODEyZGE2MTc5ODk0MDY4ODZjIiwiaWF0IjoxNzQxNjg3NDg4LCJwcm9qZWN0IjoxNjgxNX0.LvTwKf0T6IBK9HuRFboXCNh2YY9d6EwDoQAlGYC80KQ" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://metadata.sequence.app/", + "description": "Metadata" + } + ], + "tags": [ + { + "name": "public", + "description": "Endpoints accessible by passing your project-access-key in the header. This is injected whenever you login automatically." + }, + { + "name": "secret", + "description": "Endpoints that require a Sequence service token intended to be secret. You can manually generate one on Sequence Builder and pass it as a Bearer Token." + } + ] +} \ No newline at end of file diff --git a/es/api-references/metadata/examples/contract-metadata.mdx b/es/api-references/metadata/examples/contract-metadata.mdx new file mode 100644 index 00000000..953715f5 --- /dev/null +++ b/es/api-references/metadata/examples/contract-metadata.mdx @@ -0,0 +1,151 @@ +--- +title: Metadatos de Contrato +sidebarTitle: Metadatos de Contrato +--- + +- [Aprenda cómo consultar metadatos a nivel de contrato directamente para cualquier contrato](/api-references/metadata/examples/token-metadata#fetch-token-metadata-for-any-erc721-or-erc1155-contract) +- [Conozca los metadatos a nivel de contrato para tokens ERC20, ERC721 y ERC1155](/api-references/metadata/examples/token-metadata#token-metadata-standards) +- [Conozca cómo consultar extensiones de metadatos de información a nivel de contrato para tokens ERC20, ERC721 y ERC1155](/api-references/metadata/examples/contract-metadata#search-contract-metadata) + + + \[PRO TIP: Sequence Indexer también devuelve metadatos de tokens] + + Al usar el [Sequence Indexer](/api-references/indexer/overview), agregue `"includeMetadata": true` a la solicitud para + consultar metadatos de tokens de cualquier contrato ERC20, ERC721 o ERC1155. Vea abajo cómo obtener + metadatos a nivel de contrato directamente. + + +## Obtenga metadatos de contrato de cualquier dirección de contrato ERC20, ERC721 o ERC1155 +_Método `GetContractInfoBatch` de Sequence Metadata:_ +- Solicitud: POST /rpc/Metadata/GetContractInfoBatch +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainID` (string) -- el id de la cadena, como nombre o número (ej. "1" o "mainnet", "137" o "polygon", etc.) + - `contractAddresses` (string de strings) -- arreglo de direcciones de contratos + +**Ejemplo: `GetContractInfoBatch` de algunos contratos en Polygon usando un `AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY`** + + + Este código requiere una clave de acceso API de [Sequence Builder](https://sequence.build). + + + + ```shell cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://metadata.sequence.app/rpc/Metadata/GetContractInfoBatch -d '{ "chainID": "polygon", "contractAddresses": ["0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "0x17b66009af459dc8ebf37acf8a8b355379be2fe5", "0x2791bca1f2de4661ed88a30c99a7a9449aa84174", "0x2953399124f0cbb46d2cbacd8a89cf0599974963", "0x7227e371540cf7b8e512544ba6871472031f3335", "0x7c0ebabfc394ec6d926e801fe0e69a1f15a7fe4d", "0x8f3cf7ad23cd3cadbd9735aff958023239c6a063", "0xa1c57f48f0deb89f569dfbe6e2b7f46d33606fd4"] }' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceMetadata } from '@0xsequence/metadata' + + const metadataClient = new SequenceMetadata("https://metadata.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + const contractMetadata = await metadataClient.getContractInfoBatch({ + chainID: 'polygon', + contractAddresses: [ + '0x631998e91476DA5B870D741192fc5Cbc55F5a52E', + '0x17b66009af459dc8ebf37acf8a8b355379be2fe5', + '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', + '0x2953399124f0cbb46d2cbacd8a89cf0599974963', + '0x7227e371540cf7b8e512544ba6871472031f3335', + '0x7c0ebabfc394ec6d926e801fe0e69a1f15a7fe4d', + '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063', + '0xa1c57f48f0deb89f569dfbe6e2b7f46d33606fd4' + ] + }) + + console.log('Contract info for above addresses:', contractMetadata) + ``` + + ```go Go + import ( + "github.com/0xsequence/go-sequence/metadata" + ) + + seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + contractInfo, err := seqMetadata.GetContractInfo(context.Background(), "polygon", "0x631998e91476DA5B870D741192fc5Cbc55F5a52E") + ``` + + ```shell Other + Please contact our team for assistance with integrations to another target. + ``` + + +## Estándares de Metadatos a Nivel de Contrato +Adicionalmente, OpenSea añadió algo llamado `contractURI` ([https://docs.opensea.io/docs/contract-level-metadata](https://docs.opensea.io/docs/contract-level-metadata)). + +## Buscar Metadatos de Contrato + +### Obtenga información de metadatos a nivel de contrato para cualquier dirección de contrato ERC20, ERC721 o ERC1155 según un criterio de búsqueda +_Método `SearchContracts` de Sequence Metadata:_ +- Solicitud: POST /rpc/Metadata/SearchContracts +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainID` **opcional** (string) -- el id de la cadena, como número (ej. "1" para "mainnet", "137" para "polygon", etc.) + - `chainIDs` **opcional** (string) -- una lista de ids de cadena, como número (ej. "1" para "mainnet", "137" para "polygon", etc.) + - `q` (cadena) -- puede ser un parámetro de búsqueda para buscar información de contratos, o simplemente una dirección de contrato para buscar + +
+ +**Ejemplo: `SearchContracts` de algunas consultas / un contrato en Polygon usando un `AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY`** + + + Este código requiere una clave de acceso API de [Sequence Builder](https://sequence.build). + + + + ```shell cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://metadata.sequence.app/rpc/Metadata/SearchContracts -d '{ "q": "skyweaver"}' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceMetadata } from '@0xsequence/metadata' + + const metadataClient = new SequenceMetadata('https://metadata.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') + + const contractAddressSearchMetadata = await metadataClient.searchContracts({ + chainIDs: ['137'], + q: '0x631998e91476DA5B870D741192fc5Cbc55F5a52E', + }) + + console.log('Contract info metadata for above address:', contractAddressSearchMetadata) + + const contractQuerySearchMetadata = await metadataClient.searchContracts({ + chainIDs: ['137'], + q: 'skyweaver', + }) + + console.log('Contract info metadata for query:', contractQuerySearchMetadata) + ``` + + ```go Go + + package main + + import ( + "context" + "fmt" + "log" + "github.com/0xsequence/go-sequence/metadata" + ) + + func main() { + seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + chainID := "137" + + contractInfo, _, err := seqMetadata.SearchContracts(context.Background(), "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", &chainID, nil, nil) + + if err != nil { + log.Fatalf("Failed to get contract info: %v", err) + } + + fmt.Printf("Contract Info: %+v\n", contractInfo) + } + ``` + + ```shell Other + Please contact our team for assistance with integrations to another target. + ``` + \ No newline at end of file diff --git a/es/api-references/metadata/examples/rest-api.mdx b/es/api-references/metadata/examples/rest-api.mdx new file mode 100644 index 00000000..46fa498d --- /dev/null +++ b/es/api-references/metadata/examples/rest-api.mdx @@ -0,0 +1,118 @@ +--- +title: Referencia y uso de la API REST de Metadata +sidebarTitle: API REST +--- + +El servicio Sequence Metadata API ofrece una API simple y rápida para consultar metadatos de tokens y NFTs en cadenas compatibles con Ethereum. + +En pocas palabras, la Metadata API permite consultar los metadatos de cualquier contrato ERC20, ERC721 o ERC1155 en [varias cadenas de Ethereum compatibles](https://status.sequence.info). + +Además, el servicio Sequence Metadata está integrado automáticamente en el [Sequence Indexer](/api-references/indexer/overview). Pero, como mostramos a continuación, también es útil poder consultar directamente los metadatos de tokens/contratos :) + + + \[CONSEJO PRO: Diferencia entre endpoints RPC y REST] + + El servicio Sequence Metadata está disponible tanto con endpoints RPC como REST. Recomendamos los endpoints RPC para aplicaciones, pero los endpoints REST también están disponibles por conveniencia. + + Para el endpoint RPC consulte [Token metadata RPC](/api-references/metadata/examples/token-metadata) y [Contract metadata RPC](/api-references/metadata/examples/contract-metadata). + + +## Ejemplo +Supongamos que desea consultar los metadatos de una carta 1155 de Skyweaver en la red Polygon. Por supuesto, el siguiente ejemplo funcionará para cualquier combinación de red, contrato o token. + +Primero, el contrato de activos Skyweaver 1155 se encuentra en la dirección `0x631998e91476DA5B870D741192fc5Cbc55F5a52E` en la red Polygon. Segundo, vamos a construir el endpoint de consulta de metadatos para consultar los metadatos del contrato de Skyweaver para el token ID `20`: + +[Solicitud](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E/20) + +**Respuesta:** + +```json +[ + { + "tokenId": "20", + "contractAddress": "0x631998e91476da5b870d741192fc5cbc55f5a52e", + "name": "Unstoppable Chop", + "description": "Attach Silence to target unit. Do 4 damage to it.", + "image": "https://assets.skyweaver.net/TNqWLuJZ/webapp/cards/full-cards/6x/20-silver.png", + "decimals": 2, + "properties": { + "baseCardId": 20, + "goldCardId": 131092, + "grade": "oldSilver", + "id": 20, + "silverCardId": 65556 + }, + "attributes": null + } +] +``` + +Si desea consultar varios tokens al mismo tiempo, puede incluir más IDs de token separados por comas [https://metadata.sequence.app/tokens/polygon/0x.../20,21,22](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E/20,21,22) -- haga clic para ver la respuesta JSON al consultar los token IDs `20`, `21` y `22` en una sola solicitud agrupada. + +Puede probar modificando la URL de metadata.sequence.app anterior para su propio contrato, o para otro proyecto popular, y ver las respuestas que se obtienen. Puede cambiar la red a [una de nuestras redes compatibles](/) y especificar cualquier contrato y/o ID de token. + +Además de consultar fácilmente la _metadata a nivel de token_ como en el ejemplo anterior, también puede consultar _metadata a nivel de contrato_. La metadata a nivel de contrato le brinda más información sobre una dirección de contrato, como el nombre, tipo de contrato, logo y descripción. Simplemente cambie la URL de metadata anterior para consultar solo la [dirección del contrato](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E) + +y vea el resultado: + +```json +{ + "chainId": 137, + "address": "0x631998e91476da5b870d741192fc5cbc55f5a52e", + "name": "Skyweaver", + "type": "ERC1155", + "symbol": "SKYWVR", + "logoURI": "https://assets.skyweaver.net/_tX5dRVi/webapp/icons/skyweaver-token.png", + "extensions": { + "link": "https://www.skyweaver.net/", + "description": "Skyweaver is a Free-to-Play, trading card game powered by Polygon and Ethereum.", + "ogImage": "https://skyweaver.net/images/skyweavercover.jpg", + "originAddress": "0x631998e91476da5b870d741192fc5cbc55f5a52e" + } +} +``` + +## Uso +El servicio Metadata API es accesible ya sea mediante una [interfaz REST simple](#rest-endpoints) o un [cliente RPC](#rpc-client). Para el cliente RPC, ofrecemos clientes para navegador web, node y Go. Recomendamos el cliente RPC para la mayoría de las integraciones, pero también dejamos disponible la interfaz REST por conveniencia. + +## Endpoints REST +Como se mencionó en el [ejemplo](#example) anterior. El formato general del endpoint REST es: + +``` +GET https://metadata.sequence.app/tokens//[/] +``` + +Donde `` debe ser uno de los `Chain ID` o `Chain Handle` de [las redes compatibles](/). + +**Obtener metadata a nivel de contrato:** + +``` +GET https://metadata.sequence.app/tokens// +``` + +[Ejemplo](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E) + +**Obtener metadata a nivel de token:** + +``` +GET https://metadata.sequence.app/tokens///[,,...] +``` + +Ejemplos: +- [ID de token 20](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E/20) +- [ID de token 20 y 21](https://metadata.sequence.app/tokens/polygon/0x631998e91476DA5B870D741192fc5Cbc55F5a52E/20,21) + +## Cliente RPC +La interfaz Metadata RPC ofrece todas las capacidades del servicio Metadata. + +Proveemos SDKs para [Web / node.js](https://github.com/0xsequence/sequence.js) y [Go](https://github.com/0xsequence/go-sequence). O si desea integrar el servicio Metadata con otro lenguaje, simplemente siga la referencia de la API a continuación para implementar las solicitudes HTTP. Además, puede leer el código fuente del cliente Typescript como [implementación de referencia del cliente Metadata RPC](https://github.com/0xsequence/sequence.js/blob/master/packages/metadata/src/metadata.gen.ts). + +## Métodos RPC de Metadata +**Endpoint de Metadata API:** [https://metadata.sequence.app](https://metadata.sequence.app) + +**Métodos RPC de Metadata:** +- `GetTokenMetadata` - obtener metadata de tokens ERC721 o ERC1155 de un solo contrato +- `GetTokenMetadataBatch` - obtener metadata de tokens ERC721 o ERC1155 de un lote de contratos +- `GetContractInfo` - obtener metadata de contrato de una dirección de contrato ERC20, ERC721 o ERC1155 +- `GetContractInfoBatch` - obtener metadata de contrato de un lote de direcciones de contrato ERC20, ERC721 o ERC1155 +- `SearchContracts` - obtener información de metadata de contratos basada en criterios de búsqueda para tokens ERC20, ERC721 y ERC1155 \ No newline at end of file diff --git a/es/api-references/metadata/examples/token-metadata.mdx b/es/api-references/metadata/examples/token-metadata.mdx new file mode 100644 index 00000000..eb2ad42c --- /dev/null +++ b/es/api-references/metadata/examples/token-metadata.mdx @@ -0,0 +1,291 @@ +--- +title: Metadata de tokens +sidebarTitle: Metadata de tokens +--- + +Sequence ofrece un servicio de metadata para obtener metadata de tokens de cualquier contrato ERC721 o ERC1155, en [cualquier cadena EVM](https://status.sequence.info). +- [Aprenda cómo consultar metadata de tokens directamente para cualquier contrato](/api-references/metadata/examples/token-metadata#fetch-token-metadata-for-any-erc721-or-erc1155-contract) +- [Conozca los estándares y formatos de metadata de tokens para tokens ERC721 y ERC1155](/api-references/metadata/examples/token-metadata#token-metadata-standards) + + + \[CONSEJO PRO: Sequence Indexer también soporta metadata de tokens] + + Al usar el [Sequence Indexer](/api-references/indexer/overview), agregue `"includeMetadata": true` a su solicitud para consultar metadatos de tokens de cualquier contrato ERC721 o ERC1155. Vea abajo cómo obtener metadatos de tokens directamente. + + +## Obtener metadatos de tokens para cualquier contrato ERC721 o ERC1155 +_Método `GetTokenMetadata` de Sequence Metadata:_ +- Solicitud: POST /rpc/Metadata/GetTokenMetadata +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainID` (string) -- el id de la cadena, como nombre o número (ej. "1" o "mainnet", "137" o "polygon", etc.) + - `contractAddress` (cadena) -- la dirección del contrato + - `tokenIDs` (arreglo de cadenas) -- arreglo de cadenas que contiene los IDs de token a obtener metadatos + +**Ejemplo: `GetTokenMetadata` de algunos tokens usando un `AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY`** + + + Este código requiere una clave de acceso API de [Sequence Builder](https://sequence.build). + + + + ```shell cURL + curl -X POST -H "Content-Type: application/json" -H "X-Access-Key: AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY" https://metadata.sequence.app/rpc/Metadata/GetTokenMetadata -d '{"chainID":"polygon", "contractAddress": "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "tokenIDs": ["65537", "65538", "65539"] }' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceMetadata } from '@0xsequence/metadata' + + const metadataClient = new SequenceMetadata("https://metadata.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + const tokenMetadata = await metadataClient.getTokenMetadata({ + chainID: 'polygon', + contractAddress: '0x631998e91476DA5B870D741192fc5Cbc55F5a52E', + tokenIDs: ['65537', '65538', '65539'] + }) + + console.log('token metadata: ', tokenMetadata) + ``` + + ```go Go + import ( + "github.com/0xsequence/go-sequence/metadata" + ) + + seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + collectibleInfo, err := seqMetadata.GetTokenMetadata(context.Background(), "polygon", "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", []string{"1", "2"}) + ``` + + ```shell Unity + To be completed + ``` + + ```shell Unreal + To be completed + ``` + + ```shell Other + Please contact our team for assistance with integrations to another target. + ``` + + +## Actualización de metadatos de tokens +Al desplegar nuevos contratos o actualizar metadatos, se debe llamar a la URL de actualización de metadatos de tokens con una clave de acceso (del Sequence Builder) mediante una solicitud HTTPS POST por línea de comandos o usando el SDK de metadatos en un programa, para que los datos sean indexables en el servicio de metadatos del Sequence Indexer. + +_Método `enqueueTokensForRefresh` de Sequence Metadata:_ +- Solicitud: POST /rpc/Metadata/EnqueueTokensForRefresh +- Content-Type: application/json +- Cuerpo (en JSON): + - `chainID` (string) -- el id de la cadena, como nombre o número (ej. "1" o "mainnet", "137" o "polygon", etc.) + - `contractAddress` (cadena) -- la dirección del contrato + - `tokenIDs` (arreglo de cadenas) -- arreglo de cadenas que contiene los IDs de token a obtener metadatos + + + ```shell cURL + curl -v -X POST -H "Content-type: application/json" -H "X-Access-Key: wuELppeX0pttvJABl8bIuxPAAAAAAAAAA" https://metadata.sequence.app/rpc/Metadata/EnqueueTokensForRefresh -d '{"chainID":"polygon", "contractAddress":"0x631998e91476DA5B870D741192fc5Cbc55F5a52E", "tokenIDs": ["1","2"]}' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceMetadata } from '@0xsequence/metadata' + + const metadataClient = new SequenceMetadata("https://metadata.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + const jobID = await metadataClient.enqueueTokensForRefresh({ + chainID: 'polygon', + contractAddress: '0x631998e91476DA5B870D741192fc5Cbc55F5a52E', + tokenIDs: ['65537', '65538', '65539'] + }) + + console.log('refresh job id: ', tokenMetadata) + ``` + + ```go Go + import ( + "github.com/0xsequence/go-sequence/metadata" + ) + + seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + refreshJob, err := seqMetadata.EnqueueTokensForRefresh(context.Background(), "polygon", "0x631998e91476DA5B870D741192fc5Cbc55F5a52E", []string{"1", "2"}, nil) + ``` + + ```shell Other + Please [contact our team](/support) for assistance with integrations to another target. + ``` + + +_Método `getTokenRefreshStatus` de Sequence Metadata:_ +- Solicitud: POST /rpc/Metadata/GetTokenRefreshStatus +- Content-Type: application/json +- Cuerpo (en JSON): + - `taskId` (uint) -- el id de tarea devuelto por `enqueueTokensForRefresh` + + + ```shell cURL + curl -v -X POST -H "Content-type: application/json" -H "X-Access-Key: wuELppeX0pttvJABl8bIuxPAAAAAAAAAA" https://metadata.sequence.app/rpc/Metadata/GetTokenRefreshStatus -d '{"taskId": 1234}' + ``` + + ```ts Typescript + // Works in both a Webapp (browser) or Node.js: + import { SequenceMetadata } from '@0xsequence/metadata' + + const metadataClient = new SequenceMetadata("https://metadata.sequence.app", "AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + const refreshJobStatus = await metadataClient.getTokenRefreshStatus({ + taskId: 1234 + }) + + console.log('refresh job status: ', refreshJobStatus) + ``` + + ```go Go + import ( + "github.com/0xsequence/go-sequence/metadata" + ) + + seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + + refreshJobStatus, err := seqMetadata.GetTokenRefreshStatus(context.Background(), uint64(1234)) + ``` + + ```shell Other + Please contact our team for assistance with integrations to another target. + ``` + + +### Instrucciones de prueba: + +1. Verifique la metadatos actual del token usando [obtener metadatos de token](/api-references/metadata/examples/token-metadata#fetch-token-metadata-for-any-erc721-or-erc1155-contract) +2. Modifique el contenido de los metadatos del token ya sea onchain o mediante el baseURI del token +3. Llame a los endpoints de actualización de token ID usando [actualizar metadatos](/api-references/metadata/examples/token-metadata#refreshing-token-metadata) +4. Verifique los cambios en los metadatos del token usando [obtener metadatos de token](/api-references/metadata/examples/token-metadata#fetch-token-metadata-for-any-erc721-or-erc1155-contract) + +## Estándares de Metadatos de Tokens +Estándares populares de tokens como [EIP721](https://eips.ethereum.org/EIPS/eip-721) y [EIP1155](https://eips.ethereum.org/EIPS/eip-1155) tienen formatos de metadata similares con algunas diferencias sutiles. Además de los estándares, hemos visto en la práctica que los proyectos a menudo se desvían ligeramente de los estándares, pero de manera lógica, fácil de analizar y bien soportada en el ecosistema, incluyendo el servicio Sequence Metadata. A continuación describimos los estándares y prácticas comunes entre proyectos para ayudarle a entender cómo formatear la metadata de sus tokens para sus proyectos. + +## Estándares de metadatos + +### ERC721 +Los contratos de tokens ERC721 contienen un método en el contrato llamado `tokenURI(uint256) string`. Al consultar el método `tokenURI` en el contrato, este devolverá un URI que contiene metadatos adicionales para ese activo. + +Consulte la EIP para detalles específicos: [https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-721.md) + +[Aquí hay un ejemplo de Bored Ape (token id 9)](https://metadata.sequence.app/tokens/mainnet/0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d/9) + +respuesta: + +```json +{ + "tokenId": "9", + "contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d", + "name": "", + "description": "", + "image": "https://ipfs.sequence.info/ipfs/QmUQgKka8EW7exiUHnMwZ4UoXA11wV7NFjHAogVAbasSYy", + "decimals": 0, + "properties": null, + "attributes": [ + { + "trait_type": "Earring", + "value": "Silver Stud" + }, + { + "trait_type": "Eyes", + "value": "Sleepy" + }, + { + "trait_type": "Mouth", + "value": "Small Grin" + }, + { + "trait_type": "Fur", + "value": "Brown" + }, + { + "trait_type": "Hat", + "value": "Seaman's Hat" + }, + { + "trait_type": "Clothes", + "value": "Stunt Jacket" + }, + { + "trait_type": "Background", + "value": "Purple" + } + ] +} +``` + +En el caso de este Bored Ape, parece que no hay nombre ni descripción definidos, +pero sí tienen "attributes" como un arreglo de `{ "trait_type": string, "value: string }`. + +Además, consulte OpenSea para más información: [https://docs.opensea.io/docs/metadata-standards](https://docs.opensea.io/docs/metadata-standards) + +Tenga en cuenta que técnicamente OpenSea rompe el estándar ERC1155 al sugerir el uso de "attributes", cuando en realidad, +ERC1155 utiliza el nombre de campo "properties" en lugar de "attributes". Vea +[https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md#erc-1155-metadata-uri-json-schema](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md#erc-1155-metadata-uri-json-schema) (lea la sección a continuación). +Sin embargo, esto está perfectamente bien y el uso combinado de properties / attributes es compatible en la práctica. +En Sequence Metadata, soportamos ambas estructuras para contratos de tokens que usan cualquiera de los dos formatos para sus [properties/attributes](/api-references/metadata/examples/token-metadata#attributes-vs-properties). + +[Otro ejemplo es de Neon District](https://metadata.sequence.app/tokens/polygon/0x7227e371540CF7b8e512544Ba6871472031F3335/158456331411102687640546264635) + +### ERC1155 +Los contratos de tokens ERC1155 contienen un método en el contrato llamado `uri(uint256) string`. Al consultar el método `uri` en el +contrato, este devolverá un URI que contiene metadatos adicionales para ese activo. + +Consulte la EIP para detalles específicos: [https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md#erc-1155-metadata-uri-json-schema](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1155.md#erc-1155-metadata-uri-json-schema) + +[Aquí hay un ejemplo de carta de Skyweaver (token id 65548)](https://metadata.sequence.app/tokens/polygon/0x27A11C1563a5dDa238379B95c91B3AbBaD9C0cf6/65548) + +```json +{ + "tokenId": "65548", + "contractAddress": "0x27a11c1563a5dda238379b95c91b3abbad9c0cf6", + "name": "Weighted Die (Silver)", + "description": "Give +1/+1, armor, and guard to a random ally unit, six times.\n\n\"I will not bow to fate. If the dice fall against me, I'll cut off the hand that cast them.\"\n -Horik", + "image": "https://assets.skyweaver.net/LV7xNcQh/webapp/cards/full-cards/6x/12-silver.png", + "decimals": 2, + "properties": { + "artists": { + "name": "Artist", + "value": [ + { + "id": "xavi", + "name": "Henrique Xavier", + "url": "https://www.artstation.com/kitexavier" + } + ] + }, + "baseCardId": 12, + "cardType": "Spell", + "element": "Metal", + "mana": 8, + "prism": "Strength", + "type": "Silver" + }, + "attributes": null +} +``` + +Como puede ver, los metadatos del token ERC1155 de Skyweaver utilizan el objeto `properties`, que es un objeto/diccionario de datos arbitrarios. + +### Attributes vs Properties +Como puede ver, el formato estándar de los metadatos de tokens contiene tanto `attributes` como `properties`. El campo `attributes` es un arreglo de +objetos. El campo `properties` es un objeto/diccionario de datos arbitrarios. En términos técnicos, el tipo `attributes` se define como +`[]map` y el tipo `properties` se define como `map`. + +En la práctica, hemos visto que muchos proyectos usan tanto `attributes` como `properties` para almacenar los mismos datos, y en algunos casos, usan +`attributes` para guardar datos que deberían estar en `properties` y viceversa. A veces los proyectos usan ambos campos, y esto es completamente válido +en la práctica, ya que los marketplaces y servicios analizarán ambas áreas. + +Finalmente, si busca extender el formato de metadatos para adaptarlo a su proyecto, recomendamos utilizar uno o ambos campos `attributes` +y `properties` tanto para ERC721 como para ERC1155. + +### ERC20 +Por último, una nota sobre los tokens ERC20. Los tokens ERC20 son solo un token único, por lo que no tienen un token ID, sino que +se representan completamente por su dirección de contrato. Podemos inferir cierta información sobre el token consultando los métodos del contrato +como `name` y `decimals`. Además, los tokens ERC20 pueden aprovechar la extensión `contractURI` utilizada +por OpenSea y descrita en más detalle en nuestra sección de [Metadatos de contrato](/api-references/metadata/examples/contract-metadata). \ No newline at end of file diff --git a/es/api-references/metadata/overview.mdx b/es/api-references/metadata/overview.mdx new file mode 100644 index 00000000..91ac1b57 --- /dev/null +++ b/es/api-references/metadata/overview.mdx @@ -0,0 +1,59 @@ +--- +title: Metadata +sidebarTitle: Resumen +--- + +El servicio Sequence Metadata API ofrece una API simple y rápida para consultar metadatos de tokens y NFT +para cadenas compatibles con Ethereum, disponible como un submódulo a través del paquete `@0xsequence/metadata` o mediante solicitudes HTTP. + +Para aprender a usar el servicio Sequence Metadata, por favor lea: +- [API y estándares de metadatos de tokens](/api-references/metadata/examples/token-metadata) +- [API y estándares de metadatos a nivel de contrato](/api-references/metadata/examples/contract-metadata) +- [Alternativa, uso de la API REST](/api-references/metadata/examples/rest-api) + +### Instalación en Web / node.js + +```bash Terminal +npm install 0xsequence +``` + +o + +```bash Terminal +npm install @0xsequence/metadata +``` + + + Esta instalación requiere una API Access Key de [Sequence Builder](https://sequence.build). + + +luego en su aplicación (usando su `API Access Key`), + +```ts +import { SequenceMetadata } from '@0xsequence/metadata' + +const metadata = new SequenceMetadata('https://metadata.sequence.app', 'AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY') +``` + +**NOTA:** si usas `@0xsequence/metadata` desde node.js, recomendamos usar node v18.x o superior. + +### Instalación en Go + +```bash +go get -u github.com/0xsequence/go-sequence@latest +``` + +luego, en su aplicación, + +```go +import ( + "github.com/0xsequence/go-sequence/metadata" +) + +seqMetadata := metadata.NewMetadata("AQAAAAAAAF_JvPALhBthL7VGn6jV0YDqaFY") + +contractInfo, err := seqMetadata.GetContractInfo(context.Background(), "polygon", "0x631998e91476DA5B870D741192fc5Cbc55F5a52E") +``` + +### Instalación en Unity o Unreal +El Sequence Metadata está integrado directamente en los respectivos \[Sequence Unity SDK] y \[Sequence Unreal SDK]. \ No newline at end of file diff --git a/es/api-references/node-gateway.mdx b/es/api-references/node-gateway.mdx new file mode 100644 index 00000000..308d5b8c --- /dev/null +++ b/es/api-references/node-gateway.mdx @@ -0,0 +1,38 @@ +--- +title: Node Gateway +sidebarTitle: Resumen +--- + +La infraestructura Node gateway de Sequence permite tener endpoints RPC resistentes a fallos que pueden escalar junto con la aplicación. + +Al usar nuestra infraestructura, ahorra dinero al no tener que desplegar su propio stack, y además se beneficia de la función de agregar varios proveedores públicos de RPC en un solo endpoint. + +## Pruébelo usted mismo +Instale `ethers` con `pnpm install ethers` o `yarn add ethers` + +Asegúrese de elegir un identificador de red de nuestras [opciones de red](https://status.sequence.info) + +Y obtenga una [clave de acceso de Sequence Builder](https://sequence.build) para autenticar su conexión y añadirla al endpoint + +```js +// Import the ethers library +import { ethers } from "ethers"; + +// Function to create a provider and fetch the latest block +async function getLatestBlock() { + // Replace the following URL with your actual RPC endpoint + const rpcUrl = + "https://nodes.sequence.app//"; + + // Create a provider using the RPC URL + const provider = new ethers.providers.JsonRpcProvider(rpcUrl); + + // Fetch the latest block + const latestBlock = await provider.getBlock("latest"); + + console.log("Latest Block:", latestBlock); +} + +// Call the function to get the latest block +getLatestBlock().catch(console.error); +``` \ No newline at end of file diff --git a/es/api-references/overview.mdx b/es/api-references/overview.mdx new file mode 100644 index 00000000..7dde4e7f --- /dev/null +++ b/es/api-references/overview.mdx @@ -0,0 +1,128 @@ +--- +title: Resumen +description: Resumen de las diferentes APIs disponibles para integrar con la plataforma de desarrollo de Sequence. +--- + +
+ +
+
+ +
+ +
+

Indexer API

+ +
+

Consulte datos de blockchain con potentes capacidades de filtrado y ordenamiento.

+
+
+
+
+ + +
+
+ +
+ +
+

Analytics API

+ +
+

Realice seguimiento del engagement de usuarios, la retención y las métricas de transacciones para sus aplicaciones.

+
+
+
+
+ + +
+
+ +
+ +
+

Metadata API

+ +
+

Almacene y obtenga metadatos para tokens, colecciones y otros activos.

+
+
+
+
+ + +
+
+ +
+ +
+

Transactions API

+ +
+

Envíe y gestione transacciones en blockchain con tarifas de gas optimizadas y agrupación de transacciones.

+
+
+
+
+ + +
+
+ +
+ +
+

API de Marketplace

+ +
+

Cree y gestione órdenes para marketplaces y exchanges de NFT.

+
+
+
+
+ + +
+
+ +
+ +
+

Node Gateway

+ +
+

Acceda a nodos RPC de alto rendimiento con escalado automático y tolerancia a fallos.

+
+
+
+
+ + +
+
+ +
+ +
+

Indexer Gateway

+ +
+

Consulte datos de blockchain a través de múltiples cadenas con una sola solicitud API usando el Indexer Gateway

+
+
+
+
+
+ +## Authentication +La mayoría de las APIs de Sequence requieren autenticación usando ya sea: +- **Project Access Key**: Para solicitudes del lado del cliente, estas se listan como `public`. +- **Service Token**: Para solicitudes del lado del servidor que requieren permisos elevados, estas requieren pasar un token secreto bearer y se listan como `secret`. + +Puede generar estas credenciales en el panel de [Sequence Builder](https://sequence.build). + +## Límites de uso (Rate Limits) +Los límites de uso de la API varían según el nivel y los MAUs disponibles. Revise la configuración de su proyecto en el panel de Sequence Builder para ver sus límites específicos. \ No newline at end of file diff --git a/es/api-references/transactions/endpoints/fee-options.mdx b/es/api-references/transactions/endpoints/fee-options.mdx new file mode 100644 index 00000000..7f36a6f9 --- /dev/null +++ b/es/api-references/transactions/endpoints/fee-options.mdx @@ -0,0 +1,4 @@ +--- +title: FeeOptions +openapi: ./relayer-api.json post /rpc/Relayer/FeeOptions +--- \ No newline at end of file diff --git a/es/api-references/transactions/endpoints/fee-tokens.mdx b/es/api-references/transactions/endpoints/fee-tokens.mdx new file mode 100644 index 00000000..3a076fb5 --- /dev/null +++ b/es/api-references/transactions/endpoints/fee-tokens.mdx @@ -0,0 +1,4 @@ +--- +title: FeeTokens +openapi: ./relayer-api.json post /rpc/Relayer/FeeTokens +--- \ No newline at end of file diff --git a/es/api-references/transactions/endpoints/get-chain-id.mdx b/es/api-references/transactions/endpoints/get-chain-id.mdx new file mode 100644 index 00000000..95fa673a --- /dev/null +++ b/es/api-references/transactions/endpoints/get-chain-id.mdx @@ -0,0 +1,4 @@ +--- +title: GetChainID +openapi: ./relayer-api.json post /rpc/Relayer/GetChainID +--- \ No newline at end of file diff --git a/es/api-references/transactions/endpoints/relayer-api.json b/es/api-references/transactions/endpoints/relayer-api.json new file mode 100644 index 00000000..72e37182 --- /dev/null +++ b/es/api-references/transactions/endpoints/relayer-api.json @@ -0,0 +1,2042 @@ +{ + "components": { + "schemas": { + "ErrorWebrpcEndpoint": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcEndpoint" + }, + "code": { + "type": "number", + "example": 0 + }, + "msg": { + "type": "string", + "example": "endpoint error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcRequestFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcRequestFailed" + }, + "code": { + "type": "number", + "example": -1 + }, + "msg": { + "type": "string", + "example": "request failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadRoute": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRoute" + }, + "code": { + "type": "number", + "example": -2 + }, + "msg": { + "type": "string", + "example": "bad route" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorWebrpcBadMethod": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadMethod" + }, + "code": { + "type": "number", + "example": -3 + }, + "msg": { + "type": "string", + "example": "bad method" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 405 + } + } + }, + "ErrorWebrpcBadRequest": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadRequest" + }, + "code": { + "type": "number", + "example": -4 + }, + "msg": { + "type": "string", + "example": "bad request" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcBadResponse": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcBadResponse" + }, + "code": { + "type": "number", + "example": -5 + }, + "msg": { + "type": "string", + "example": "bad response" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcServerPanic": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcServerPanic" + }, + "code": { + "type": "number", + "example": -6 + }, + "msg": { + "type": "string", + "example": "server panic" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcInternalError": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcInternalError" + }, + "code": { + "type": "number", + "example": -7 + }, + "msg": { + "type": "string", + "example": "internal error" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 500 + } + } + }, + "ErrorWebrpcClientDisconnected": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcClientDisconnected" + }, + "code": { + "type": "number", + "example": -8 + }, + "msg": { + "type": "string", + "example": "client disconnected" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamLost": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamLost" + }, + "code": { + "type": "number", + "example": -9 + }, + "msg": { + "type": "string", + "example": "stream lost" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorWebrpcStreamFinished": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "WebrpcStreamFinished" + }, + "code": { + "type": "number", + "example": -10 + }, + "msg": { + "type": "string", + "example": "stream finished" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 200 + } + } + }, + "ErrorUnauthorized": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unauthorized" + }, + "code": { + "type": "number", + "example": 1000 + }, + "msg": { + "type": "string", + "example": "Unauthorized access" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 401 + } + } + }, + "ErrorPermissionDenied": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "PermissionDenied" + }, + "code": { + "type": "number", + "example": 1001 + }, + "msg": { + "type": "string", + "example": "Permission denied" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 403 + } + } + }, + "ErrorMethodNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "MethodNotFound" + }, + "code": { + "type": "number", + "example": 1003 + }, + "msg": { + "type": "string", + "example": "Method not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 404 + } + } + }, + "ErrorRequestConflict": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "RequestConflict" + }, + "code": { + "type": "number", + "example": 1004 + }, + "msg": { + "type": "string", + "example": "Conflict with target resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 409 + } + } + }, + "ErrorAborted": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Aborted" + }, + "code": { + "type": "number", + "example": 1005 + }, + "msg": { + "type": "string", + "example": "Request aborted" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorGeoblocked": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Geoblocked" + }, + "code": { + "type": "number", + "example": 1006 + }, + "msg": { + "type": "string", + "example": "Geoblocked region" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 451 + } + } + }, + "ErrorInvalidArgument": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InvalidArgument" + }, + "code": { + "type": "number", + "example": 2001 + }, + "msg": { + "type": "string", + "example": "Invalid argument" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorUnavailable": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "Unavailable" + }, + "code": { + "type": "number", + "example": 2002 + }, + "msg": { + "type": "string", + "example": "Unavailable resource" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorQueryFailed": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "QueryFailed" + }, + "code": { + "type": "number", + "example": 2003 + }, + "msg": { + "type": "string", + "example": "Query failed" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorNotFound": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "NotFound" + }, + "code": { + "type": "number", + "example": 3000 + }, + "msg": { + "type": "string", + "example": "Resource not found" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 400 + } + } + }, + "ErrorInsufficientFee": { + "type": "object", + "required": [ + "error", + "code", + "msg", + "status" + ], + "properties": { + "error": { + "type": "string", + "example": "InsufficientFee" + }, + "code": { + "type": "number", + "example": 3004 + }, + "msg": { + "type": "string", + "example": "Insufficient fee" + }, + "cause": { + "type": "string" + }, + "status": { + "type": "number", + "example": 402 + } + } + }, + "ETHTxnStatus": { + "type": "string", + "description": "Represented as uint on the server side", + "enum": [ + "UNKNOWN", + "DROPPED", + "QUEUED", + "SENT", + "SUCCEEDED", + "PARTIALLY_FAILED", + "FAILED" + ] + }, + "TransferType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "SEND", + "RECEIVE", + "BRIDGE_DEPOSIT", + "BRIDGE_WITHDRAW", + "BURN", + "UNKNOWN" + ] + }, + "FeeTokenType": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "UNKNOWN", + "ERC20_TOKEN", + "ERC1155_TOKEN" + ] + }, + "SortOrder": { + "type": "string", + "description": "Represented as uint32 on the server side", + "enum": [ + "DESC", + "ASC" + ] + }, + "Version": { + "type": "object", + "required": [ + "webrpcVersion", + "schemaVersion", + "schemaHash", + "appVersion" + ], + "properties": { + "webrpcVersion": { + "type": "string" + }, + "schemaVersion": { + "type": "string" + }, + "schemaHash": { + "type": "string" + }, + "appVersion": { + "type": "string" + } + } + }, + "RuntimeStatus": { + "type": "object", + "required": [ + "healthOK", + "startTime", + "uptime", + "ver", + "branch", + "commitHash", + "chainID", + "useEIP1559", + "senders", + "checks" + ], + "properties": { + "healthOK": { + "type": "boolean" + }, + "startTime": { + "type": "string" + }, + "uptime": { + "type": "number" + }, + "ver": { + "type": "string" + }, + "branch": { + "type": "string" + }, + "commitHash": { + "type": "string" + }, + "chainID": { + "type": "number" + }, + "useEIP1559": { + "type": "boolean" + }, + "senders": { + "type": "array", + "description": "[]SenderStatus", + "items": { + "$ref": "#/components/schemas/SenderStatus" + } + }, + "checks": { + "$ref": "#/components/schemas/RuntimeChecks" + } + } + }, + "SenderStatus": { + "type": "object", + "required": [ + "index", + "address", + "etherBalance", + "active" + ], + "properties": { + "index": { + "type": "number" + }, + "address": { + "type": "string" + }, + "etherBalance": { + "type": "number" + }, + "active": { + "type": "boolean" + } + } + }, + "RuntimeChecks": { + "type": "object" + }, + "SequenceContext": { + "type": "object", + "required": [ + "factory", + "mainModule", + "mainModuleUpgradable", + "guestModule", + "utils" + ], + "properties": { + "factory": { + "type": "string" + }, + "mainModule": { + "type": "string" + }, + "mainModuleUpgradable": { + "type": "string" + }, + "guestModule": { + "type": "string" + }, + "utils": { + "type": "string" + } + } + }, + "GasTank": { + "type": "object", + "required": [ + "id", + "chainId", + "name", + "currentBalance", + "unlimited", + "feeMarkupFactor", + "updatedAt", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "currentBalance": { + "type": "number" + }, + "unlimited": { + "type": "boolean" + }, + "feeMarkupFactor": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "GasTankBalanceAdjustment": { + "type": "object", + "required": [ + "gasTankId", + "nonce", + "amount", + "totalBalance", + "balanceTimestamp", + "createdAt" + ], + "properties": { + "gasTankId": { + "type": "number" + }, + "nonce": { + "type": "number" + }, + "amount": { + "type": "number" + }, + "totalBalance": { + "type": "number" + }, + "balanceTimestamp": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "GasSponsor": { + "type": "object", + "required": [ + "id", + "gasTankId", + "projectId", + "chainId", + "address", + "name", + "active", + "updatedAt", + "createdAt", + "deletedAt" + ], + "properties": { + "id": { + "type": "number" + }, + "gasTankId": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "address": { + "type": "string" + }, + "name": { + "type": "string" + }, + "active": { + "type": "boolean" + }, + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + }, + "deletedAt": { + "type": "string" + } + } + }, + "GasSponsorUsage": { + "type": "object", + "required": [ + "name", + "id", + "totalGasUsed", + "totalTxnFees", + "totalTxnFeesUsd", + "avgGasPrice", + "totalTxns", + "startTime", + "endTime" + ], + "properties": { + "name": { + "type": "string" + }, + "id": { + "type": "number" + }, + "totalGasUsed": { + "type": "number" + }, + "totalTxnFees": { + "type": "number" + }, + "totalTxnFeesUsd": { + "type": "number" + }, + "avgGasPrice": { + "type": "number" + }, + "totalTxns": { + "type": "number" + }, + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + } + } + }, + "MetaTxn": { + "type": "object", + "required": [ + "chainId", + "walletAddress", + "contract", + "input" + ], + "properties": { + "chainId": { + "type": "number" + }, + "walletAddress": { + "type": "string" + }, + "contract": { + "type": "string" + }, + "input": { + "type": "string" + } + } + }, + "MetaTxnLog": { + "type": "object", + "required": [ + "id", + "chainId", + "projectId", + "txnHash", + "txnNonce", + "txnStatus", + "txnRevertReason", + "requeues", + "queuedAt", + "sentAt", + "minedAt", + "target", + "input", + "txnArgs", + "walletAddress", + "metaTxnNonce", + "gasLimit", + "gasPrice", + "gasUsed", + "gasEstimated", + "usdRate", + "creditsUsed", + "isWhitelisted", + "updatedAt", + "createdAt" + ], + "properties": { + "id": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "projectId": { + "type": "number" + }, + "txnHash": { + "type": "string" + }, + "txnNonce": { + "type": "string" + }, + "metaTxnID": { + "type": "string" + }, + "txnStatus": { + "$ref": "#/components/schemas/ETHTxnStatus" + }, + "txnRevertReason": { + "type": "string" + }, + "requeues": { + "type": "number" + }, + "queuedAt": { + "type": "string" + }, + "sentAt": { + "type": "string" + }, + "minedAt": { + "type": "string" + }, + "target": { + "type": "string" + }, + "input": { + "type": "string" + }, + "txnArgs": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "txnReceipt": { + "type": "object", + "description": "map", + "additionalProperties": { + "type": "object" + } + }, + "walletAddress": { + "type": "string" + }, + "metaTxnNonce": { + "type": "string" + }, + "gasLimit": { + "type": "number" + }, + "gasPrice": { + "type": "string" + }, + "gasUsed": { + "type": "number" + }, + "gasEstimated": { + "type": "number" + }, + "gasFeeMarkup": { + "type": "number" + }, + "usdRate": { + "type": "string" + }, + "creditsUsed": { + "type": "number" + }, + "isWhitelisted": { + "type": "boolean" + }, + "gasSponsor": { + "type": "number" + }, + "gasTank": { + "type": "number" + }, + "updatedAt": { + "type": "string" + }, + "createdAt": { + "type": "string" + } + } + }, + "MetaTxnReceipt": { + "type": "object", + "required": [ + "id", + "status", + "index", + "logs", + "receipts", + "txnReceipt" + ], + "properties": { + "id": { + "type": "string" + }, + "status": { + "type": "string" + }, + "revertReason": { + "type": "string" + }, + "index": { + "type": "number" + }, + "logs": { + "type": "array", + "description": "[]MetaTxnReceiptLog", + "items": { + "$ref": "#/components/schemas/MetaTxnReceiptLog" + } + }, + "receipts": { + "type": "array", + "description": "[]MetaTxnReceipt", + "items": { + "$ref": "#/components/schemas/MetaTxnReceipt" + } + }, + "txnReceipt": { + "type": "string" + } + } + }, + "MetaTxnReceiptLog": { + "type": "object", + "required": [ + "address", + "topics", + "data" + ], + "properties": { + "address": { + "type": "string" + }, + "topics": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "data": { + "type": "string" + } + } + }, + "Transaction": { + "type": "object", + "required": [ + "blockNumber", + "chainId", + "timestamp" + ], + "properties": { + "txnHash": { + "type": "string" + }, + "blockNumber": { + "type": "number" + }, + "chainId": { + "type": "number" + }, + "metaTxnID": { + "type": "string" + }, + "transfers": { + "type": "array", + "description": "[]TxnLogTransfer", + "items": { + "$ref": "#/components/schemas/TxnLogTransfer" + } + }, + "users": { + "type": "object", + "description": "map", + "additionalProperties": { + "$ref": "#/components/schemas/TxnLogUser" + } + }, + "timestamp": { + "type": "string" + } + } + }, + "TxnLogUser": { + "type": "object", + "required": [ + "username" + ], + "properties": { + "username": { + "type": "string" + } + } + }, + "TxnLogTransfer": { + "type": "object", + "required": [ + "transferType", + "contractAddress", + "from", + "to", + "ids", + "amounts" + ], + "properties": { + "transferType": { + "$ref": "#/components/schemas/TransferType" + }, + "contractAddress": { + "type": "string" + }, + "from": { + "type": "string" + }, + "to": { + "type": "string" + }, + "ids": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + }, + "amounts": { + "type": "array", + "description": "[]string", + "items": { + "type": "string" + } + } + } + }, + "SentTransactionsFilter": { + "type": "object", + "properties": { + "pending": { + "type": "boolean" + }, + "failed": { + "type": "boolean" + } + } + }, + "SimulateResult": { + "type": "object", + "required": [ + "executed", + "succeeded", + "gasUsed", + "gasLimit" + ], + "properties": { + "executed": { + "type": "boolean" + }, + "succeeded": { + "type": "boolean" + }, + "result": { + "type": "string" + }, + "reason": { + "type": "string" + }, + "gasUsed": { + "type": "number" + }, + "gasLimit": { + "type": "number" + } + } + }, + "FeeOption": { + "type": "object", + "required": [ + "token", + "to", + "value", + "gasLimit" + ], + "properties": { + "token": { + "$ref": "#/components/schemas/FeeToken" + }, + "to": { + "type": "string" + }, + "value": { + "type": "string" + }, + "gasLimit": { + "type": "number" + } + } + }, + "FeeToken": { + "type": "object", + "required": [ + "chainId", + "name", + "symbol", + "type", + "logoURL" + ], + "properties": { + "chainId": { + "type": "number" + }, + "name": { + "type": "string" + }, + "symbol": { + "type": "string" + }, + "type": { + "$ref": "#/components/schemas/FeeTokenType" + }, + "decimals": { + "type": "number" + }, + "logoURL": { + "type": "string" + }, + "contractAddress": { + "type": "string" + }, + "tokenID": { + "type": "string" + } + } + }, + "Page": { + "type": "object", + "properties": { + "pageSize": { + "type": "number" + }, + "page": { + "type": "number" + }, + "more": { + "type": "boolean" + }, + "totalRecords": { + "type": "number" + }, + "column": { + "type": "string" + }, + "before": { + "type": "object" + }, + "after": { + "type": "object" + }, + "sort": { + "type": "array", + "description": "[]SortBy", + "items": { + "$ref": "#/components/schemas/SortBy" + } + } + } + }, + "SortBy": { + "type": "object", + "required": [ + "column", + "order" + ], + "properties": { + "column": { + "type": "string" + }, + "order": { + "$ref": "#/components/schemas/SortOrder" + } + } + }, + "Relayer_GetChainID_Request": { + "type": "object" + }, + "Relayer_FeeTokens_Request": { + "type": "object" + }, + "Relayer_FeeOptions_Request": { + "type": "object", + "properties": { + "wallet": { + "type": "string" + }, + "to": { + "type": "string" + }, + "data": { + "type": "string" + }, + "simulate": { + "type": "boolean" + } + } + }, + "Relayer_GetChainID_Response": { + "type": "object", + "properties": { + "chainID": { + "type": "number" + } + } + }, + "Relayer_FeeTokens_Response": { + "type": "object", + "properties": { + "isFeeRequired": { + "type": "boolean" + }, + "tokens": { + "type": "array", + "description": "[]FeeToken", + "items": { + "$ref": "#/components/schemas/FeeToken" + } + } + } + }, + "Relayer_FeeOptions_Response": { + "type": "object", + "properties": { + "options": { + "type": "array", + "description": "[]FeeOption", + "items": { + "$ref": "#/components/schemas/FeeOption" + } + }, + "sponsored": { + "type": "boolean" + }, + "quote": { + "type": "string" + } + } + } + }, + "securitySchemes": { + "ApiKeyAuth": { + "type": "apiKey", + "in": "header", + "description": "Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI", + "name": "X-Access-Key" + }, + "BearerAuth": { + "type": "http", + "scheme": "bearer", + "bearerFormat": "JWT", + "description": "Secret JWT token for authenticating requests obtained from Sequence Builder - should not be exposed publicly." + } + } + }, + "info": { + "title": "Relayer Api", + "version": "" + }, + "openapi": "3.0.0", + "paths": { + "/rpc/Relayer/GetChainID": { + "post": { + "summary": "GetChainID", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_GetChainID_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_GetChainID_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInsufficientFee" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Relayer/FeeTokens": { + "post": { + "summary": "FeeTokens", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_FeeTokens_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_FeeTokens_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInsufficientFee" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + }, + "/rpc/Relayer/FeeOptions": { + "post": { + "summary": "FeeOptions", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_FeeOptions_Request" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Relayer_FeeOptions_Response" + } + } + } + }, + "4XX": { + "description": "Client error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcEndpoint" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcRequestFailed" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRoute" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadMethod" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcBadRequest" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcClientDisconnected" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcStreamLost" + }, + { + "$ref": "#/components/schemas/ErrorUnauthorized" + }, + { + "$ref": "#/components/schemas/ErrorPermissionDenied" + }, + { + "$ref": "#/components/schemas/ErrorMethodNotFound" + }, + { + "$ref": "#/components/schemas/ErrorRequestConflict" + }, + { + "$ref": "#/components/schemas/ErrorAborted" + }, + { + "$ref": "#/components/schemas/ErrorGeoblocked" + }, + { + "$ref": "#/components/schemas/ErrorInvalidArgument" + }, + { + "$ref": "#/components/schemas/ErrorUnavailable" + }, + { + "$ref": "#/components/schemas/ErrorQueryFailed" + }, + { + "$ref": "#/components/schemas/ErrorNotFound" + }, + { + "$ref": "#/components/schemas/ErrorInsufficientFee" + } + ] + } + } + } + }, + "5XX": { + "description": "Server error", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "$ref": "#/components/schemas/ErrorWebrpcBadResponse" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcServerPanic" + }, + { + "$ref": "#/components/schemas/ErrorWebrpcInternalError" + } + ] + } + } + } + } + }, + "security": [ + { + "ApiKeyAuth": [ + "AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI" + ] + } + ] + } + } + }, + "servers": [ + { + "url": "https://amoy-relayer.sequence.app", + "description": "Amoy Relayer" + }, + { + "url": "https://apechain-relayer.sequence.app", + "description": "Apechain Relayer" + }, + { + "url": "https://apechain-testnet-relayer.sequence.app", + "description": "Apechain-Testnet Relayer" + }, + { + "url": "https://arbitrum-relayer.sequence.app", + "description": "Arbitrum Relayer" + }, + { + "url": "https://arbitrum-nova-relayer.sequence.app", + "description": "Arbitrum-Nova Relayer" + }, + { + "url": "https://arbitrum-sepolia-relayer.sequence.app", + "description": "Arbitrum-Sepolia Relayer" + }, + { + "url": "https://avalanche-relayer.sequence.app", + "description": "Avalanche Relayer" + }, + { + "url": "https://avalanche-testnet-relayer.sequence.app", + "description": "Avalanche-Testnet Relayer" + }, + { + "url": "https://b3-relayer.sequence.app", + "description": "B3 Relayer" + }, + { + "url": "https://b3-sepolia-relayer.sequence.app", + "description": "B3-Sepolia Relayer" + }, + { + "url": "https://base-relayer.sequence.app", + "description": "Base Relayer" + }, + { + "url": "https://base-sepolia-relayer.sequence.app", + "description": "Base-Sepolia Relayer" + }, + { + "url": "https://blast-relayer.sequence.app", + "description": "Blast Relayer" + }, + { + "url": "https://blast-sepolia-relayer.sequence.app", + "description": "Blast-Sepolia Relayer" + }, + { + "url": "https://bsc-relayer.sequence.app", + "description": "Bsc Relayer" + }, + { + "url": "https://bsc-testnet-relayer.sequence.app", + "description": "Bsc-Testnet Relayer" + }, + { + "url": "https://gnosis-relayer.sequence.app", + "description": "Gnosis Relayer" + }, + { + "url": "https://homeverse-relayer.sequence.app", + "description": "Homeverse Relayer" + }, + { + "url": "https://homeverse-testnet-relayer.sequence.app", + "description": "Homeverse-Testnet Relayer" + }, + { + "url": "https://immutable-zkevm-relayer.sequence.app", + "description": "Immutable-Zkevm Relayer" + }, + { + "url": "https://immutable-zkevm-testnet-relayer.sequence.app", + "description": "Immutable-Zkevm-Testnet Relayer" + }, + { + "url": "https://laos-relayer.sequence.app", + "description": "Laos Relayer" + }, + { + "url": "https://laos-sigma-testnet-relayer.sequence.app", + "description": "Laos-Sigma-Testnet Relayer" + }, + { + "url": "https://mainnet-relayer.sequence.app", + "description": "Mainnet Relayer" + }, + { + "url": "https://optimism-relayer.sequence.app", + "description": "Optimism Relayer" + }, + { + "url": "https://optimism-sepolia-relayer.sequence.app", + "description": "Optimism-Sepolia Relayer" + }, + { + "url": "https://polygon-relayer.sequence.app", + "description": "Polygon Relayer" + }, + { + "url": "https://polygon-zkevm-relayer.sequence.app", + "description": "Polygon-Zkevm Relayer" + }, + { + "url": "https://rootnet-relayer.sequence.app", + "description": "Rootnet Relayer" + }, + { + "url": "https://rootnet-porcini-relayer.sequence.app", + "description": "Rootnet-Porcini Relayer" + }, + { + "url": "https://sepolia-relayer.sequence.app", + "description": "Sepolia Relayer" + }, + { + "url": "https://skale-nebula-relayer.sequence.app", + "description": "Skale-Nebula Relayer" + }, + { + "url": "https://skale-nebula-testnet-relayer.sequence.app", + "description": "Skale-Nebula-Testnet Relayer" + }, + { + "url": "https://soneium-minato-relayer.sequence.app", + "description": "Soneium-Minato Relayer" + }, + { + "url": "https://toy-testnet-relayer.sequence.app", + "description": "Toy-Testnet Relayer" + }, + { + "url": "https://xai-relayer.sequence.app", + "description": "Xai Relayer" + }, + { + "url": "https://xai-sepolia-relayer.sequence.app", + "description": "Xai-Sepolia Relayer" + }, + { + "url": "https://xr-sepolia-relayer.sequence.app", + "description": "Xr-Sepolia Relayer" + } + ] +} \ No newline at end of file diff --git a/es/api-references/transactions/examples/fetch-fee-options.mdx b/es/api-references/transactions/examples/fetch-fee-options.mdx new file mode 100644 index 00000000..db1e8c1e --- /dev/null +++ b/es/api-references/transactions/examples/fetch-fee-options.mdx @@ -0,0 +1,63 @@ +--- +title: Obtener opciones de tarifas (Fee Options) +sidebarTitle: Obtener opciones de tarifas (Fee Options) +--- + + + ¡La selección de tarifas solo es necesaria si aún no está usando las capacidades de patrocinio de gas de Sequence Builder! + Cree su proyecto en Sequence Builder para facilitar el desarrollo hoy mismo. + + + + ```typescript Typescript + import { Session } from '@0xsequence/auth' + import { ethers } from 'ethers' + + const config = { + mnemonic: 'YOUR MNEMONIC', + projectAccessKey: 'YOUR PROJECT ACCESS KEY', + chainId: ChainId.YOUR_CHAIN_ID // e.g. ChainId.MAINNET, ChainId.POLYGON, etc. + } + + const signer = ethers.Wallet.fromMnemonic(config.mnemonic) + + const session = await Session.singleSigner({ signer, projectAccessKey: config.projectAccessKey }) + + const account = session.account.getSigner(config.chainId, { + async selectFee(_transactions, options) { + // This callback is called with the list of candidate fee options. + + console.log('Fee options:', JSON.stringify(options, undefined, 2)) + + // Select the USDC fee option. + return options.find(option => option.token.symbol === 'USDC') + } + }) + ``` + + ```go Go + mnemonic := "YOUR MNEMONIC" + projectAccessKey := "YOUR PROJECT ACCESS KEY" + rpcURL := fmt.Sprintf("https://nodes.sequence.app/YOUR-NETWORK/%v", projectAccessKey) + relayerURL := "https://YOUR-NETWORK-relayer.sequence.app" + + signer, _ := ethwallet.NewWalletFromMnemonic(mnemonic) + + wallet, _ := sequence.NewWalletSingleOwner(signer) + + provider, _ := ethrpc.NewProvider(rpcURL) + wallet.SetProvider(provider) + + relayer, _ := relayer.NewRpcRelayer(relayerURL, projectAccessKey, provider, nil) + wallet.SetRelayer(relayer) + + transactions := sequence.Transactions{ + &sequence.Transaction{ + To: common.HexToAddress("0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c04"), + Value: big.NewInt(1000000000000000000), + }, + } + + options, quote, _ := wallet.FeeOptions(ctx, transactions) + ``` + \ No newline at end of file diff --git a/es/api-references/transactions/examples/fetch-transaction-receipts.mdx b/es/api-references/transactions/examples/fetch-transaction-receipts.mdx new file mode 100644 index 00000000..c2f55548 --- /dev/null +++ b/es/api-references/transactions/examples/fetch-transaction-receipts.mdx @@ -0,0 +1,35 @@ +--- +title: Obtener recibos de transacciones +sidebarTitle: Obtener recibos de transacciones +--- + +Para obtener el recibo de una transacción arbitraria que fue enviada a través de la Transactions API, llame al endpoint `/GetMetaTxnReceipt`. +El `metaTxID` es el `txnHash` de la respuesta del endpoint `/SendMetaTxn`. + + + ```sh cURL + curl -s -X POST -H 'Content-Type: application/json' \ + -d '{"metaTxID":"462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b"}' \ + https://polygon-relayer.sequence.app/rpc/Relayer/GetMetaTxnReceipt | jq + + { + "receipt": { + "id": "462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b", + "status": "SUCCEEDED", + "revertReason": null, + "index": 0, + "logs": [] + } + } + + ... + ``` + + ```typescript TypeScript + const { receipt } = await session.account.relayer(config.chainId).wait('462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b') + ``` + + ```go Go + status, receipt, _ := relayer.Wait(ctx, "462de2756e45c93698b89ada5ba4a3c9d1bfb9fb354ad2e7f36f1a9fefbc550b") + ``` + \ No newline at end of file diff --git a/es/api-references/transactions/examples/send-transactions.mdx b/es/api-references/transactions/examples/send-transactions.mdx new file mode 100644 index 00000000..ca85828a --- /dev/null +++ b/es/api-references/transactions/examples/send-transactions.mdx @@ -0,0 +1,55 @@ +--- +title: Envío de transacciones +sidebarTitle: Enviar transacciones +--- + + + ```typescript TypeScript + const transactions = [ + { + to: '0x468E8e29F6cfb0F6b7ff10ec6A1AB516ec849c04', + value: '1000000000000000000' + } + ] + + // This sends the transaction to the transactions API, and returns immediately once the transactions API responds. + const response = await account.sendTransaction(transactions) + + // This waits for the transaction to be confirmed on-chain. + const receipt = await response.wait() + + console.log(JSON.stringify(receipt, undefined, 2)) + ``` + + ```go Go + // Select the USDC fee option. + // Not required if using Sequence Builder's gas sponsorship capabilities! + var selectedOption *sequence.RelayerFeeOption + for _, option := range options { + if option.Token.Symbol == "USDC" { + selectedOption = option + break + } + } + + // Pay the transaction api. + // Not required if using Sequence Builder's gas sponsorship capabilities! + data, _ := contracts.IERC20.Encode("transfer", selectedOption.To, selectedOption.Value) + transactions.Append(sequence.Transactions{&sequence.Transaction{ + To: *selectedOption.Token.ContractAddress, + Data: data, + RevertOnError: true, + }}) + + signed, _ := wallet.SignTransactions(ctx, transactions) + + // Send the transaction to the transactions api. + metaTxnID, _, wait, _ := wallet.SendTransaction(ctx, signed, quote) + + fmt.Println("meta-transaction ID", metaTxnID) + + receipt, _ := wait(ctx) + + fmt.Println("transaction hash", receipt.TxHash) + ``` + \ No newline at end of file diff --git a/es/api-references/transactions/installation.mdx b/es/api-references/transactions/installation.mdx new file mode 100644 index 00000000..084317eb --- /dev/null +++ b/es/api-references/transactions/installation.mdx @@ -0,0 +1,40 @@ +--- +title: Instalación +sidebarTitle: Instalación +--- + +Ofrecemos SDKs para [Web / node.js](https://github.com/0xsequence/sequence.js) y [Go](https://github.com/0xsequence/go-sequence). +O si desea integrar el Relayer con otro lenguaje de programación, simplemente siga la referencia de la API a continuación +para implementar las solicitudes HTTP. Además, consulte el código fuente del cliente Typescript como [implementación de referencia del cliente de la Transactions API](https://github.com/0xsequence/sequence.js/blob/master/packages/relayer/src/rpc-relayer/relayer.gen.ts). + +### Instalación en Web / node.js + +```sh +npm install 0xsequence ethers +``` + +o + +```sh +pnpm install 0xsequence ethers +``` + +o + +```sh +yarn add 0xsequence ethers +``` + +### Instalación en Go + +```bash Terminal +go get -u github.com/0xsequence/go-sequence@latest +``` + +luego, en su aplicación, + +```go Go +import ( + "github.com/0xsequence/go-sequence/relayer" +) +``` \ No newline at end of file diff --git a/es/api-references/transactions/overview.mdx b/es/api-references/transactions/overview.mdx new file mode 100644 index 00000000..0089bea0 --- /dev/null +++ b/es/api-references/transactions/overview.mdx @@ -0,0 +1,94 @@ +--- +title: Transactions API +sidebarTitle: Resumen +--- + +La Transactions API de Sequence (o el término técnico Relayer service) ofrece una interfaz sencilla para enviar meta-transacciones en redes compatibles con Ethereum. + +Las meta-transacciones son la idea de una transacción dentro de otra transacción. Los beneficios de las meta-transacciones de Sequence son que permiten: + +## Beneficios + +- Abstracción de gas: los usuarios pueden pagar el gas de la red con una variedad de tokens (por ejemplo, USDC, DAI, etc.) +- Gas patrocinado: los proyectos pueden patrocinar el gas de contratos específicos para permitir gas gratis a sus usuarios +- Transacciones agrupadas: agrupe varias transacciones independientes permitiendo que se minteen como una sola transacción +- Transacciones en paralelo: paralelice el envío de transacciones en algunos casos +- Modelo fire + forget: envíe fácilmente transacciones a la Transactions API, la cual gestionará automáticamente los nonces, aumentará el gas y otras funciones para garantizar una entrega rápida +- Precios de gas óptimos para transacciones: se intentará una vez y, si no se incluye desde el mempool en 3 bloques, la transacción se reenviará + +Lo mejor: las transacciones con la Transactions API de Sequence son compatibles con cualquier contrato Ethereum existente/desplegado, por lo tanto, integrar el Sequence Relayer no requiere cambios en sus contratos ni en su dapp. + +La Transactions API de Sequence puede ser utilizada por dapps frontend, o incluso en sus backends. Asegúrese de instalar el SDK correspondiente para su lenguaje preferido, como [Typescript](/sdk/typescript/overview) o [Go](/sdk/go/overview). + +## Anatomía de un paquete de transacciones Sequence +Un paquete de transacciones Sequence consiste en tres elementos: +1. Una lista de transacciones Sequence +2. Un nonce Sequence +3. Una firma Sequence + +Al igual que las cuentas de Ethereum, los wallets Sequence usan nonces para asegurar el orden de las transacciones y proteger contra ataques de repetición. +A diferencia de las cuentas de Ethereum, los wallets Sequence tienen un suministro prácticamente ilimitado de nonces independientes, lo que permite ejecutar múltiples transacciones independientes en paralelo. +Un nonce Sequence se codifica como un espacio de nonce de 160 bits seguido del nonce de 96 bits para ese espacio de nonce, en big-endian. + +``` +|<------------------------- uint256 -------------------------->| +|<------ nonce space (160 bits) ------>||<- nonce (96 bits) -->| +ssssssssssssssssssssssssssssssssssssssssnnnnnnnnnnnnnnnnnnnnnnnn +``` + +## Patrocinio de gas y tarifas +La Transactions API solo envía transacciones que: +1. Están patrocinadas en un proyecto a través de Sequence Builder, o +2. Incluyen una transacción de pago de tarifa a la Transactions API. + +Puede patrocinar: +1. Wallets Sequence, para que puedan enviar transacciones sin necesidad de pagar tarifas, +2. Direcciones de tokens, para que cualquier usuario pueda enviar esos tokens gratis, +3. Contratos, para que cualquier usuario pueda interactuar con ellos sin costo, +4. Direcciones arbitrarias, para que cualquier usuario pueda transferir tokens nativos a ellas gratis. + +Para comenzar a patrocinar transacciones, inicie sesión en [https://sequence.build](https://sequence.build) y cree un nuevo proyecto para la red en la que desea operar. + +También puede pagar directamente a la Transactions API para enviar sus transacciones añadiendo una transacción de pago de tarifa adicional al relayer en su paquete. +La lista de tokens aceptados para tarifas se puede obtener llamando al endpoint `/FeeTokens` para la red que le interese: + +```sh [cURL] +$ curl -s -X POST -H 'Content-Type: application/json' -d '{}' \ + https://mainnet-relayer.sequence.app/rpc/Relayer/FeeTokens | jq + +{ + "isFeeRequired": true, + "tokens": [ + { + "chainId": 1, + "name": "Matic", + "symbol": "MATIC", + "type": "ERC20_TOKEN", + "decimals": 18, + "logoURL": "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/matic.png", + "contractAddress": "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0", + "tokenID": "0" + }, + { + "chainId": 1, + "name": "USDC", + "symbol": "USDC", + "type": "ERC20_TOKEN", + "decimals": 6, + "logoURL": "https://logos.covalenthq.com/tokens/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48.png", + "contractAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", + "tokenID": "0" + }, + { + "chainId": 1, + "name": "Wrapped Ether", + "symbol": "WETH", + "type": "ERC20_TOKEN", + "decimals": 18, + "logoURL": "https://logos.covalenthq.com/tokens/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2.png", + "contractAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "tokenID": "0" + } + ] +} +``` \ No newline at end of file diff --git a/es/docs.json b/es/docs.json new file mode 100644 index 00000000..d5c3c16c --- /dev/null +++ b/es/docs.json @@ -0,0 +1,2623 @@ +{ + "$schema": "MOCKDATA + es-translated https://mintlify.com/docs.json", + "appearance": { + "default": "es-translated dark", + "strict": "es-translated true" + }, + "background": { + "decoration": "es-translated gradient" + }, + "colors": { + "primary": "MOCKDATA + es-translated #111111", + "light": "es-translated #B1A9FF", + "dark": "MOCKDATA + es-translated #111111" + }, + "contextual": { + "options": [ + "MOCKDATA + es-translated copy", + "es-translated view", + "MOCKDATA + es-translated chatgpt", + "es-translated claude" + ] + }, + "favicon": "MOCKDATA + es-translated /favicon.png", + "fonts": { + "body": { + "family": "es-translated Inter" + }, + "heading": { + "family": "es-translated Inter" + } + }, + "footer": { + "socials": { + "x": "MOCKDATA + es-translated https://twitter.com/0xsequence", + "github": "es-translated https://github.com/0xsequence", + "discord": "MOCKDATA + es-translated https://discord.gg/sequence" + } + }, + "logo": { + "light": "es-translated /logo/sequence-composite-light.svg", + "dark": "MOCKDATA + es-translated /logo/sequence-composite-dark.svg" + }, + "name": "es-translated Sequence Docs", + "navbar": { + "primary": { + "type": "MOCKDATA + es-translated button", + "label": "MOCKDATA + es-translated Sign In", + "href": "es-translated https://sequence.build" + } + }, + "navigation": { + "languages": [ + { + "language": "MOCKDATA + es-translated en", + "tabs": [ + { + "tab": "es-translated Home", + "pages": [ + "MOCKDATA + es-translated home" + ] + }, + { + "tab": "es-translated Solutions", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "es-translated solutions/overview", + "MOCKDATA + es-translated solutions/getting-started" + ] + }, + { + "group": "es-translated Onboard", + "pages": [ + "MOCKDATA + es-translated solutions/wallets/overview", + { + "group": "es-translated Ecosystem Wallets", + "pages": [ + "MOCKDATA + es-translated solutions/wallets/ecosystem/overview", + "es-translated solutions/wallets/ecosystem/configuration", + "MOCKDATA + es-translated solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "es-translated Embedded Wallets", + "pages": [ + "MOCKDATA + es-translated solutions/wallets/embedded-wallet/overview", + "es-translated solutions/wallets/embedded-wallet/quickstart", + { + "group": "MOCKDATA + es-translated Setup", + "pages": [ + "MOCKDATA + es-translated solutions/builder/embedded-wallet/configuration", + "es-translated solutions/builder/embedded-wallet/google-configuration", + "MOCKDATA + es-translated solutions/builder/embedded-wallet/apple-configuration", + "es-translated solutions/builder/embedded-wallet/playfab-configuration", + "MOCKDATA + es-translated solutions/builder/embedded-wallet/stytch-configuration", + "es-translated solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "MOCKDATA + es-translated Architecture", + "pages": [ + "es-translated solutions/wallets/embedded-wallet/architecture/overview", + "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "es-translated solutions/wallets/embedded-wallet/architecture/enclave-verification", + "MOCKDATA + es-translated solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "es-translated solutions/wallets/embedded-wallet/migration", + "MOCKDATA + es-translated solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "es-translated Power", + "pages": [ + "MOCKDATA + es-translated solutions/power-overview", + { + "group": "es-translated Deployable Contracts", + "pages": [ + "MOCKDATA + es-translated solutions/builder/contracts", + "es-translated solutions/collectibles/contracts/deploy-an-item-collection", + "MOCKDATA + es-translated solutions/collectibles/contracts/deploy-ERC20-currency", + "es-translated solutions/collectibles/contracts/deploy-soulbound-token", + "MOCKDATA + es-translated solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "es-translated solutions/builder/collections", + { + "group": "MOCKDATA + es-translated Querying Blockchain Data", + "pages": [ + "es-translated solutions/builder/indexer", + "MOCKDATA + es-translated solutions/builder/webhooks" + ] + }, + { + "group": "MOCKDATA + es-translated Sidekick", + "pages": [ + "es-translated solutions/sidekick/overview", + { + "group": "MOCKDATA + es-translated Guides", + "pages": [ + "MOCKDATA + es-translated solutions/sidekick/guides/mint-nft" + ] + } + ] + }, + "es-translated solutions/builder/analytics", + "MOCKDATA + es-translated solutions/builder/gas-tank", + "es-translated solutions/builder/node-gateway" + ] + }, + { + "group": "MOCKDATA + es-translated Monetize", + "pages": [ + "es-translated solutions/monetization-overview", + { + "group": "MOCKDATA + es-translated White-label Marketplace", + "pages": [ + "es-translated solutions/marketplaces/white-label-marketplace/overview", + "MOCKDATA + es-translated solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "es-translated Build your Custom Marketplace", + "pages": [ + "MOCKDATA + es-translated solutions/marketplaces/custom-marketplace/overview", + "es-translated solutions/marketplaces/custom-marketplace/getting-started", + "MOCKDATA + es-translated solutions/marketplaces/custom-marketplace/supported-marketplaces" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence Pay", + "pages": [ + "MOCKDATA + es-translated solutions/payments/overview" + ] + } + ] + }, + { + "group": "es-translated Technical References", + "pages": [ + "MOCKDATA + es-translated solutions/technical-references/SequenceMCP", + "es-translated solutions/technical-references/wallet-contracts/why", + { + "group": "MOCKDATA + es-translated Contract Internals", + "pages": [ + "es-translated solutions/technical-references/internals/deployment", + { + "group": "MOCKDATA + es-translated Sequence v1", + "pages": [ + "es-translated solutions/technical-references/internals/v1/deploy", + "MOCKDATA + es-translated solutions/technical-references/internals/v1/wallet-factory", + "es-translated solutions/technical-references/internals/v1/wallet-configuration", + "MOCKDATA + es-translated solutions/technical-references/internals/v1/signature-encoding", + "es-translated solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence v2", + "pages": [ + "es-translated solutions/technical-references/internals/v2/deploy", + "MOCKDATA + es-translated solutions/technical-references/internals/v2/configuration" + ] + }, + "es-translated solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "MOCKDATA + es-translated SDKs", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "es-translated sdk/overview" + ] + }, + { + "group": "es-translated Web SDK", + "pages": [ + "MOCKDATA + es-translated sdk/web/overview", + "es-translated sdk/web/getting-started", + "MOCKDATA + es-translated sdk/web/migration", + { + "group": "MOCKDATA + es-translated Guides", + "pages": [ + "es-translated sdk/web/guides/send-sponsored-tx", + "MOCKDATA + es-translated sdk/web/guides/pay-gas-in-erc20", + "es-translated sdk/web/guides/on-ramp", + "MOCKDATA + es-translated sdk/web/guides/smart-swaps", + "es-translated sdk/web/guides/on-ramp-and-swap", + "MOCKDATA + es-translated sdk/web/guides/checkout" + ] + }, + { + "group": "es-translated Hooks", + "pages": [ + "MOCKDATA + es-translated sdk/web/hooks/useAddFundsModal", + "es-translated sdk/web/hooks/useChain", + "MOCKDATA + es-translated sdk/web/hooks/useCheckoutModal", + "es-translated sdk/web/hooks/useCheckWaasFeeOptions", + "MOCKDATA + es-translated sdk/web/hooks/useERC1155SaleContractCheckout", + "es-translated sdk/web/hooks/useGetCoinPrices", + "MOCKDATA + es-translated sdk/web/hooks/useGetCollectiblePrices", + "es-translated sdk/web/hooks/useListAccounts", + "MOCKDATA + es-translated sdk/web/hooks/useGetContractInfo", + "es-translated sdk/web/hooks/useGetExchangeRate", + "MOCKDATA + es-translated sdk/web/hooks/useGetSwapPrices", + "es-translated sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated sdk/web/hooks/useGetTransactionHistory", + "es-translated sdk/web/hooks/useGetMultipleContractsInfo", + "MOCKDATA + es-translated sdk/web/hooks/useGetSwapPrices", + "es-translated sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated sdk/web/hooks/useGetTokenMetadata", + "MOCKDATA + es-translated sdk/web/hooks/useGetTransactionHistory", + "es-translated sdk/web/hooks/useMetadataClient", + "MOCKDATA + es-translated sdk/web/hooks/useGetNativeTokenBalance", + "es-translated sdk/web/hooks/useGetSingleTokenBalanceSummary", + "MOCKDATA + es-translated sdk/web/hooks/useGetTransactionHistory", + "MOCKDATA + es-translated sdk/web/hooks/useGetTransactionHistorySummary", + "es-translated sdk/web/hooks/useIndexerClient", + "MOCKDATA + es-translated sdk/web/hooks/useGetSwapPrices", + "es-translated sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated sdk/web/hooks/useGetTokenBalancesByContract", + "es-translated sdk/web/hooks/useGetTokenBalancesDetails", + "MOCKDATA + es-translated sdk/web/hooks/useGetTokenBalancesSummary", + "MOCKDATA + es-translated sdk/web/hooks/useGetTransactionHistory", + "es-translated sdk/web/hooks/useIndexerGatewayClient", + "MOCKDATA + es-translated sdk/web/hooks/useOpenConnectModal", + "es-translated sdk/web/hooks/useOpenWalletModal", + "MOCKDATA + es-translated sdk/web/hooks/useSelectPaymentModal", + "es-translated sdk/web/hooks/useSignInEmail", + "MOCKDATA + es-translated sdk/web/hooks/useStorage", + "es-translated sdk/web/hooks/useSwapModal", + "MOCKDATA + es-translated sdk/web/hooks/useTheme", + "es-translated sdk/web/hooks/useWaasFeeOptions", + "MOCKDATA + es-translated sdk/web/hooks/useWalletNavigation", + "es-translated sdk/web/hooks/useWalletSettings", + "MOCKDATA + es-translated sdk/web/hooks/useWallets" + ] + }, + { + "group": "es-translated Secondary Sales Marketplace", + "pages": [ + "MOCKDATA + es-translated sdk/marketplace-sdk/overview", + "es-translated sdk/marketplace-sdk/getting-started", + { + "group": "es-translated Hooks", + "pages": [ + "MOCKDATA + es-translated sdk/marketplace-sdk/hooks/marketplace-actions", + "es-translated sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "MOCKDATA + es-translated sdk/web/custom-configuration", + "es-translated sdk/web/custom-connectors" + ] + }, + { + "group": "MOCKDATA + es-translated Game Engine SDKs", + "pages": [ + { + "group": "es-translated Unity", + "pages": [ + "es-translated sdk/unity/overview", + "MOCKDATA + es-translated sdk/unity/quickstart", + "es-translated sdk/unity/installation", + "MOCKDATA + es-translated sdk/unity/setup", + "es-translated sdk/unity/bootstrap_game", + { + "group": "es-translated Onboard", + "pages": [ + { + "group": "es-translated Authentication", + "pages": [ + "MOCKDATA + es-translated sdk/unity/onboard/authentication/intro", + "es-translated sdk/unity/onboard/authentication/email", + "MOCKDATA + es-translated sdk/unity/onboard/authentication/oidc", + "es-translated sdk/unity/onboard/authentication/playfab", + "MOCKDATA + es-translated sdk/unity/onboard/authentication/guest", + "es-translated sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "MOCKDATA + es-translated sdk/unity/onboard/recovering-sessions", + "es-translated sdk/unity/onboard/session-management", + "MOCKDATA + es-translated sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "es-translated Power", + "pages": [ + "es-translated sdk/unity/power/read-from-blockchain", + "MOCKDATA + es-translated sdk/unity/power/write-to-blockchain", + "es-translated sdk/unity/power/sign-messages", + "MOCKDATA + es-translated sdk/unity/power/deploy-contracts", + "es-translated sdk/unity/power/contract-events", + "MOCKDATA + es-translated sdk/unity/power/wallet-ui", + { + "group": "es-translated Advanced Blockchain Interactions", + "pages": [ + "es-translated sdk/unity/power/advanced/introduction", + "MOCKDATA + es-translated sdk/unity/power/advanced/wallets", + "es-translated sdk/unity/power/advanced/clients", + "MOCKDATA + es-translated sdk/unity/power/advanced/transfers", + "es-translated sdk/unity/power/advanced/contracts", + "MOCKDATA + es-translated sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "es-translated Monetization", + "pages": [ + "es-translated sdk/unity/monetization/intro", + "MOCKDATA + es-translated sdk/unity/monetization/checkout-ui", + { + "group": "es-translated Primary Sales", + "pages": [ + "MOCKDATA + es-translated sdk/unity/monetization/primary-sales/intro", + "es-translated sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "es-translated Secondary Sales Marketplace", + "pages": [ + "MOCKDATA + es-translated sdk/unity/monetization/secondary-sales/intro", + "es-translated sdk/unity/monetization/secondary-sales/building-a-marketplace", + "MOCKDATA + es-translated sdk/unity/monetization/secondary-sales/creating-listings", + "es-translated sdk/unity/monetization/secondary-sales/creating-offers", + "MOCKDATA + es-translated sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "es-translated How it Works", + "pages": [ + "es-translated sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "MOCKDATA + es-translated sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "es-translated sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "MOCKDATA + es-translated sdk/unity/monetization/currency-swaps", + "es-translated sdk/unity/monetization/onboard-user-funds" + ] + }, + "MOCKDATA + es-translated sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "es-translated Unreal", + "pages": [ + "es-translated sdk/unreal/introduction", + "MOCKDATA + es-translated sdk/unreal/quickstart", + "es-translated sdk/unreal/installation", + "MOCKDATA + es-translated sdk/unreal/configuration", + "es-translated sdk/unreal/subsystems", + "MOCKDATA + es-translated sdk/unreal/bootstrap_game", + "es-translated sdk/unreal/user_interfaces", + "MOCKDATA + es-translated sdk/unreal/authentication", + "es-translated sdk/unreal/write-to-blockchain", + "MOCKDATA + es-translated sdk/unreal/read-from-blockchain", + "es-translated sdk/unreal/onboard-user-funds", + "MOCKDATA + es-translated sdk/unreal/advanced", + "es-translated sdk/unreal/platforms" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Other SDKs", + "pages": [ + { + "group": "MOCKDATA + es-translated Typescript", + "pages": [ + "es-translated sdk/typescript/overview", + { + "group": "es-translated Backend Integration", + "pages": [ + "MOCKDATA + es-translated sdk/typescript/guides/backend/integration" + ] + }, + { + "group": "es-translated Frontend Integration", + "pages": [ + "MOCKDATA + es-translated sdk/headless-wallet/quickstart", + "es-translated sdk/headless-wallet/authentication", + "MOCKDATA + es-translated sdk/headless-wallet/use-wallets", + "es-translated sdk/headless-wallet/account-federation", + "MOCKDATA + es-translated sdk/headless-wallet/manage-sessions", + "es-translated sdk/headless-wallet/on-ramp", + "MOCKDATA + es-translated sdk/headless-wallet/fee-options", + "MOCKDATA + es-translated sdk/headless-wallet/verification", + "es-translated sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Go", + "pages": [ + "MOCKDATA + es-translated sdk/go/overview" + ] + }, + { + "group": "MOCKDATA + es-translated Mobile", + "pages": [ + "es-translated sdk/mobile" + ] + } + ] + } + ] + }, + { + "tab": "es-translated APIs", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "MOCKDATA + es-translated api-references/overview" + ] + }, + { + "group": "es-translated Indexer", + "pages": [ + "es-translated api-references/indexer/overview", + "MOCKDATA + es-translated api-references/indexer/installation", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "MOCKDATA + es-translated public", + "pages": [ + "es-translated api-references/indexer/endpoints/public/get-native-token-balance", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/get-token-balances-summary", + "es-translated api-references/indexer/endpoints/public/get-token-balances-details", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/get-token-balances-by-contract", + "es-translated api-references/indexer/endpoints/public/get-token-balances", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/get-token-supplies", + "es-translated api-references/indexer/endpoints/public/get-token-supplies-map", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/get-balance-updates", + "es-translated api-references/indexer/endpoints/public/get-transaction-history", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/fetch-transaction-receipt", + "es-translated api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/subscribe-receipts", + "es-translated api-references/indexer/endpoints/public/subscribe-events", + "MOCKDATA + es-translated api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "MOCKDATA + es-translated secret", + "pages": [ + "es-translated api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "MOCKDATA + es-translated api-references/indexer/endpoints/secret/add-webhook-listener", + "es-translated api-references/indexer/endpoints/secret/update-webhook-listener", + "MOCKDATA + es-translated api-references/indexer/endpoints/secret/remove-webhook-listener", + "es-translated api-references/indexer/endpoints/secret/toggle-webhook-listener", + "MOCKDATA + es-translated api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "es-translated api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "MOCKDATA + es-translated api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "es-translated Examples", + "pages": [ + "es-translated api-references/indexer/examples/fetch-tokens", + "MOCKDATA + es-translated api-references/indexer/examples/transaction-history", + "es-translated api-references/indexer/examples/unique-tokens", + "MOCKDATA + es-translated api-references/indexer/examples/transation-history-token-contract", + "es-translated api-references/indexer/examples/native-network-balance", + "MOCKDATA + es-translated api-references/indexer/examples/metadata-tips", + "es-translated api-references/indexer/examples/webhook-listener", + "MOCKDATA + es-translated api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Indexer Gateway", + "pages": [ + "es-translated api-references/indexer-gateway/overview", + "MOCKDATA + es-translated api-references/indexer-gateway/installation", + { + "group": "es-translated Examples", + "pages": [ + "es-translated api-references/indexer-gateway/examples/get-token-balances", + "MOCKDATA + es-translated api-references/indexer-gateway/examples/get-native-token-balances", + "es-translated api-references/indexer-gateway/examples/get-balance-updates", + "MOCKDATA + es-translated api-references/indexer-gateway/examples/get-token-balances-details", + "es-translated api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "es-translated Analytics", + "pages": [ + "MOCKDATA + es-translated api-references/analytics/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "MOCKDATA + es-translated secret", + "pages": [ + "es-translated api-references/analytics/endpoints/secret/average-d-a-u", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/average-d1-retention", + "es-translated api-references/analytics/endpoints/secret/average-d14-retention", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/average-d28-retention", + "es-translated api-references/analytics/endpoints/secret/average-d3-retention", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/average-d7-retention", + "es-translated api-references/analytics/endpoints/secret/average-stickiness", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/compute-by-service", + "es-translated api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "es-translated api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "es-translated api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/daily-compute-by-type", + "es-translated api-references/analytics/endpoints/secret/daily-new-wallets", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "es-translated api-references/analytics/endpoints/secret/market-txn-event-daily", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/market-txn-event-monthly", + "es-translated api-references/analytics/endpoints/secret/market-txn-event-total", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/market-wallets-daily", + "es-translated api-references/analytics/endpoints/secret/market-wallets-monthly", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/market-wallets-total", + "es-translated api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/monthly-new-wallets", + "es-translated api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "es-translated api-references/analytics/endpoints/secret/rolling-stickiness", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/total-compute", + "es-translated api-references/analytics/endpoints/secret/total-new-wallets", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "es-translated api-references/analytics/endpoints/secret/wallets-by-browser", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/wallets-by-country", + "es-translated api-references/analytics/endpoints/secret/wallets-by-device", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/wallets-by-o-s", + "es-translated api-references/analytics/endpoints/secret/wallets-daily", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/wallets-monthly", + "es-translated api-references/analytics/endpoints/secret/wallets-total", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "es-translated api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "MOCKDATA + es-translated api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "es-translated default", + "pages": [ + "MOCKDATA + es-translated api-references/analytics/endpoints/default/daily-compute-by-service", + "es-translated api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "es-translated Examples", + "pages": [ + "MOCKDATA + es-translated api-references/analytics/examples/wallets", + "es-translated api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Metadata", + "pages": [ + "MOCKDATA + es-translated api-references/metadata/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "MOCKDATA + es-translated public", + "pages": [ + "es-translated api-references/metadata/endpoints/public/directory-get-collections", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/directory-get-networks", + "es-translated api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/get-contract-info-batch", + "es-translated api-references/metadata/endpoints/public/get-contract-info", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/get-token-metadata-batch", + "es-translated api-references/metadata/endpoints/public/get-token-metadata", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/refresh-token-metadata", + "es-translated api-references/metadata/endpoints/public/search-contract-info-batch", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/search-contract-info", + "es-translated api-references/metadata/endpoints/public/search-token-i-ds", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/search-token-metadata", + "es-translated api-references/metadata/endpoints/public/search-tokens", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/token-collection-filters", + "es-translated api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/refresh-contract-info", + "es-translated api-references/metadata/endpoints/public/refresh-contract-tokens", + "MOCKDATA + es-translated api-references/metadata/endpoints/public/search-contracts", + "es-translated api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "MOCKDATA + es-translated secret", + "pages": [ + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/create-asset", + "es-translated api-references/metadata/endpoints/secret/create-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/create-contract-collection", + "es-translated api-references/metadata/endpoints/secret/create-token", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/delete-asset", + "es-translated api-references/metadata/endpoints/secret/delete-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/delete-contract-collection", + "es-translated api-references/metadata/endpoints/secret/delete-token", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/get-asset", + "es-translated api-references/metadata/endpoints/secret/get-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/get-contract-collection", + "es-translated api-references/metadata/endpoints/secret/get-token", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/list-collections", + "es-translated api-references/metadata/endpoints/secret/list-contract-collections", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/list-tokens", + "es-translated api-references/metadata/endpoints/secret/publish-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/unpublish-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/update-asset", + "es-translated api-references/metadata/endpoints/secret/update-collection", + "MOCKDATA + es-translated api-references/metadata/endpoints/secret/update-contract-collection", + "es-translated api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "es-translated Examples", + "pages": [ + "MOCKDATA + es-translated api-references/metadata/examples/token-metadata", + "es-translated api-references/metadata/examples/contract-metadata", + "MOCKDATA + es-translated api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "es-translated Infrastructure", + "pages": [ + "MOCKDATA + es-translated api-references/infrastructure/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "es-translated api-references/infrastructure/endpoints/get-linked-wallets", + "MOCKDATA + es-translated api-references/infrastructure/endpoints/get-swap-price", + "es-translated api-references/infrastructure/endpoints/get-swap-prices", + "MOCKDATA + es-translated api-references/infrastructure/endpoints/get-swap-quote", + "es-translated api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "MOCKDATA + es-translated api-references/infrastructure/endpoints/is-valid-message-signature", + "es-translated api-references/infrastructure/endpoints/is-valid-signature", + "MOCKDATA + es-translated api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "es-translated api-references/infrastructure/endpoints/link-wallet", + "MOCKDATA + es-translated api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Builder", + "pages": [ + "es-translated api-references/builder/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "MOCKDATA + es-translated api-references/builder/endpoints/add-audience-contacts", + "es-translated api-references/builder/endpoints/create-audience", + "MOCKDATA + es-translated api-references/builder/endpoints/delete-audience", + "es-translated api-references/builder/endpoints/get-audience", + "MOCKDATA + es-translated api-references/builder/endpoints/get-contract", + "es-translated api-references/builder/endpoints/list-audiences", + "MOCKDATA + es-translated api-references/builder/endpoints/list-contract-sources", + "es-translated api-references/builder/endpoints/list-contracts", + "MOCKDATA + es-translated api-references/builder/endpoints/remove-audience-contacts", + "es-translated api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Marketplace", + "pages": [ + "MOCKDATA + es-translated api-references/marketplace/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "es-translated api-references/marketplace/endpoints/checkout-options-marketplace", + "MOCKDATA + es-translated api-references/marketplace/endpoints/checkout-options-sales-contract", + "MOCKDATA + es-translated api-references/marketplace/endpoints/generate-buy-transaction", + "es-translated api-references/marketplace/endpoints/generate-listing-transaction", + "MOCKDATA + es-translated api-references/marketplace/endpoints/generate-offer-transaction", + "es-translated api-references/marketplace/endpoints/generate-sell-transaction", + "es-translated api-references/marketplace/endpoints/generate-cancel-transaction", + "MOCKDATA + es-translated api-references/marketplace/endpoints/get-collectible", + "es-translated api-references/marketplace/endpoints/get-count-of-all-collectibles", + "MOCKDATA + es-translated api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "es-translated api-references/marketplace/endpoints/get-floor-order", + "MOCKDATA + es-translated api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "MOCKDATA + es-translated api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "es-translated api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "MOCKDATA + es-translated api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "es-translated api-references/marketplace/endpoints/get-orders", + "MOCKDATA + es-translated api-references/marketplace/endpoints/list-collectibles", + "es-translated api-references/marketplace/endpoints/list-currencies", + "MOCKDATA + es-translated api-references/marketplace/endpoints/list-listings-for-collectible", + "es-translated api-references/marketplace/endpoints/list-offers-for-collectible" + ] + } + ] + }, + { + "group": "es-translated Transactions", + "pages": [ + "MOCKDATA + es-translated api-references/transactions/overview", + "es-translated api-references/transactions/installation", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "es-translated api-references/transactions/endpoints/get-chain-id", + "MOCKDATA + es-translated api-references/transactions/endpoints/fee-tokens", + "es-translated api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "es-translated Examples", + "pages": [ + "MOCKDATA + es-translated api-references/transactions/examples/fetch-fee-options", + "es-translated api-references/transactions/examples/send-transactions", + "MOCKDATA + es-translated api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "es-translated Blockchain RPC", + "pages": [ + "MOCKDATA + es-translated api-references/node-gateway" + ] + } + ] + }, + { + "tab": "es-translated Resources", + "groups": [ + { + "group": "MOCKDATA + es-translated Guides", + "pages": [ + "MOCKDATA + es-translated guides/guide-overview", + { + "group": "es-translated Game Developers", + "pages": [ + "es-translated guides/webgl-guide", + "MOCKDATA + es-translated guides/jelly-forest-unity-guide", + "es-translated guides/building-transaction-heavy-games-with-unity", + "MOCKDATA + es-translated guides/unreal-ew-guide", + "es-translated guides/using-unity-iap-to-sell-nfts", + "MOCKDATA + es-translated guides/unity-primary-sales", + "es-translated guides/unity-webgl-telegram", + "MOCKDATA + es-translated guides/telegram-integration" + ] + }, + { + "group": "es-translated Blockchain Integrations", + "pages": [ + "MOCKDATA + es-translated guides/mint-collectibles-serverless", + "es-translated guides/metadata-guide", + "MOCKDATA + es-translated guides/treasure-chest-guide", + "es-translated guides/typed-on-chain-signatures", + "MOCKDATA + es-translated guides/building-relaying-server", + "es-translated guides/analytics-guide", + "MOCKDATA + es-translated guides/build-embedding-wallet" + ] + }, + { + "group": "es-translated Marketplaces & Primary Sales", + "pages": [ + "MOCKDATA + es-translated guides/custom-marketplace", + "es-translated guides/primary-sales", + "MOCKDATA + es-translated guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "es-translated Boilerplates", + "pages": [ + "MOCKDATA + es-translated guides/template-overview" + ] + } + ] + }, + { + "tab": "es-translated Support", + "groups": [ + { + "group": "es-translated Support", + "pages": [ + "es-translated support", + "MOCKDATA + es-translated support/changelog", + "es-translated support/restricted-regions", + "MOCKDATA + es-translated support/faq", + "es-translated support/token-directory", + "MOCKDATA + es-translated support/discord", + "es-translated support/hiring", + "MOCKDATA + es-translated support/contact-us" + ] + }, + { + "group": "es-translated Sequence Builder Admin", + "pages": [ + "MOCKDATA + es-translated support/builder/project-management", + "es-translated support/builder/project-settings" + ] + } + ] + } + ] + }, + { + "language": "MOCKDATA + es-translated ja", + "tabs": [ + { + "tab": "MOCKDATA + es-translated ホーム", + "pages": [ + "es-translated ja/home" + ] + }, + { + "tab": "es-translated ソリューション", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "MOCKDATA + es-translated ja/solutions/overview", + "es-translated ja/solutions/getting-started" + ] + }, + { + "group": "MOCKDATA + es-translated オンボード", + "pages": [ + "es-translated ja/solutions/wallets/overview", + { + "group": "MOCKDATA + es-translated エコシステムウォレット", + "pages": [ + "es-translated ja/solutions/wallets/ecosystem/overview", + "MOCKDATA + es-translated ja/solutions/wallets/ecosystem/configuration", + "es-translated ja/solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "MOCKDATA + es-translated 埋め込みウォレット", + "pages": [ + "es-translated ja/solutions/wallets/embedded-wallet/overview", + "MOCKDATA + es-translated ja/solutions/wallets/embedded-wallet/quickstart", + { + "group": "es-translated セットアップ", + "pages": [ + "MOCKDATA + es-translated ja/solutions/builder/embedded-wallet/configuration", + "es-translated ja/solutions/builder/embedded-wallet/google-configuration", + "MOCKDATA + es-translated ja/solutions/builder/embedded-wallet/apple-configuration", + "es-translated ja/solutions/builder/embedded-wallet/playfab-configuration", + "MOCKDATA + es-translated ja/solutions/builder/embedded-wallet/stytch-configuration", + "es-translated ja/solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "MOCKDATA + es-translated アーキテクチャ", + "pages": [ + "es-translated ja/solutions/wallets/embedded-wallet/architecture/overview", + "MOCKDATA + es-translated ja/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "es-translated ja/solutions/wallets/embedded-wallet/architecture/enclave-verification", + "MOCKDATA + es-translated ja/solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "es-translated ja/solutions/wallets/embedded-wallet/migration", + "MOCKDATA + es-translated ja/solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "es-translated パワー", + "pages": [ + "MOCKDATA + es-translated ja/solutions/power-overview", + { + "group": "es-translated デプロイ可能なコントラクト", + "pages": [ + "MOCKDATA + es-translated ja/solutions/builder/contracts", + "es-translated ja/solutions/collectibles/contracts/deploy-an-item-collection", + "MOCKDATA + es-translated ja/solutions/collectibles/contracts/deploy-ERC20-currency", + "es-translated ja/solutions/collectibles/contracts/deploy-soulbound-token", + "MOCKDATA + es-translated ja/solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "es-translated ja/solutions/builder/collections", + { + "group": "MOCKDATA + es-translated ブロックチェーンデータのクエリ", + "pages": [ + "es-translated ja/solutions/builder/indexer", + "MOCKDATA + es-translated ja/solutions/builder/webhooks" + ] + }, + { + "group": "es-translated サイドキック", + "pages": [ + "MOCKDATA + es-translated ja/solutions/sidekick/overview", + { + "group": "es-translated ガイド", + "pages": [ + "MOCKDATA + es-translated ja/solutions/sidekick/guides/mint-nft" + ] + } + ] + }, + "es-translated ja/solutions/builder/analytics", + "MOCKDATA + es-translated ja/solutions/builder/gas-tank", + "es-translated ja/solutions/builder/node-gateway" + ] + }, + { + "group": "MOCKDATA + es-translated 収益化", + "pages": [ + "es-translated ja/solutions/monetization-overview", + { + "group": "MOCKDATA + es-translated ホワイトラベルマーケットプレイス", + "pages": [ + "es-translated ja/solutions/marketplaces/white-label-marketplace/overview", + "MOCKDATA + es-translated ja/solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "es-translated カスタムマーケットプレイスの構築", + "pages": [ + "MOCKDATA + es-translated ja/solutions/marketplaces/custom-marketplace/overview", + "es-translated ja/solutions/marketplaces/custom-marketplace/getting-started" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence Pay", + "pages": [ + "MOCKDATA + es-translated ja/solutions/payments/overview" + ] + } + ] + }, + { + "group": "es-translated 技術リファレンス", + "pages": [ + "MOCKDATA + es-translated ja/solutions/technical-references/SequenceMCP", + "es-translated ja/solutions/technical-references/wallet-contracts/why", + { + "group": "MOCKDATA + es-translated コントラクト内部", + "pages": [ + "es-translated ja/solutions/technical-references/internals/deployment", + { + "group": "MOCKDATA + es-translated Sequence v1", + "pages": [ + "MOCKDATA + es-translated ja/solutions/technical-references/internals/v1/deploy", + "es-translated ja/solutions/technical-references/internals/v1/wallet-factory", + "MOCKDATA + es-translated ja/solutions/technical-references/internals/v1/wallet-configuration", + "es-translated ja/solutions/technical-references/internals/v1/signature-encoding", + "MOCKDATA + es-translated ja/solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence v2", + "pages": [ + "es-translated ja/solutions/technical-references/internals/v2/deploy", + "MOCKDATA + es-translated ja/solutions/technical-references/internals/v2/configuration" + ] + }, + "es-translated ja/solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "MOCKDATA + es-translated SDK", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "MOCKDATA + es-translated ja/sdk/overview" + ] + }, + { + "group": "es-translated Web SDK", + "pages": [ + "es-translated ja/sdk/web/overview", + "MOCKDATA + es-translated ja/sdk/web/getting-started", + "es-translated ja/sdk/web/migration", + { + "group": "es-translated ガイド", + "pages": [ + "MOCKDATA + es-translated ja/sdk/web/guides/send-sponsored-tx", + "es-translated ja/sdk/web/guides/pay-gas-in-erc20", + "MOCKDATA + es-translated ja/sdk/web/guides/on-ramp", + "es-translated ja/sdk/web/guides/smart-swaps", + "MOCKDATA + es-translated ja/sdk/web/guides/on-ramp-and-swap", + "es-translated ja/sdk/web/guides/checkout" + ] + }, + { + "group": "MOCKDATA + es-translated フック", + "pages": [ + "es-translated ja/sdk/web/hooks/useAddFundsModal", + "MOCKDATA + es-translated ja/sdk/web/hooks/useChain", + "es-translated ja/sdk/web/hooks/useCheckoutModal", + "MOCKDATA + es-translated ja/sdk/web/hooks/useCheckWaasFeeOptions", + "es-translated ja/sdk/web/hooks/useERC1155SaleContractCheckout", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetCoinPrices", + "es-translated ja/sdk/web/hooks/useGetCollectiblePrices", + "MOCKDATA + es-translated ja/sdk/web/hooks/useListAccounts", + "es-translated ja/sdk/web/hooks/useGetContractInfo", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetExchangeRate", + "es-translated ja/sdk/web/hooks/useGetSwapPrices", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetSwapQuote", + "es-translated ja/sdk/web/hooks/useGetTransactionHistory", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetMultipleContractsInfo", + "es-translated ja/sdk/web/hooks/useGetSwapPrices", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetSwapQuote", + "es-translated ja/sdk/web/hooks/useGetTokenMetadata", + "es-translated ja/sdk/web/hooks/useGetTransactionHistory", + "MOCKDATA + es-translated ja/sdk/web/hooks/useMetadataClient", + "es-translated ja/sdk/web/hooks/useGetNativeTokenBalance", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetSingleTokenBalanceSummary", + "es-translated ja/sdk/web/hooks/useGetTransactionHistory", + "es-translated ja/sdk/web/hooks/useGetTransactionHistorySummary", + "MOCKDATA + es-translated ja/sdk/web/hooks/useIndexerClient", + "es-translated ja/sdk/web/hooks/useGetSwapPrices", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetSwapQuote", + "es-translated ja/sdk/web/hooks/useGetTokenBalancesByContract", + "MOCKDATA + es-translated ja/sdk/web/hooks/useGetTokenBalancesDetails", + "es-translated ja/sdk/web/hooks/useGetTokenBalancesSummary", + "es-translated ja/sdk/web/hooks/useGetTransactionHistory", + "MOCKDATA + es-translated ja/sdk/web/hooks/useIndexerGatewayClient", + "es-translated ja/sdk/web/hooks/useOpenConnectModal", + "MOCKDATA + es-translated ja/sdk/web/hooks/useOpenWalletModal", + "es-translated ja/sdk/web/hooks/useSelectPaymentModal", + "MOCKDATA + es-translated ja/sdk/web/hooks/useSignInEmail", + "es-translated ja/sdk/web/hooks/useStorage", + "MOCKDATA + es-translated ja/sdk/web/hooks/useSwapModal", + "es-translated ja/sdk/web/hooks/useTheme", + "MOCKDATA + es-translated ja/sdk/web/hooks/useWaasFeeOptions", + "es-translated ja/sdk/web/hooks/useWalletNavigation", + "MOCKDATA + es-translated ja/sdk/web/hooks/useWalletSettings", + "es-translated ja/sdk/web/hooks/useWallets" + ] + }, + { + "group": "MOCKDATA + es-translated 二次販売マーケットプレイス", + "pages": [ + "es-translated ja/sdk/marketplace-sdk/overview", + "MOCKDATA + es-translated ja/sdk/marketplace-sdk/getting-started", + { + "group": "MOCKDATA + es-translated フック", + "pages": [ + "es-translated ja/sdk/marketplace-sdk/hooks/marketplace-actions", + "MOCKDATA + es-translated ja/sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "es-translated ja/sdk/web/custom-configuration", + "MOCKDATA + es-translated ja/sdk/web/custom-connectors" + ] + }, + { + "group": "es-translated ゲームエンジンSDK", + "pages": [ + { + "group": "es-translated Unity", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/overview", + "es-translated ja/sdk/unity/quickstart", + "MOCKDATA + es-translated ja/sdk/unity/installation", + "es-translated ja/sdk/unity/setup", + "MOCKDATA + es-translated ja/sdk/unity/bootstrap_game", + { + "group": "MOCKDATA + es-translated オンボード", + "pages": [ + { + "group": "es-translated 認証", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/onboard/authentication/intro", + "es-translated ja/sdk/unity/onboard/authentication/email", + "MOCKDATA + es-translated ja/sdk/unity/onboard/authentication/oidc", + "es-translated ja/sdk/unity/onboard/authentication/playfab", + "MOCKDATA + es-translated ja/sdk/unity/onboard/authentication/guest", + "es-translated ja/sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "MOCKDATA + es-translated ja/sdk/unity/onboard/recovering-sessions", + "MOCKDATA + es-translated ja/sdk/unity/onboard/session-management", + "es-translated ja/sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "es-translated パワー", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/power/read-from-blockchain", + "es-translated ja/sdk/unity/power/write-to-blockchain", + "MOCKDATA + es-translated ja/sdk/unity/power/sign-messages", + "es-translated ja/sdk/unity/power/deploy-contracts", + "MOCKDATA + es-translated ja/sdk/unity/power/contract-events", + "es-translated ja/sdk/unity/power/wallet-ui", + { + "group": "MOCKDATA + es-translated 高度なブロックチェーンインタラクション", + "pages": [ + "es-translated ja/sdk/unity/power/advanced/introduction", + "MOCKDATA + es-translated ja/sdk/unity/power/advanced/wallets", + "es-translated ja/sdk/unity/power/advanced/clients", + "MOCKDATA + es-translated ja/sdk/unity/power/advanced/transfers", + "es-translated ja/sdk/unity/power/advanced/contracts", + "MOCKDATA + es-translated ja/sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated 収益化", + "pages": [ + "es-translated ja/sdk/unity/monetization/intro", + "MOCKDATA + es-translated ja/sdk/unity/monetization/checkout-ui", + { + "group": "es-translated 一次販売", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/monetization/primary-sales/intro", + "es-translated ja/sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "MOCKDATA + es-translated 二次販売マーケットプレイス", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/monetization/secondary-sales/intro", + "es-translated ja/sdk/unity/monetization/secondary-sales/building-a-marketplace", + "MOCKDATA + es-translated ja/sdk/unity/monetization/secondary-sales/creating-listings", + "es-translated ja/sdk/unity/monetization/secondary-sales/creating-offers", + "MOCKDATA + es-translated ja/sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "es-translated 仕組み", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "es-translated ja/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "MOCKDATA + es-translated ja/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "es-translated ja/sdk/unity/monetization/currency-swaps", + "MOCKDATA + es-translated ja/sdk/unity/monetization/onboard-user-funds" + ] + }, + "es-translated ja/sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "es-translated Unreal", + "pages": [ + "MOCKDATA + es-translated ja/sdk/unreal/introduction", + "es-translated ja/sdk/unreal/quickstart", + "MOCKDATA + es-translated ja/sdk/unreal/installation", + "es-translated ja/sdk/unreal/configuration", + "MOCKDATA + es-translated ja/sdk/unreal/subsystems", + "es-translated ja/sdk/unreal/bootstrap_game", + "MOCKDATA + es-translated ja/sdk/unreal/user_interfaces", + "es-translated ja/sdk/unreal/authentication", + "MOCKDATA + es-translated ja/sdk/unreal/write-to-blockchain", + "es-translated ja/sdk/unreal/read-from-blockchain", + "MOCKDATA + es-translated ja/sdk/unreal/onboard-user-funds", + "es-translated ja/sdk/unreal/advanced", + "MOCKDATA + es-translated ja/sdk/unreal/platforms" + ] + } + ] + }, + { + "group": "es-translated その他のSDK", + "pages": [ + { + "group": "MOCKDATA + es-translated Typescript", + "pages": [ + "MOCKDATA + es-translated ja/sdk/typescript/overview", + { + "group": "es-translated バックエンド統合", + "pages": [ + "MOCKDATA + es-translated ja/sdk/typescript/guides/backend/integration" + ] + }, + { + "group": "es-translated フロントエンド統合", + "pages": [ + "MOCKDATA + es-translated ja/sdk/headless-wallet/quickstart", + "es-translated ja/sdk/headless-wallet/authentication", + "MOCKDATA + es-translated ja/sdk/headless-wallet/use-wallets", + "es-translated ja/sdk/headless-wallet/account-federation", + "MOCKDATA + es-translated ja/sdk/headless-wallet/manage-sessions", + "es-translated ja/sdk/headless-wallet/on-ramp", + "MOCKDATA + es-translated ja/sdk/headless-wallet/fee-options", + "es-translated ja/sdk/headless-wallet/verification", + "MOCKDATA + es-translated ja/sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Go", + "pages": [ + "es-translated ja/sdk/go/overview" + ] + }, + { + "group": "MOCKDATA + es-translated モバイル", + "pages": [ + "es-translated ja/sdk/mobile" + ] + } + ] + } + ] + }, + { + "tab": "es-translated API", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "MOCKDATA + es-translated ja/api-references/overview" + ] + }, + { + "group": "es-translated トランザクション", + "pages": [ + "MOCKDATA + es-translated ja/api-references/transactions/overview", + "es-translated ja/api-references/transactions/installation", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + "es-translated ja/api-references/transactions/endpoints/get-chain-id", + "MOCKDATA + es-translated ja/api-references/transactions/endpoints/fee-tokens", + "es-translated ja/api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "es-translated ja/api-references/transactions/examples/fetch-fee-options", + "MOCKDATA + es-translated ja/api-references/transactions/examples/send-transactions", + "es-translated ja/api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated インデクサー", + "pages": [ + "es-translated ja/api-references/indexer/overview", + "MOCKDATA + es-translated ja/api-references/indexer/installation", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + { + "group": "es-translated パブリック", + "pages": [ + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/get-native-token-balance", + "es-translated ja/api-references/indexer/endpoints/public/get-token-balances-summary", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/get-token-balances-details", + "es-translated ja/api-references/indexer/endpoints/public/get-token-balances-by-contract", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/get-token-balances", + "es-translated ja/api-references/indexer/endpoints/public/get-token-supplies", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/get-token-supplies-map", + "es-translated ja/api-references/indexer/endpoints/public/get-balance-updates", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/get-transaction-history", + "es-translated ja/api-references/indexer/endpoints/public/fetch-transaction-receipt", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "es-translated ja/api-references/indexer/endpoints/public/subscribe-receipts", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/public/subscribe-events", + "es-translated ja/api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "MOCKDATA + es-translated シークレット", + "pages": [ + "es-translated ja/api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/secret/add-webhook-listener", + "es-translated ja/api-references/indexer/endpoints/secret/update-webhook-listener", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/secret/remove-webhook-listener", + "es-translated ja/api-references/indexer/endpoints/secret/toggle-webhook-listener", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "es-translated ja/api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "MOCKDATA + es-translated ja/api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "es-translated ja/api-references/indexer/examples/fetch-tokens", + "MOCKDATA + es-translated ja/api-references/indexer/examples/transaction-history", + "es-translated ja/api-references/indexer/examples/unique-tokens", + "MOCKDATA + es-translated ja/api-references/indexer/examples/transation-history-token-contract", + "es-translated ja/api-references/indexer/examples/native-network-balance", + "MOCKDATA + es-translated ja/api-references/indexer/examples/metadata-tips", + "es-translated ja/api-references/indexer/examples/webhook-listener", + "MOCKDATA + es-translated ja/api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "es-translated インデクサーゲートウェイ", + "pages": [ + "MOCKDATA + es-translated ja/api-references/indexer-gateway/overview", + "es-translated ja/api-references/indexer-gateway/installation", + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "MOCKDATA + es-translated ja/api-references/indexer-gateway/examples/get-token-balances", + "MOCKDATA + es-translated ja/api-references/indexer-gateway/examples/get-native-token-balances", + "es-translated ja/api-references/indexer-gateway/examples/get-balance-updates", + "MOCKDATA + es-translated ja/api-references/indexer-gateway/examples/get-token-balances-details", + "es-translated ja/api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated アナリティクス", + "pages": [ + "es-translated ja/api-references/analytics/overview", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + { + "group": "MOCKDATA + es-translated シークレット", + "pages": [ + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/average-d-a-u", + "es-translated ja/api-references/analytics/endpoints/secret/average-d1-retention", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/average-d14-retention", + "es-translated ja/api-references/analytics/endpoints/secret/average-d28-retention", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/average-d3-retention", + "es-translated ja/api-references/analytics/endpoints/secret/average-d7-retention", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/average-stickiness", + "es-translated ja/api-references/analytics/endpoints/secret/compute-by-service", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "es-translated ja/api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "es-translated ja/api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "es-translated ja/api-references/analytics/endpoints/secret/daily-compute-by-type", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/daily-new-wallets", + "es-translated ja/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/market-txn-event-daily", + "es-translated ja/api-references/analytics/endpoints/secret/market-txn-event-monthly", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/market-txn-event-total", + "es-translated ja/api-references/analytics/endpoints/secret/market-wallets-daily", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/market-wallets-monthly", + "es-translated ja/api-references/analytics/endpoints/secret/market-wallets-total", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "es-translated ja/api-references/analytics/endpoints/secret/monthly-new-wallets", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "es-translated ja/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/rolling-stickiness", + "es-translated ja/api-references/analytics/endpoints/secret/total-compute", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/total-new-wallets", + "es-translated ja/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/wallets-by-browser", + "es-translated ja/api-references/analytics/endpoints/secret/wallets-by-country", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/wallets-by-device", + "es-translated ja/api-references/analytics/endpoints/secret/wallets-by-o-s", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/wallets-daily", + "es-translated ja/api-references/analytics/endpoints/secret/wallets-monthly", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/wallets-total", + "es-translated ja/api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "es-translated ja/api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "es-translated デフォルト", + "pages": [ + "MOCKDATA + es-translated ja/api-references/analytics/endpoints/default/daily-compute-by-service", + "es-translated ja/api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "MOCKDATA + es-translated ja/api-references/analytics/examples/wallets", + "es-translated ja/api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated メタデータ", + "pages": [ + "es-translated ja/api-references/metadata/overview", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + { + "group": "es-translated パブリック", + "pages": [ + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/directory-get-collections", + "es-translated ja/api-references/metadata/endpoints/public/directory-get-networks", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "es-translated ja/api-references/metadata/endpoints/public/get-contract-info-batch", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/get-contract-info", + "es-translated ja/api-references/metadata/endpoints/public/get-token-metadata-batch", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/get-token-metadata", + "es-translated ja/api-references/metadata/endpoints/public/refresh-token-metadata", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/search-contract-info-batch", + "es-translated ja/api-references/metadata/endpoints/public/search-contract-info", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/search-token-i-ds", + "es-translated ja/api-references/metadata/endpoints/public/search-token-metadata", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/search-tokens", + "es-translated ja/api-references/metadata/endpoints/public/token-collection-filters", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "es-translated ja/api-references/metadata/endpoints/public/refresh-contract-info", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/refresh-contract-tokens", + "es-translated ja/api-references/metadata/endpoints/public/search-contracts", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "MOCKDATA + es-translated シークレット", + "pages": [ + "es-translated ja/api-references/metadata/endpoints/secret/create-asset", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/create-collection", + "es-translated ja/api-references/metadata/endpoints/secret/create-contract-collection", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/create-token", + "es-translated ja/api-references/metadata/endpoints/secret/delete-asset", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/delete-collection", + "es-translated ja/api-references/metadata/endpoints/secret/delete-contract-collection", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/delete-token", + "es-translated ja/api-references/metadata/endpoints/secret/get-asset", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/get-collection", + "es-translated ja/api-references/metadata/endpoints/secret/get-contract-collection", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/get-token", + "es-translated ja/api-references/metadata/endpoints/secret/list-collections", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/list-contract-collections", + "es-translated ja/api-references/metadata/endpoints/secret/list-tokens", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/publish-collection", + "es-translated ja/api-references/metadata/endpoints/secret/unpublish-collection", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/update-asset", + "es-translated ja/api-references/metadata/endpoints/secret/update-collection", + "MOCKDATA + es-translated ja/api-references/metadata/endpoints/secret/update-contract-collection", + "es-translated ja/api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "MOCKDATA + es-translated ja/api-references/metadata/examples/token-metadata", + "es-translated ja/api-references/metadata/examples/contract-metadata", + "MOCKDATA + es-translated ja/api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "es-translated インフラストラクチャ", + "pages": [ + "MOCKDATA + es-translated ja/api-references/infrastructure/overview", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + "es-translated ja/api-references/infrastructure/endpoints/get-linked-wallets", + "MOCKDATA + es-translated ja/api-references/infrastructure/endpoints/get-swap-price", + "es-translated ja/api-references/infrastructure/endpoints/get-swap-prices", + "MOCKDATA + es-translated ja/api-references/infrastructure/endpoints/get-swap-quote", + "es-translated ja/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "MOCKDATA + es-translated ja/api-references/infrastructure/endpoints/is-valid-message-signature", + "es-translated ja/api-references/infrastructure/endpoints/is-valid-signature", + "MOCKDATA + es-translated ja/api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "es-translated ja/api-references/infrastructure/endpoints/link-wallet", + "MOCKDATA + es-translated ja/api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "es-translated ビルダー", + "pages": [ + "MOCKDATA + es-translated ja/api-references/builder/overview", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + "es-translated ja/api-references/builder/endpoints/add-audience-contacts", + "MOCKDATA + es-translated ja/api-references/builder/endpoints/create-audience", + "es-translated ja/api-references/builder/endpoints/delete-audience", + "MOCKDATA + es-translated ja/api-references/builder/endpoints/get-audience", + "es-translated ja/api-references/builder/endpoints/get-contract", + "MOCKDATA + es-translated ja/api-references/builder/endpoints/list-audiences", + "es-translated ja/api-references/builder/endpoints/list-contract-sources", + "MOCKDATA + es-translated ja/api-references/builder/endpoints/list-contracts", + "es-translated ja/api-references/builder/endpoints/remove-audience-contacts", + "MOCKDATA + es-translated ja/api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "es-translated マーケットプレイス", + "pages": [ + "MOCKDATA + es-translated ja/api-references/marketplace/overview", + { + "group": "MOCKDATA + es-translated エンドポイント", + "pages": [ + "es-translated ja/api-references/marketplace/endpoints/checkout-options-marketplace", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/checkout-options-sales-contract", + "es-translated ja/api-references/marketplace/endpoints/execute", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/generate-buy-transaction", + "es-translated ja/api-references/marketplace/endpoints/generate-listing-transaction", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/generate-offer-transaction", + "es-translated ja/api-references/marketplace/endpoints/generate-sell-transaction", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-collectible-highest-listing", + "es-translated ja/api-references/marketplace/endpoints/get-collectible-highest-offer", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-collectible-lowest-listing", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-collectible-lowest-offer", + "es-translated ja/api-references/marketplace/endpoints/get-collectible", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-count-of-all-collectibles", + "es-translated ja/api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-floor-order", + "es-translated ja/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "es-translated ja/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "es-translated ja/api-references/marketplace/endpoints/get-orders", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/list-collectible-listings", + "es-translated ja/api-references/marketplace/endpoints/list-collectible-offers", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/list-collectibles-with-lowest-listing", + "es-translated ja/api-references/marketplace/endpoints/list-collectibles-with-highest-offer", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/list-collectibles", + "es-translated ja/api-references/marketplace/endpoints/list-currencies", + "MOCKDATA + es-translated ja/api-references/marketplace/endpoints/list-listings-for-collectible", + "es-translated ja/api-references/marketplace/endpoints/list-offers-for-collectible" + ] + }, + { + "group": "MOCKDATA + es-translated 例", + "pages": [ + "MOCKDATA + es-translated ja/api-references/marketplace/examples/orderbook-transactions", + "es-translated ja/api-references/marketplace/examples/get-top-orders", + "MOCKDATA + es-translated ja/api-references/marketplace/examples/get-orderbook", + "es-translated ja/api-references/marketplace/examples/get-user-activities" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated ブロックチェーンRPC", + "pages": [ + "es-translated ja/api-references/node-gateway" + ] + } + ] + }, + { + "tab": "MOCKDATA + es-translated リソース", + "groups": [ + { + "group": "es-translated ガイド", + "pages": [ + "MOCKDATA + es-translated ja/guides/guide-overview", + { + "group": "es-translated ゲーム開発者", + "pages": [ + "MOCKDATA + es-translated ja/guides/webgl-guide", + "es-translated ja/guides/jelly-forest-unity-guide", + "MOCKDATA + es-translated ja/guides/building-transaction-heavy-games-with-unity", + "es-translated ja/guides/unreal-ew-guide", + "MOCKDATA + es-translated ja/guides/using-unity-iap-to-sell-nfts", + "es-translated ja/guides/unity-primary-sales", + "MOCKDATA + es-translated ja/guides/unity-webgl-telegram", + "es-translated ja/guides/telegram-integration" + ] + }, + { + "group": "MOCKDATA + es-translated ブロックチェーン統合", + "pages": [ + "es-translated ja/guides/mint-collectibles-serverless", + "MOCKDATA + es-translated ja/guides/metadata-guide", + "es-translated ja/guides/treasure-chest-guide", + "MOCKDATA + es-translated ja/guides/typed-on-chain-signatures", + "es-translated ja/guides/building-relaying-server", + "MOCKDATA + es-translated ja/guides/analytics-guide", + "es-translated ja/guides/build-embedding-wallet" + ] + }, + { + "group": "MOCKDATA + es-translated マーケットプレイスと一次販売", + "pages": [ + "es-translated ja/guides/custom-marketplace", + "MOCKDATA + es-translated ja/guides/primary-sales", + "es-translated ja/guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated ボイラープレート", + "pages": [ + "es-translated ja/guides/template-overview" + ] + } + ] + }, + { + "tab": "MOCKDATA + es-translated サポート", + "groups": [ + { + "group": "MOCKDATA + es-translated サポート", + "pages": [ + "es-translated ja/support", + "MOCKDATA + es-translated ja/support/changelog", + "es-translated ja/support/restricted-regions", + "MOCKDATA + es-translated ja/support/faq", + "es-translated ja/support/token-directory", + "MOCKDATA + es-translated ja/support/discord", + "es-translated ja/support/hiring", + "MOCKDATA + es-translated ja/support/contact-us" + ] + }, + { + "group": "es-translated Sequence Builder管理", + "pages": [ + "MOCKDATA + es-translated ja/support/builder/project-management", + "es-translated ja/support/builder/project-settings" + ] + } + ] + } + ] + }, + { + "language": "MOCKDATA + es-translated es", + "tabs": [ + { + "tab": "es-translated Inicio", + "pages": [ + "es-translated es/home" + ] + }, + { + "tab": "MOCKDATA + es-translated Soluciones", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "MOCKDATA + es-translated es/solutions/overview", + "es-translated es/solutions/getting-started" + ] + }, + { + "group": "MOCKDATA + es-translated Incorporación", + "pages": [ + "es-translated es/solutions/wallets/overview", + { + "group": "MOCKDATA + es-translated Carteras del Ecosistema", + "pages": [ + "es-translated es/solutions/wallets/ecosystem/overview", + "MOCKDATA + es-translated es/solutions/wallets/ecosystem/configuration", + "es-translated es/solutions/wallets/ecosystem/cross-app" + ] + }, + { + "group": "MOCKDATA + es-translated Carteras Incrustadas", + "pages": [ + "es-translated es/solutions/wallets/embedded-wallet/overview", + "MOCKDATA + es-translated es/solutions/wallets/embedded-wallet/quickstart", + { + "group": "es-translated Configuración", + "pages": [ + "MOCKDATA + es-translated es/solutions/builder/embedded-wallet/configuration", + "es-translated es/solutions/builder/embedded-wallet/google-configuration", + "MOCKDATA + es-translated es/solutions/builder/embedded-wallet/apple-configuration", + "es-translated es/solutions/builder/embedded-wallet/playfab-configuration", + "MOCKDATA + es-translated es/solutions/builder/embedded-wallet/stytch-configuration", + "es-translated es/solutions/builder/embedded-wallet/guest-wallet-configuration" + ] + }, + { + "group": "MOCKDATA + es-translated Arquitectura", + "pages": [ + "es-translated es/solutions/wallets/embedded-wallet/architecture/overview", + "MOCKDATA + es-translated es/solutions/wallets/embedded-wallet/architecture/trust-contract-recovery-flow", + "es-translated es/solutions/wallets/embedded-wallet/architecture/enclave-verification", + "MOCKDATA + es-translated es/solutions/wallets/embedded-wallet/architecture/intents" + ] + }, + "es-translated es/solutions/wallets/embedded-wallet/migration", + "MOCKDATA + es-translated es/solutions/wallets/embedded-wallet/faq" + ] + } + ] + }, + { + "group": "es-translated Funcionalidades", + "pages": [ + "MOCKDATA + es-translated es/solutions/power-overview", + { + "group": "es-translated Contratos Desplegables", + "pages": [ + "MOCKDATA + es-translated es/solutions/builder/contracts", + "es-translated es/solutions/collectibles/contracts/deploy-an-item-collection", + "MOCKDATA + es-translated es/solutions/collectibles/contracts/deploy-ERC20-currency", + "es-translated es/solutions/collectibles/contracts/deploy-soulbound-token", + "MOCKDATA + es-translated es/solutions/collectibles/contracts/deploy-primary-sales-contract" + ] + }, + "es-translated es/solutions/builder/collections", + { + "group": "MOCKDATA + es-translated Consulta de Datos Blockchain", + "pages": [ + "es-translated es/solutions/builder/indexer", + "MOCKDATA + es-translated es/solutions/builder/webhooks" + ] + }, + { + "group": "MOCKDATA + es-translated Sidekick", + "pages": [ + "es-translated es/solutions/sidekick/overview", + { + "group": "MOCKDATA + es-translated Guías", + "pages": [ + "es-translated es/solutions/sidekick/guides/mint-nft" + ] + } + ] + }, + "MOCKDATA + es-translated es/solutions/builder/analytics", + "es-translated es/solutions/builder/gas-tank", + "MOCKDATA + es-translated es/solutions/builder/node-gateway" + ] + }, + { + "group": "es-translated Monetización", + "pages": [ + "MOCKDATA + es-translated es/solutions/monetization-overview", + { + "group": "es-translated Marketplace de Marca Blanca", + "pages": [ + "MOCKDATA + es-translated es/solutions/marketplaces/white-label-marketplace/overview", + "es-translated es/solutions/marketplaces/white-label-marketplace/guide" + ] + }, + { + "group": "MOCKDATA + es-translated Crea tu Marketplace Personalizado", + "pages": [ + "es-translated es/solutions/marketplaces/custom-marketplace/overview", + "MOCKDATA + es-translated es/solutions/marketplaces/custom-marketplace/getting-started" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence Pay", + "pages": [ + "es-translated es/solutions/payments/overview" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Referencias Técnicas", + "pages": [ + "es-translated es/solutions/technical-references/SequenceMCP", + "MOCKDATA + es-translated es/solutions/technical-references/wallet-contracts/why", + { + "group": "es-translated Internos del Contrato", + "pages": [ + "MOCKDATA + es-translated es/solutions/technical-references/internals/deployment", + { + "group": "MOCKDATA + es-translated Sequence v1", + "pages": [ + "es-translated es/solutions/technical-references/internals/v1/deploy", + "MOCKDATA + es-translated es/solutions/technical-references/internals/v1/wallet-factory", + "es-translated es/solutions/technical-references/internals/v1/wallet-configuration", + "MOCKDATA + es-translated es/solutions/technical-references/internals/v1/signature-encoding", + "es-translated es/solutions/technical-references/internals/v1/wallet-context" + ] + }, + { + "group": "MOCKDATA + es-translated Sequence v2", + "pages": [ + "MOCKDATA + es-translated es/solutions/technical-references/internals/v2/deploy", + "es-translated es/solutions/technical-references/internals/v2/configuration" + ] + }, + "MOCKDATA + es-translated es/solutions/technical-references/internals/contract-audits" + ] + } + ] + } + ] + }, + { + "tab": "MOCKDATA + es-translated SDKs", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "es-translated es/sdk/overview" + ] + }, + { + "group": "MOCKDATA + es-translated SDK Web", + "pages": [ + "es-translated es/sdk/web/overview", + "MOCKDATA + es-translated es/sdk/web/getting-started", + "es-translated es/sdk/web/migration", + { + "group": "MOCKDATA + es-translated Guías", + "pages": [ + "MOCKDATA + es-translated es/sdk/web/guides/send-sponsored-tx", + "es-translated es/sdk/web/guides/pay-gas-in-erc20", + "MOCKDATA + es-translated es/sdk/web/guides/on-ramp", + "es-translated es/sdk/web/guides/smart-swaps", + "MOCKDATA + es-translated es/sdk/web/guides/on-ramp-and-swap", + "es-translated es/sdk/web/guides/checkout" + ] + }, + { + "group": "es-translated Hooks", + "pages": [ + "MOCKDATA + es-translated es/sdk/web/hooks/useAddFundsModal", + "es-translated es/sdk/web/hooks/useChain", + "MOCKDATA + es-translated es/sdk/web/hooks/useCheckoutModal", + "es-translated es/sdk/web/hooks/useCheckWaasFeeOptions", + "MOCKDATA + es-translated es/sdk/web/hooks/useERC1155SaleContractCheckout", + "es-translated es/sdk/web/hooks/useGetCoinPrices", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetCollectiblePrices", + "es-translated es/sdk/web/hooks/useListAccounts", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetContractInfo", + "es-translated es/sdk/web/hooks/useGetExchangeRate", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetSwapPrices", + "es-translated es/sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTransactionHistory", + "es-translated es/sdk/web/hooks/useGetMultipleContractsInfo", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetSwapPrices", + "es-translated es/sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTokenMetadata", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTransactionHistory", + "es-translated es/sdk/web/hooks/useMetadataClient", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetNativeTokenBalance", + "es-translated es/sdk/web/hooks/useGetSingleTokenBalanceSummary", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTransactionHistory", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTransactionHistorySummary", + "es-translated es/sdk/web/hooks/useIndexerClient", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetSwapPrices", + "es-translated es/sdk/web/hooks/useGetSwapQuote", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTokenBalancesByContract", + "es-translated es/sdk/web/hooks/useGetTokenBalancesDetails", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTokenBalancesSummary", + "MOCKDATA + es-translated es/sdk/web/hooks/useGetTransactionHistory", + "es-translated es/sdk/web/hooks/useIndexerGatewayClient", + "MOCKDATA + es-translated es/sdk/web/hooks/useOpenConnectModal", + "es-translated es/sdk/web/hooks/useOpenWalletModal", + "MOCKDATA + es-translated es/sdk/web/hooks/useSelectPaymentModal", + "es-translated es/sdk/web/hooks/useSignInEmail", + "MOCKDATA + es-translated es/sdk/web/hooks/useStorage", + "es-translated es/sdk/web/hooks/useSwapModal", + "MOCKDATA + es-translated es/sdk/web/hooks/useTheme", + "es-translated es/sdk/web/hooks/useWaasFeeOptions", + "MOCKDATA + es-translated es/sdk/web/hooks/useWalletNavigation", + "es-translated es/sdk/web/hooks/useWalletSettings", + "MOCKDATA + es-translated es/sdk/web/hooks/useWallets" + ] + }, + { + "group": "es-translated Marketplace de Ventas Secundarias", + "pages": [ + "MOCKDATA + es-translated es/sdk/marketplace-sdk/overview", + "es-translated es/sdk/marketplace-sdk/getting-started", + { + "group": "es-translated Hooks", + "pages": [ + "MOCKDATA + es-translated es/sdk/marketplace-sdk/hooks/marketplace-actions", + "es-translated es/sdk/marketplace-sdk/hooks/marketplace-data-hooks" + ] + } + ] + }, + "MOCKDATA + es-translated es/sdk/web/custom-configuration", + "es-translated es/sdk/web/custom-connectors" + ] + }, + { + "group": "MOCKDATA + es-translated SDKs para Motores de Juego", + "pages": [ + { + "group": "es-translated Unity", + "pages": [ + "es-translated es/sdk/unity/overview", + "MOCKDATA + es-translated es/sdk/unity/quickstart", + "es-translated es/sdk/unity/installation", + "MOCKDATA + es-translated es/sdk/unity/setup", + "es-translated es/sdk/unity/bootstrap_game", + { + "group": "MOCKDATA + es-translated Incorporación", + "pages": [ + { + "group": "MOCKDATA + es-translated Autenticación", + "pages": [ + "es-translated es/sdk/unity/onboard/authentication/intro", + "MOCKDATA + es-translated es/sdk/unity/onboard/authentication/email", + "es-translated es/sdk/unity/onboard/authentication/oidc", + "MOCKDATA + es-translated es/sdk/unity/onboard/authentication/playfab", + "es-translated es/sdk/unity/onboard/authentication/guest", + "MOCKDATA + es-translated es/sdk/unity/onboard/authentication/federated-accounts" + ] + }, + "es-translated es/sdk/unity/onboard/recovering-sessions", + "MOCKDATA + es-translated es/sdk/unity/onboard/session-management", + "es-translated es/sdk/unity/onboard/connecting-external-wallets" + ] + }, + { + "group": "es-translated Funcionalidades", + "pages": [ + "MOCKDATA + es-translated es/sdk/unity/power/read-from-blockchain", + "es-translated es/sdk/unity/power/write-to-blockchain", + "MOCKDATA + es-translated es/sdk/unity/power/sign-messages", + "es-translated es/sdk/unity/power/deploy-contracts", + "MOCKDATA + es-translated es/sdk/unity/power/contract-events", + "es-translated es/sdk/unity/power/wallet-ui", + { + "group": "MOCKDATA + es-translated Interacciones Blockchain Avanzadas", + "pages": [ + "es-translated es/sdk/unity/power/advanced/introduction", + "MOCKDATA + es-translated es/sdk/unity/power/advanced/wallets", + "es-translated es/sdk/unity/power/advanced/clients", + "MOCKDATA + es-translated es/sdk/unity/power/advanced/transfers", + "es-translated es/sdk/unity/power/advanced/contracts", + "MOCKDATA + es-translated es/sdk/unity/power/advanced/tokens" + ] + } + ] + }, + { + "group": "es-translated Monetización", + "pages": [ + "es-translated es/sdk/unity/monetization/intro", + "MOCKDATA + es-translated es/sdk/unity/monetization/checkout-ui", + { + "group": "es-translated Ventas Primarias", + "pages": [ + "MOCKDATA + es-translated es/sdk/unity/monetization/primary-sales/intro", + "es-translated es/sdk/unity/monetization/primary-sales/credit-card-checkout" + ] + }, + { + "group": "es-translated Marketplace de Ventas Secundarias", + "pages": [ + "MOCKDATA + es-translated es/sdk/unity/monetization/secondary-sales/intro", + "es-translated es/sdk/unity/monetization/secondary-sales/building-a-marketplace", + "MOCKDATA + es-translated es/sdk/unity/monetization/secondary-sales/creating-listings", + "es-translated es/sdk/unity/monetization/secondary-sales/creating-offers", + "MOCKDATA + es-translated es/sdk/unity/monetization/secondary-sales/accepting-offers", + { + "group": "es-translated Cómo Funciona", + "pages": [ + "MOCKDATA + es-translated es/sdk/unity/monetization/secondary-sales/how-it-works/reading-orders", + "es-translated es/sdk/unity/monetization/secondary-sales/how-it-works/filling-orders", + "MOCKDATA + es-translated es/sdk/unity/monetization/secondary-sales/how-it-works/credit-card-checkout" + ] + } + ] + }, + "es-translated es/sdk/unity/monetization/currency-swaps", + "MOCKDATA + es-translated es/sdk/unity/monetization/onboard-user-funds" + ] + }, + "es-translated es/sdk/unity/v2-to-v3-upgrade-guide" + ] + }, + { + "group": "es-translated Unreal", + "pages": [ + "MOCKDATA + es-translated es/sdk/unreal/introduction", + "es-translated es/sdk/unreal/quickstart", + "MOCKDATA + es-translated es/sdk/unreal/installation", + "es-translated es/sdk/unreal/configuration", + "MOCKDATA + es-translated es/sdk/unreal/subsystems", + "es-translated es/sdk/unreal/bootstrap_game", + "MOCKDATA + es-translated es/sdk/unreal/user_interfaces", + "es-translated es/sdk/unreal/authentication", + "MOCKDATA + es-translated es/sdk/unreal/write-to-blockchain", + "es-translated es/sdk/unreal/read-from-blockchain", + "MOCKDATA + es-translated es/sdk/unreal/onboard-user-funds", + "es-translated es/sdk/unreal/advanced", + "MOCKDATA + es-translated es/sdk/unreal/platforms" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Otros SDKs", + "pages": [ + { + "group": "MOCKDATA + es-translated Typescript", + "pages": [ + "es-translated es/sdk/typescript/overview", + { + "group": "MOCKDATA + es-translated Integración Backend", + "pages": [ + "es-translated es/sdk/typescript/guides/backend/integration" + ] + }, + { + "group": "MOCKDATA + es-translated Integración Frontend", + "pages": [ + "es-translated es/sdk/headless-wallet/quickstart", + "MOCKDATA + es-translated es/sdk/headless-wallet/authentication", + "es-translated es/sdk/headless-wallet/use-wallets", + "MOCKDATA + es-translated es/sdk/headless-wallet/account-federation", + "es-translated es/sdk/headless-wallet/manage-sessions", + "MOCKDATA + es-translated es/sdk/headless-wallet/on-ramp", + "es-translated es/sdk/headless-wallet/fee-options", + "MOCKDATA + es-translated es/sdk/headless-wallet/verification", + "es-translated es/sdk/headless-wallet/transaction-receipts" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Go", + "pages": [ + "MOCKDATA + es-translated es/sdk/go/overview" + ] + }, + { + "group": "es-translated Móvil", + "pages": [ + "MOCKDATA + es-translated es/sdk/mobile" + ] + } + ] + } + ] + }, + { + "tab": "es-translated APIs", + "groups": [ + { + "group": "MOCKDATA + es-translated ", + "pages": [ + "es-translated es/api-references/overview" + ] + }, + { + "group": "MOCKDATA + es-translated Transacciones", + "pages": [ + "es-translated es/api-references/transactions/overview", + "MOCKDATA + es-translated es/api-references/transactions/installation", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "es-translated es/api-references/transactions/endpoints/get-chain-id", + "MOCKDATA + es-translated es/api-references/transactions/endpoints/fee-tokens", + "es-translated es/api-references/transactions/endpoints/fee-options" + ] + }, + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "es-translated es/api-references/transactions/examples/fetch-fee-options", + "MOCKDATA + es-translated es/api-references/transactions/examples/send-transactions", + "es-translated es/api-references/transactions/examples/fetch-transaction-receipts" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Indexador", + "pages": [ + "es-translated es/api-references/indexer/overview", + "MOCKDATA + es-translated es/api-references/indexer/installation", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "es-translated público", + "pages": [ + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/get-native-token-balance", + "es-translated es/api-references/indexer/endpoints/public/get-token-balances-summary", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/get-token-balances-details", + "es-translated es/api-references/indexer/endpoints/public/get-token-balances-by-contract", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/get-token-balances", + "es-translated es/api-references/indexer/endpoints/public/get-token-supplies", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/get-token-supplies-map", + "es-translated es/api-references/indexer/endpoints/public/get-balance-updates", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/get-transaction-history", + "es-translated es/api-references/indexer/endpoints/public/fetch-transaction-receipt", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/fetch-transaction-receipt-with-filter", + "es-translated es/api-references/indexer/endpoints/public/subscribe-receipts", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/public/subscribe-events", + "es-translated es/api-references/indexer/endpoints/public/subscribe-balance-updates" + ] + }, + { + "group": "MOCKDATA + es-translated secreto", + "pages": [ + "es-translated es/api-references/indexer/endpoints/secret/get-all-webhook-listeners", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/secret/add-webhook-listener", + "es-translated es/api-references/indexer/endpoints/secret/update-webhook-listener", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/secret/remove-webhook-listener", + "es-translated es/api-references/indexer/endpoints/secret/toggle-webhook-listener", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/secret/pause-all-webhook-listeners", + "MOCKDATA + es-translated es/api-references/indexer/endpoints/secret/resume-all-webhook-listeners", + "es-translated es/api-references/indexer/endpoints/default/get-webhook-listener" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "MOCKDATA + es-translated es/api-references/indexer/examples/fetch-tokens", + "es-translated es/api-references/indexer/examples/transaction-history", + "MOCKDATA + es-translated es/api-references/indexer/examples/unique-tokens", + "es-translated es/api-references/indexer/examples/transation-history-token-contract", + "MOCKDATA + es-translated es/api-references/indexer/examples/native-network-balance", + "es-translated es/api-references/indexer/examples/metadata-tips", + "MOCKDATA + es-translated es/api-references/indexer/examples/webhook-listener", + "es-translated es/api-references/indexer/examples/subscriptions" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Gateway del Indexador", + "pages": [ + "es-translated es/api-references/indexer-gateway/overview", + "MOCKDATA + es-translated es/api-references/indexer-gateway/installation", + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "es-translated es/api-references/indexer-gateway/examples/get-token-balances", + "MOCKDATA + es-translated es/api-references/indexer-gateway/examples/get-native-token-balances", + "es-translated es/api-references/indexer-gateway/examples/get-balance-updates", + "MOCKDATA + es-translated es/api-references/indexer-gateway/examples/get-token-balances-details", + "es-translated es/api-references/indexer-gateway/examples/get-token-balances-by-contract" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Analíticas", + "pages": [ + "es-translated es/api-references/analytics/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "MOCKDATA + es-translated secreto", + "pages": [ + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/average-d-a-u", + "es-translated es/api-references/analytics/endpoints/secret/average-d1-retention", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/average-d14-retention", + "es-translated es/api-references/analytics/endpoints/secret/average-d28-retention", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/average-d3-retention", + "es-translated es/api-references/analytics/endpoints/secret/average-d7-retention", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/average-stickiness", + "es-translated es/api-references/analytics/endpoints/secret/compute-by-service", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/d1-retention-by-cohort", + "es-translated es/api-references/analytics/endpoints/secret/d14-retention-by-cohort", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/d28-retention-by-cohort", + "es-translated es/api-references/analytics/endpoints/secret/d3-retention-by-cohort", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/d7-retention-by-cohort", + "es-translated es/api-references/analytics/endpoints/secret/daily-compute-by-type", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/daily-new-wallets", + "es-translated es/api-references/analytics/endpoints/secret/daily-wallet-txn-conversion-rate", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/market-txn-event-daily", + "es-translated es/api-references/analytics/endpoints/secret/market-txn-event-monthly", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/market-txn-event-total", + "es-translated es/api-references/analytics/endpoints/secret/market-wallets-daily", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/market-wallets-monthly", + "es-translated es/api-references/analytics/endpoints/secret/market-wallets-total", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/monthly-active-wallets-by-segment", + "es-translated es/api-references/analytics/endpoints/secret/monthly-new-wallets", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/monthly-transacting-wallets-by-segment", + "es-translated es/api-references/analytics/endpoints/secret/monthly-wallet-txn-conversion-rate", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/rolling-stickiness", + "es-translated es/api-references/analytics/endpoints/secret/total-compute", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/total-new-wallets", + "es-translated es/api-references/analytics/endpoints/secret/total-wallet-txn-conversion-rate", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/wallets-by-browser", + "es-translated es/api-references/analytics/endpoints/secret/wallets-by-country", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/wallets-by-device", + "es-translated es/api-references/analytics/endpoints/secret/wallets-by-o-s", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/wallets-daily", + "es-translated es/api-references/analytics/endpoints/secret/wallets-monthly", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/wallets-total", + "es-translated es/api-references/analytics/endpoints/secret/wallets-txn-sent-daily", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/wallets-txn-sent-monthly", + "es-translated es/api-references/analytics/endpoints/secret/wallets-txn-sent-total", + "MOCKDATA + es-translated es/api-references/analytics/endpoints/secret/weekly-active-wallets" + ] + }, + { + "group": "es-translated predeterminado", + "pages": [ + "MOCKDATA + es-translated es/api-references/analytics/endpoints/default/daily-compute-by-service", + "es-translated es/api-references/analytics/endpoints/default/get-orderbook-collections" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "MOCKDATA + es-translated es/api-references/analytics/examples/wallets", + "es-translated es/api-references/analytics/examples/marketplace" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Metadatos", + "pages": [ + "es-translated es/api-references/metadata/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + { + "group": "es-translated público", + "pages": [ + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/directory-get-collections", + "es-translated es/api-references/metadata/endpoints/public/directory-get-networks", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/enqueue-tokens-for-refresh", + "es-translated es/api-references/metadata/endpoints/public/get-contract-info-batch", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/get-contract-info", + "es-translated es/api-references/metadata/endpoints/public/get-token-metadata-batch", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/get-token-metadata", + "es-translated es/api-references/metadata/endpoints/public/refresh-token-metadata", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/search-contract-info-batch", + "es-translated es/api-references/metadata/endpoints/public/search-contract-info", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/search-token-i-ds", + "es-translated es/api-references/metadata/endpoints/public/search-token-metadata", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/search-tokens", + "es-translated es/api-references/metadata/endpoints/public/token-collection-filters", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/refresh-all-contract-tokens", + "es-translated es/api-references/metadata/endpoints/public/refresh-contract-info", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/refresh-contract-tokens", + "es-translated es/api-references/metadata/endpoints/public/search-contracts", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/public/search-metadata" + ] + }, + { + "group": "MOCKDATA + es-translated secreto", + "pages": [ + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/create-asset", + "es-translated es/api-references/metadata/endpoints/secret/create-collection", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/create-contract-collection", + "es-translated es/api-references/metadata/endpoints/secret/create-token", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/delete-asset", + "es-translated es/api-references/metadata/endpoints/secret/delete-collection", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/delete-contract-collection", + "es-translated es/api-references/metadata/endpoints/secret/delete-token", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/get-asset", + "es-translated es/api-references/metadata/endpoints/secret/get-collection", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/get-contract-collection", + "es-translated es/api-references/metadata/endpoints/secret/get-token", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/list-collections", + "es-translated es/api-references/metadata/endpoints/secret/list-contract-collections", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/list-tokens", + "es-translated es/api-references/metadata/endpoints/secret/publish-collection", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/unpublish-collection", + "es-translated es/api-references/metadata/endpoints/secret/update-asset", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/update-collection", + "es-translated es/api-references/metadata/endpoints/secret/update-contract-collection", + "MOCKDATA + es-translated es/api-references/metadata/endpoints/secret/update-token" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "es-translated es/api-references/metadata/examples/token-metadata", + "MOCKDATA + es-translated es/api-references/metadata/examples/contract-metadata", + "es-translated es/api-references/metadata/examples/rest-api" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Infraestructura", + "pages": [ + "es-translated es/api-references/infrastructure/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "MOCKDATA + es-translated es/api-references/infrastructure/endpoints/get-linked-wallets", + "es-translated es/api-references/infrastructure/endpoints/get-swap-price", + "MOCKDATA + es-translated es/api-references/infrastructure/endpoints/get-swap-prices", + "es-translated es/api-references/infrastructure/endpoints/get-swap-quote", + "MOCKDATA + es-translated es/api-references/infrastructure/endpoints/is-valid-e-t-h-auth-proof", + "es-translated es/api-references/infrastructure/endpoints/is-valid-message-signature", + "MOCKDATA + es-translated es/api-references/infrastructure/endpoints/is-valid-signature", + "es-translated es/api-references/infrastructure/endpoints/is-valid-typed-data-signature", + "MOCKDATA + es-translated es/api-references/infrastructure/endpoints/link-wallet", + "es-translated es/api-references/infrastructure/endpoints/remove-linked-wallet" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Builder", + "pages": [ + "MOCKDATA + es-translated es/api-references/builder/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "es-translated es/api-references/builder/endpoints/add-audience-contacts", + "MOCKDATA + es-translated es/api-references/builder/endpoints/create-audience", + "es-translated es/api-references/builder/endpoints/delete-audience", + "MOCKDATA + es-translated es/api-references/builder/endpoints/get-audience", + "es-translated es/api-references/builder/endpoints/get-contract", + "MOCKDATA + es-translated es/api-references/builder/endpoints/list-audiences", + "es-translated es/api-references/builder/endpoints/list-contract-sources", + "MOCKDATA + es-translated es/api-references/builder/endpoints/list-contracts", + "es-translated es/api-references/builder/endpoints/remove-audience-contacts", + "MOCKDATA + es-translated es/api-references/builder/endpoints/update-audience" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated Marketplace", + "pages": [ + "es-translated es/api-references/marketplace/overview", + { + "group": "MOCKDATA + es-translated Endpoints", + "pages": [ + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/checkout-options-marketplace", + "es-translated es/api-references/marketplace/endpoints/checkout-options-sales-contract", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/execute", + "es-translated es/api-references/marketplace/endpoints/generate-buy-transaction", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/generate-listing-transaction", + "es-translated es/api-references/marketplace/endpoints/generate-offer-transaction", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/generate-sell-transaction", + "es-translated es/api-references/marketplace/endpoints/get-collectible-highest-listing", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-collectible-highest-offer", + "es-translated es/api-references/marketplace/endpoints/get-collectible-lowest-listing", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-collectible-lowest-offer", + "es-translated es/api-references/marketplace/endpoints/get-collectible", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-count-of-all-collectibles", + "es-translated es/api-references/marketplace/endpoints/get-count-of-filtered-collectibles", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-floor-order", + "es-translated es/api-references/marketplace/endpoints/get-highest-price-listing-for-collectible", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-highest-price-offer-for-collectible", + "es-translated es/api-references/marketplace/endpoints/get-lowest-price-listing-for-collectible", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/get-lowest-price-offer-for-collectible", + "es-translated es/api-references/marketplace/endpoints/get-orders", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/list-collectible-listings", + "es-translated es/api-references/marketplace/endpoints/list-collectible-offers", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/list-collectibles-with-lowest-listing", + "es-translated es/api-references/marketplace/endpoints/list-collectibles-with-highest-offer", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/list-collectibles", + "es-translated es/api-references/marketplace/endpoints/list-currencies", + "MOCKDATA + es-translated es/api-references/marketplace/endpoints/list-listings-for-collectible", + "es-translated es/api-references/marketplace/endpoints/list-offers-for-collectible" + ] + }, + { + "group": "MOCKDATA + es-translated Ejemplos", + "pages": [ + "MOCKDATA + es-translated es/api-references/marketplace/examples/orderbook-transactions", + "es-translated es/api-references/marketplace/examples/get-top-orders", + "MOCKDATA + es-translated es/api-references/marketplace/examples/get-orderbook", + "es-translated es/api-references/marketplace/examples/get-user-activities" + ] + } + ] + }, + { + "group": "MOCKDATA + es-translated RPC Blockchain", + "pages": [ + "es-translated es/api-references/node-gateway" + ] + } + ] + }, + { + "tab": "es-translated Resources", + "groups": [ + { + "group": "MOCKDATA + es-translated Guías", + "pages": [ + "MOCKDATA + es-translated es/guides/guide-overview", + { + "group": "es-translated Desarrolladores de Juegos", + "pages": [ + "MOCKDATA + es-translated es/guides/webgl-guide", + "es-translated es/guides/jelly-forest-unity-guide", + "MOCKDATA + es-translated es/guides/building-transaction-heavy-games-with-unity", + "es-translated es/guides/unreal-ew-guide", + "MOCKDATA + es-translated es/guides/using-unity-iap-to-sell-nfts", + "es-translated es/guides/unity-primary-sales", + "MOCKDATA + es-translated es/guides/unity-webgl-telegram", + "es-translated es/guides/telegram-integration" + ] + }, + { + "group": "MOCKDATA + es-translated Integraciones Blockchain", + "pages": [ + "MOCKDATA + es-translated es/guides/mint-collectibles-serverless", + "es-translated es/guides/metadata-guide", + "MOCKDATA + es-translated es/guides/treasure-chest-guide", + "es-translated es/guides/typed-on-chain-signatures", + "MOCKDATA + es-translated es/guides/building-relaying-server", + "es-translated es/guides/analytics-guide", + "MOCKDATA + es-translated es/guides/build-embedding-wallet" + ] + }, + { + "group": "es-translated Marketplaces y Ventas Primarias", + "pages": [ + "MOCKDATA + es-translated es/guides/custom-marketplace", + "es-translated es/guides/primary-sales", + "MOCKDATA + es-translated es/guides/primary-drop-sales-erc721" + ] + } + ] + }, + { + "group": "es-translated Plantillas Base", + "pages": [ + "MOCKDATA + es-translated es/guides/template-overview" + ] + } + ] + }, + { + "tab": "es-translated Support", + "groups": [ + { + "group": "es-translated Soporte", + "pages": [ + "MOCKDATA + es-translated es/support", + "es-translated es/support/changelog", + "MOCKDATA + es-translated es/support/restricted-regions", + "es-translated es/support/faq", + "MOCKDATA + es-translated es/support/token-directory", + "es-translated es/support/discord", + "MOCKDATA + es-translated es/support/hiring", + "es-translated es/support/contact-us" + ] + }, + { + "group": "MOCKDATA + es-translated Admin de Sequence Builder", + "pages": [ + "es-translated es/support/builder/project-management", + "MOCKDATA + es-translated es/support/builder/project-settings" + ] + } + ] + } + ] + } + ], + "global": { + "anchors": [ + { + "anchor": "es-translated Interactive Demo", + "href": "MOCKDATA + es-translated https://blueprints.sequence-demos.xyz/", + "icon": "es-translated wrench" + }, + { + "anchor": "MOCKDATA + es-translated Supported Chains", + "href": "es-translated https://status.sequence.info/", + "icon": "MOCKDATA + es-translated heart-pulse" + }, + { + "anchor": "MOCKDATA + es-translated Changelog", + "href": "es-translated https://0xsequence.featurebase.app/changelog", + "icon": "MOCKDATA + es-translated map" + } + ] + } + }, + "redirects": [ + { + "source": "es-translated /404", + "destination": "MOCKDATA + es-translated /404.html" + }, + { + "source": "es-translated /solutions/wallets/link-wallets/overview", + "destination": "MOCKDATA + es-translated /sdk/web/hooks/useWallets" + }, + { + "source": "es-translated /solutions/technical-references/chain-support/", + "destination": "MOCKDATA + es-translated https://status.sequence.info" + }, + { + "source": "es-translated /solutions/technical-references/chain-support", + "destination": "MOCKDATA + es-translated https://status.sequence.info" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/overview", + "destination": "es-translated /sdk/web/overview" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/getting-started", + "destination": "es-translated /sdk/web/getting-started" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/custom-configuration", + "destination": "es-translated /sdk/web/custom-configuration" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/checkout", + "destination": "es-translated /sdk/web/checkout" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/smart-swaps", + "destination": "es-translated /sdk/web/smart-swaps" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/on-ramp", + "destination": "es-translated /sdk/web/on-ramp" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/sequence-kit/custom-connectors", + "destination": "es-translated /sdk/web/custom-connectors" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/authentication", + "destination": "es-translated /sdk/headless-wallet/authentication" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/use-wallets", + "destination": "es-translated /sdk/headless-wallet/use-wallets" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/account-federation", + "destination": "es-translated /sdk/headless-wallet/account-federation" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/manage-sessions", + "destination": "es-translated /sdk/headless-wallet/manage-sessions" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/on-ramp", + "destination": "es-translated /sdk/headless-wallet/on-ramp" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/fee-options", + "destination": "es-translated /sdk/headless-wallet/fee-options" + }, + { + "source": "MOCKDATA + es-translated /solutions/wallets/embedded-wallet/examples/verification", + "destination": "MOCKDATA + es-translated /sdk/headless-wallet/verification" + }, + { + "source": "es-translated /solutions/wallets/embedded-wallet/examples/transaction-receipts", + "destination": "MOCKDATA + es-translated /sdk/headless-wallet/transaction-receipts" + }, + { + "source": "es-translated /solutions/builder/embedded-wallet", + "destination": "MOCKDATA + es-translated /solutions/builder/embedded-wallet/configuration" + }, + { + "source": "es-translated /solutions/builder/overview", + "destination": "MOCKDATA + es-translated /solutions/getting-started" + } + ], + "theme": "es-translated mint" +} diff --git a/es/essentials/code.mdx b/es/essentials/code.mdx new file mode 100644 index 00000000..5b50f874 --- /dev/null +++ b/es/essentials/code.mdx @@ -0,0 +1,35 @@ +--- +title: Bloques de código +description: Mostrar código en línea y bloques de código +icon: code +--- + +## Básico + +### Código en línea +Para indicar que una `palabra` o `frase` es código, encierre el texto entre acentos graves (\`). + +``` +To denote a `word` or `phrase` as code, enclose it in backticks (`). +``` + +### Bloque de código +Use [bloques de código delimitados](https://www.markdownguide.org/extended-syntax/#fenced-code-blocks) encerrando el código entre tres acentos graves y, después de los acentos iniciales, escriba el lenguaje de programación de su fragmento para obtener resaltado de sintaxis. Opcionalmente, también puede escribir el nombre de su código después del lenguaje de programación. + +```java HelloWorld.java +class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` + +````md +```java HelloWorld.java +class HelloWorld { + public static void main(String[] args) { + System.out.println("Hello, World!"); + } +} +``` +```` \ No newline at end of file diff --git a/es/essentials/markdown.mdx b/es/essentials/markdown.mdx new file mode 100644 index 00000000..2004ca99 --- /dev/null +++ b/es/essentials/markdown.mdx @@ -0,0 +1,79 @@ +--- +title: Sintaxis Markdown +description: Texto, títulos y estilos en markdown estándar +icon: text-size +--- + +## Títulos +Se recomienda para encabezados de sección. + +```md +## Titles +``` + +### Subtítulos +Se recomienda para encabezados de subsección. + +```md +### Subtitles +``` + + + Cada **título** y **subtítulo** crea un ancla y también aparece en la tabla de contenidos a la derecha. + + +## Formato de texto +Admitimos la mayoría del formato markdown. Simplemente agregue `**`, `_` o `~` alrededor del texto para darle formato. + +| Estilo | Cómo escribirlo | Resultado | +| ------- | --------------- | ----------- | +| Negrita | `**negrita**` | **negrita** | +| Cursiva | `_cursiva_` | _cursiva_ | +| Tachado | `~tachado~` | ~~tachado~~ | + +Puede combinar estos estilos. Por ejemplo, escriba `**_negrita y cursiva_**` para obtener un texto **_negrita y cursiva_**. + +Debe usar HTML para escribir texto en superíndice o subíndice. Es decir, agregue `` o `` alrededor de su texto. + +| Tamaño de texto | Cómo escribirlo | Resultado | +| --------------- | ------------------------ | ---------------------- | +| Superíndice | `superíndice` | superíndice | +| Subíndice | `subíndice` | subíndice | + +## Enlazar a páginas +Puede agregar un enlace colocando el texto entre `[]()`. Por ejemplo, escribiría `[enlace a google](https://google.com)` para [enlace a google](https://google.com). + +Los enlaces a páginas dentro de su documentación deben ser relativos a la raíz. Básicamente, debe incluir toda la ruta de la carpeta. Por ejemplo, `[enlace a texto](/writing-content/text)` enlaza a la página "Text" en nuestra sección de componentes. + +Los enlaces relativos como `[enlace a texto](../text)` abrirán más lento porque no podemos optimizarlos tan fácilmente. + +## Citas en bloque + +### Una sola línea +Para crear una cita en bloque, agregue un `>` al inicio de un párrafo. + +> Dorothy la siguió por muchas de las hermosas habitaciones de su castillo. + +```md +> Dorothy followed her through many of the beautiful rooms in her castle. +``` + +### Varias líneas +> Dorothy la siguió por muchas de las hermosas habitaciones de su castillo. +> +> La Bruja le pidió que limpiara las ollas y calderos, barriera el piso y mantuviera el fuego alimentado con leña. + +```md +> Dorothy followed her through many of the beautiful rooms in her castle. +> +> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood. +``` + +### LaTeX +Mintlify admite [LaTeX](https://www.latex-project.org) a través del componente Latex. + +8 x (vk x H1 - H2) = (0,1) + +```md +8 x (vk x H1 - H2) = (0,1) +``` \ No newline at end of file diff --git a/es/essentials/navigation.mdx b/es/essentials/navigation.mdx new file mode 100644 index 00000000..4556e12f --- /dev/null +++ b/es/essentials/navigation.mdx @@ -0,0 +1,80 @@ +--- +title: Navegación +description: El campo de navegación en docs.json define las páginas que aparecen en el menú de navegación +icon: map +--- + +El menú de navegación es la lista de enlaces en cada sitio web. + +Probablemente actualizará `docs.json` cada vez que agregue una nueva página. Las páginas no aparecen automáticamente. + +## Sintaxis de navegación +Nuestra sintaxis de navegación es recursiva, lo que significa que puede crear grupos de navegación anidados. No necesita incluir `.mdx` en los nombres de las páginas. + + + ```json Regular Navigation + "navigation": { + "tabs": [ + { + "tab": "Docs", + "groups": [ + { + "group": "Getting Started", + "pages": ["quickstart"] + } + ] + } + ] + } + ``` + + ```json Nested Navigation + "navigation": { + "tabs": [ + { + "tab": "Docs", + "groups": [ + { + "group": "Getting Started", + "pages": [ + "quickstart", + { + "group": "Nested Reference Pages", + "pages": ["nested-reference-page"] + } + ] + } + ] + } + ] + } + ``` + + +## Carpetas +Simplemente coloque sus archivos MDX en carpetas y actualice las rutas en `docs.json`. + +Por ejemplo, para tener una página en `https://yoursite.com/your-folder/your-page` debe crear una carpeta llamada `your-folder` que contenga un archivo MDX llamado `your-page.mdx`. + + + No puede usar `api` como nombre de una carpeta a menos que la anide dentro de otra carpeta. Mintlify utiliza Next.js, que reserva la carpeta `api` de nivel superior para llamadas internas del servidor. Un nombre de carpeta como `api-reference` sí sería aceptado. + + +```json Navigation With Folder +"navigation": { + "tabs": [ + { + "tab": "Docs", + "groups": [ + { + "group": "Group Name", + "pages": ["your-folder/your-page"] + } + ] + } + ] +} +``` + +## Páginas ocultas +Los archivos MDX que no estén incluidos en `docs.json` no aparecerán en la barra lateral, pero serán accesibles mediante la barra de búsqueda o enlazando directamente a ellos. \ No newline at end of file diff --git a/es/essentials/reusable-snippets.mdx b/es/essentials/reusable-snippets.mdx new file mode 100644 index 00000000..66c3b57e --- /dev/null +++ b/es/essentials/reusable-snippets.mdx @@ -0,0 +1,109 @@ +--- +title: Fragmentos reutilizables +description: Fragmentos personalizados y reutilizables para mantener el contenido sincronizado +icon: recycle +--- + +import SnippetIntro from '/snippets/snippet-intro.mdx'; + + + +## Crear un fragmento personalizado +**Precondición**: Debe crear su archivo de fragmento en el directorio `snippets`. + + + Cualquier página en el directorio `snippets` será tratada como un fragmento y no + se mostrará como una página independiente. Si desea crear una página independiente + a partir del fragmento, impórtelo en otro archivo y utilícelo como un + componente. + + +### Exportación por defecto + +1. Agregue contenido a su archivo de fragmento que quiera reutilizar en múltiples + lugares. Opcionalmente, puede agregar variables que se pueden completar mediante props + cuando importe el fragmento. + +```mdx snippets/my-snippet.mdx +Hello world! This is my content I want to reuse across pages. My keyword of the +day is {word}. +``` + + + El contenido que desee reutilizar debe estar dentro del directorio `snippets` para + que la importación funcione. + + +2. Importe el fragmento en su archivo de destino. + +```mdx destination-file.mdx +--- +title: My title +description: My Description +--- + +import MySnippet from '/snippets/path/to/my-snippet.mdx'; + +## Header + +Lorem impsum dolor sit amet. + + +``` + +### Variables reutilizables + +1. Exporte una variable desde su archivo de fragmento: + +```mdx snippets/path/to/custom-variables.mdx +export const myName = 'my name'; + +export const myObject = { fruit: 'strawberries' }; +``` + +2. Importe el fragmento desde su archivo de destino y utilice la variable: + +```mdx destination-file.mdx +--- +title: My title +description: My Description +--- + +import { myName, myObject } from '/snippets/path/to/custom-variables.mdx'; + +Hello, my name is {myName} and I like {myObject.fruit}. +``` + +### Componentes reutilizables + +1. Dentro de su archivo de fragmento, cree un componente que reciba props exportando + su componente como una función flecha. + +```mdx snippets/custom-component.mdx +export const MyComponent = ({ title }) => ( +
+

{title}

+

... snippet content ...

+
+); +``` + + + MDX no se compila dentro del cuerpo de una función flecha. Use sintaxis HTML + cuando sea posible o utilice una exportación por defecto si necesita usar MDX. + + +2. Importe el fragmento en su archivo de destino y pase los props + +```mdx destination-file.mdx +--- +title: My title +description: My Description +--- + +import { MyComponent } from '/snippets/custom-component.mdx'; + +Lorem ipsum dolor sit amet. + + +``` \ No newline at end of file diff --git a/es/frenglish.config.json b/es/frenglish.config.json new file mode 100644 index 00000000..f158c2df --- /dev/null +++ b/es/frenglish.config.json @@ -0,0 +1,30 @@ +{ + "EXCLUDED_TRANSLATION_PATH": [ + "es-translated docs.json", + "MOCKDATA + es-translated frenglish.config.json", + "es-translated package.json", + "MOCKDATA + es-translated pnpm-lock.yaml", + "es-translated scripts", + "es-translated .github", + "MOCKDATA + es-translated node_modules" + ], + "TRANSLATION_OUTPUT_PATH": "es-translated .", + "TRANSLATION_PATH": "MOCKDATA + es-translated translate", + "autoMergeToBaseBranch": "es-translated false", + "createdAt": "es-translated 2025-04-26T13:27:27.234Z", + "excludedTranslationBlocks": null, + "id": "MOCKDATA + es-translated 2", + "keyFilters": null, + "knowledgeBaseFiles": null, + "languageSelector": null, + "languages": [ + "MOCKDATA + es-translated es", + "MOCKDATA + es-translated ja" + ], + "lastModifiedAt": "MOCKDATA + es-translated 2025-04-27T14:23:54.141Z", + "oneTimeTranslation": "es-translated false", + "originLanguage": "MOCKDATA + es-translated en", + "projectID": "MOCKDATA + es-translated 2", + "rules": null, + "rulesPerLanguage": null +} diff --git a/es/guides/analytics-guide.mdx b/es/guides/analytics-guide.mdx new file mode 100644 index 00000000..f9c493e9 --- /dev/null +++ b/es/guides/analytics-guide.mdx @@ -0,0 +1,363 @@ +--- +title: API de Sequence Analytics en Dune +description: Aprenda cómo usar la función de analíticas de Sequence Builder para consultar datos de usuarios del proyecto con un Cloudflare Worker sin servidor. +sidebarTitle: Aproveche la API de Sequence Analytics en Dune +--- + +Tiempo para completar: 20-30 minutos + +En esta guía, mostraremos cómo utilizar la función de analíticas de [Sequence Builder](https://sequence.build/) para consultar información sobre el uso de los usuarios en el proyecto específico, aprovechando un [Cloudflare Worker](https://www.cloudflare.com/) sin servidor. + +Muestre a la comunidad el rendimiento del proyecto mediante un panel de [Dune](https://dune.com/) para mostrar la conectividad, o utilice la API generada para incorporar bucles de retroalimentación inteligente en su juego impulsados por analíticas de usuario. + +Puede ver un ejemplo del resultado de esta guía [aquí](https://dune.com/mmhorizon/dungeon-minter-analytics) +1. Gestión de claves de acceso: Solicite una clave de acceso secreta para interactuar con el stack de Sequence +2. Cloudflare Worker: Cree una función que consulte el stack de Sequence y genere puntos de datos específicos del proyecto +3. Panel de Dune: Cree una vista de los datos como un panel que se puede compartir + + + Puede encontrar una referencia al código de plantilla + [aquí](https://github.com/0xsequence-demos/template-cloudflare-worker-wallets-analytics) + + +## 1. Gestión de claves de acceso +Necesitará obtener una clave de acceso secreta para el proyecto con el fin de autenticar la aplicación con el stack de Sequence. Siga estos pasos: + +### Creación de clave de acceso secreta + + + + Primero, acceda a la configuración y seleccione la tarjeta de API Keys: + + + ![builder settings access keys](/images/builder/builder_settings_access_keys.png) + + + + + Desplácese hacia abajo y seleccione `+ Add Service Account`: + + + ![builder settings add service account](/images/builder/builder_settings_add_service_account.png) + + + + + Luego cambie el permiso a `Write`, haga clic en `+ Add Service Account` y seleccione `Confirm`: + + + ![builder settings add service account](/images/builder/builder_settings_add_service_account_confirm.png) + + + Finalmente, `copie` la clave y guárdela en un lugar seguro, ya que no podrá acceder a ella nuevamente desde Sequence Builder. + + + +## 2. Cloudflare Worker +En este ejemplo, utilizamos un Cloudflare Worker para aprovechar el escalado automático según el uso del panel y despliegues sencillos desde la CLI, pero por supuesto puede usar su propio backend u otras alternativas sin servidor. + + + + Para crear el proyecto desde cero, primero cree una carpeta con `mkdir`, ingrese a la carpeta con `cd` y ejecute `pnpm init` para crear un `package.json`. + + + + Asegúrese de tener instalado el CLI de wrangler en su proyecto y defina la palabra clave `wrangler` como un alias en su sesión local de bash. + + ```shell + pnpm install wrangler --save-dev + alias wrangler='./node_modules/.bin/wrangler' + ``` + + Cree una cuenta en el [sitio de Cloudflare](https://cloudflare.com/) e inicie sesión en su panel de Cloudflare para conectar la plataforma Cloudflare con su entorno de desarrollo local. + + ```shell + wrangler login + ``` + + Una vez que haya iniciado sesión, inicialice el proyecto en el directorio con el comando `wrangler init` y acepte uno de los nombres de carpeta generados aleatoriamente que prefiera, siguiendo las indicaciones para inicializar su aplicación `"Hello World" Worker` con seguimiento en git y TypeScript. + + ```shell + wrangler init + ``` + + Para completar este paso, presione enter 4 veces después de `wrangler init`, respondiendo `No` en los últimos 2 pasos para rechazar el versionado con git y el despliegue. + + Esto clonará un repositorio inicial que puede usar para desplegar código en la nube. + + + Pruebas locales de la API
+ En cualquier momento de la guía, puede usar el comando `wrangler dev` en la carpeta del proyecto para + realizar pruebas locales +
+ + #### Despliegue de prueba + + Finalmente, cambie al directorio del proyecto generado aleatoriamente usando `cd` y ejecute el comando `wrangler deploy`. + + Esto debería mostrar una URL, que puede ingresar en el navegador como `https://..workers.dev` para ver el resultado `Hello World!`. +
+ + + Una vez que tenga el proyecto listo, actualice su `wrangler.toml` con las siguientes variables, donde `DAYS` es el periodo de tiempo que desea consultar: + + ```shell + [vars] + SECRET_API_ACCESS_KEY = "" + PROJECT_ID = + DAYS = + ``` + + Luego incluya el tipo `Env` con las variables en `index.ts`: + + ```ts + export interface Env { + PROJECT_ID: number; + SECRET_API_ACCESS_KEY: string; + DAYS: number; + } + ``` + + Reemplace la función `fetch` existente con las siguientes llamadas a funciones simuladas: + + ```ts + export default { + async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise { + const url = new URL(request.url); + + // Handle different endpoints + if (url.pathname === "/dailyActiveUsers") { + return handleDailyWallets(env, request); + } else if (url.pathname === "/totalTransactionsSent") { + return handleTotalTxns(env, request); + } else { + return new Response("No function for this URL", {status: 405}); + } + } + }; + ``` + + Utilizando las siguientes funciones: + + ```ts + const handleDailyWallets = async (env: Env, request: Request) => { + return new Response(JSON.stringify({endpoint: "daily"}), {status: 200}); + }; + + const handleTotalTxns = async (env: Env, request: Request) => { + return new Response(JSON.stringify({endpoint: "total"}), {status: 200}); + }; + ``` + + + + A continuación, incluya las siguientes funciones utilitarias para analizar la fecha correcta a partir del valor actualizado en el `wrangler.toml` para la variable `DAYS`: + + ```ts + const endDate = () => { + const today = new Date(); + return today.toISOString().substring(0, 10); // only including the YYYY-MM-DD date + }; + + const startDate = (env: Env) => { + const today = new Date(); + + // Format today's date as a string + const daysBefore = new Date(today); + daysBefore.setDate(daysBefore.getDate() - env.DAYS); + + // Format the date 7 days before as a string by only including the YYYY-MM-DD date + const daysBeforeString = daysBefore.toISOString().substring(0, 10); + return daysBeforeString; + }; + ``` + + + + Ahora, gestione la solicitud de `Daily Active Users` usando la siguiente función, que llama a la API de Sequence Analytics: + + ```ts + const handleDailyWallets = async (env: Env, request: Request) => { + const resp = await fetch(`https://api.sequence.build/rpc/Analytics/WalletsDaily`, { + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: `Bearer ${env.SECRET_API_ACCESS_KEY}` + }, + body: JSON.stringify({ + filter: { + dateInterval: "DAY", + endDate: endDate(), + projectId: env.PROJECT_ID, + startDate: startDate(env) + } + }) + }); + + const data: any = await resp.json(); + return new Response(JSON.stringify(data.walletStats), {status: 200}); + }; + ``` + + + + Por último, agregue la siguiente función para el `Total Transactions Sent`: + + ```ts + const handleTotalTxns = async (env: Env, request: Request) => { + const resp = await fetch( + `https://api.sequence.build/rpc/Analytics/WalletsTxnSentTotal`, + { + method: "POST", + headers: { + "Content-Type": "application/json", + Authorization: `Bearer ${env.SECRET_API_ACCESS_KEY}` + }, + body: JSON.stringify({ + filter: { + dateInterval: "DAY", + endDate: endDate(), + projectId: env.PROJECT_ID, + startDate: startDate(env) + } + }) + } + ); + + const data: any = await resp.json(); + return new Response(JSON.stringify(data.walletStats), {status: 200}); + }; + ``` + + + + En la API de Sequence Analytics, los días sin actividad se eliminan de la respuesta. Sin embargo, si desea incluir días sin datos en sus consultas de Dune para mostrar el espaciado temporal en relación con los datos, puede usar la siguiente función para completar los días que no muestran datos en el formato de fecha correcto: + + ```typescript + const fillMissingDates = (data: any[], startDate: string, endDate: string) => { + const filledData: {value: number; label: string}[] = []; + const start = new Date(startDate); + const end = new Date(endDate); + + for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) { + const dateString = d.toISOString().substring(0, 10); + const existingData = data.find((entry) => entry.label === dateString); + if (existingData) { + filledData.push(existingData); + } else { + filledData.push({value: 0, label: dateString}); + } + } + + return filledData; + }; + ``` + + Luego, para **ambas** respuestas de llamada, incluya la siguiente llamada de método pasando los datos de `walletStats`: + + ```typescript + ... + const data: any = await resp.json(); + const filledData = fillMissingDates(data.walletStats, startDate(env), endDate()); + return new Response(JSON.stringify(filledData), { status: 200 }); + } + ``` + +
+ +Ahora puede probar su API llamando a las rutas correspondientes con el nombre del host (`/dailyActiveUsers` y `/totalTransactionsSent`) una vez que haya vuelto a desplegar con `wrangler deploy`. + + + Para más ejemplos de endpoints disponibles a través de la API de Analytics, consulte la página de + [descripción general](/api-references/analytics/overview). + + +## 3. Panel de Dune + + + + Primero, regístrese en [Dune](https://dune.com/) + + + + Acceda a su cuenta en `https://dune.com/` y seleccione el botón `Create` y luego `New query`. + + + ![dune create query](/images/guides/analytics/dune_create_query.png) + + + + + Ingrese la siguiente consulta SQL en la consola y seleccione `Run`: + + ```sql + SELECT + t.label as "Date", -- converting the label to "Date" + t.value as "Count" -- converting the value field to "Count" + FROM UNNEST( + TRY_CAST( + JSON_PARSE(HTTP_GET('https:///dailyActiveUsers')) AS ARRAY(ROW(label VARCHAR, value DOUBLE)) + ) + ) AS t(label, value) + + ``` + + Una vez que se muestren los resultados, cree una `New visualization`. + + Luego, seleccione `Add visualization` después de que el `Bar chart` predeterminado esté seleccionado en el menú desplegable (aunque puede personalizarlo si lo desea). + + + ![add visualization](/images/guides/analytics/dune_add_visualization.png) + + + Finalmente, haga clic en `Save` y asigne un nombre a su consulta. + + + ![save query](/images/guides/analytics/dune_query_save.png) + + + + + Repita los pasos del [paso anterior](/guides/analytics-guide#create-query) y utilice la siguiente consulta SQL: + + ```sql + SELECT + t.label, + t.value + FROM UNNEST( + TRY_CAST( + JSON_PARSE(HTTP_GET('https:///totalTransactionsSent')) AS ARRAY(ROW(label VARCHAR, value DOUBLE)) + ) + ) AS t(label, value) + + ``` + + Una vez que se muestren los resultados, cree una `New visualization`. + + Luego, seleccione `Add visualization` y desplácese hacia abajo hasta `Counter` para crear un widget contador que muestre el total absoluto devuelto por la API. + + + + Acceda a los botones que dicen `Create` > `New dashboard` e ingrese un nombre para el nuevo panel. + + + ![dune create dashboard](/images/guides/analytics/dune_create_dashboard.png) + + + Una vez creado, agregue las 2 consultas anteriores seleccionando `Edit` y `Add visualization`. + + + ![dune edit dashboard](/images/guides/analytics/dune_edit_dashboard.png) + + + + ![dune add visualization from dashboard](/images/guides/analytics/dune_add_visualization_from_dashboard.png) + + + Para cada consulta, busque el nombre en el modal y seleccione `Add` para cada una, luego `Done` en el modal y `Done` en el panel. + + + +¡Felicidades! Ahora puedes compartir el uso de datos de tu proyecto con tu equipo o comunidad. Finaliza haciendo clic en el botón `Share`. + +![dune share dashboard](/images/guides/analytics/dune_share_dashboard.png) \ No newline at end of file diff --git a/es/guides/build-embedding-wallet.mdx b/es/guides/build-embedding-wallet.mdx new file mode 100644 index 00000000..0e852573 --- /dev/null +++ b/es/guides/build-embedding-wallet.mdx @@ -0,0 +1,4 @@ +--- +sidebarTitle: Crea un servicio de vinculación de Embedded Wallet +url: /solutions/wallets/link-wallets/integration-guide +--- \ No newline at end of file diff --git a/es/guides/building-relaying-server.mdx b/es/guides/building-relaying-server.mdx new file mode 100644 index 00000000..6eb09848 --- /dev/null +++ b/es/guides/building-relaying-server.mdx @@ -0,0 +1,302 @@ +--- +title: Cómo construir un servidor de retransmisión de transacciones +description: Aprenda cómo construir un servidor de retransmisión de transacciones con Sequence, permitiendo que su servidor envíe transacciones en nombre de los usuarios de manera fluida. +sidebarTitle: Cree un servicio de transacciones backend +--- + +Con Sequence, puedes crear un smart contract wallet que tu servidor puede usar para enviar transacciones para tus usuarios +sin tener que preocuparte por la velocidad de las transacciones, el rendimiento o los reorgs. + +La única diferencia respecto al uso de un wallet Sequence típico al enviar transacciones a la blockchain, es que a nivel de smart contract el `msg.sender` es una de las direcciones de wallet de Sequence Relayers. Para los contratos estándar de Sequence Builder, esto no es un problema cuando se combina con una solicitud a la Transactions API de relayed transactions. + + + Por defecto, las transacciones de Sequence se ejecutan de forma secuencial. + + +Los siguientes pasos te guiarán para crear tu servidor y mintear coleccionables a una dirección de wallet: +1. Configuración del entorno con Express Server: Cree un servidor basado en NodeJs usando la librería Express para aceptar solicitudes HTTP +2. Gestión de proyecto y clave de acceso: Solicite una clave de acceso pública para interactuar con el stack de Sequence +3. Despliegue del contrato de coleccionables: Despliegue un contrato de coleccionables para poder enviar transacciones a la blockchain y mintear tokens a una dirección de wallet +4. Construcción de un relayer patrocinado con la Transactions API: Cree una función para usar en una ruta de Express que llame a la Transactions API de Sequence desde un contrato patrocinado + +Funciones adicionales: +- (Opcional) Retransmisión con moneda propia de la wallet: Crea una función para usar en una ruta de Express que llame a la Transactions API de Sequence y pague usando una moneda que posee la wallet +- (Opcional) Retransmisión de transacciones en paralelo: Realiza agrupación de transacciones para enviar una moneda + + + + Asegúrate de tener instalado `pnpm` (u otro gestor de paquetes de Node) con el siguiente comando: + + ```shell + curl -fsSL https://get.pnpm.io/install.sh | sh - + ``` + + Luego, clone el [siguiente código de plantilla de express](https://github.com/0xsequence-demos/template-node-transactions-backend/tree/template-starter) + + + Express es un framework minimalista y flexible para aplicaciones web en Node.js que ofrece un conjunto robusto de funciones para aplicaciones web y móviles, y será utilizado en esta guía. + + + Una vez que el código esté en su máquina local, ejecute su servidor y cliente con el siguiente comando: + + ```shell + pnpm run start + ``` + + Dentro del código hay una ruta llamada `/mint` que puede llamarse desde la CLI para pruebas. + + Pruebe con este ejemplo de solicitud curl: + + ```shell + curl -X POST http://localhost:3000/mint -d '{"tokenID": 0, "address": "0x"}' + ``` + + Debería ver la siguiente salida: + + ```shell + {"txHash":"0x"} + ``` + + + + Primero, siga [esta guía](/support/builder/project-management) para aprender cómo registrarse en [Sequence Builder](https://sequence.build/) y cómo crear un proyecto. + + Luego, para usar la Transactions API, deberá actualizar su facturación a `Developer`, lo cual puede hacer siguiendo [esta guía](/support/builder/project-settings#5-billing-settings). + + Finalmente, se requiere una `Public Access Key` para la Transactions API, que puede obtener siguiendo [esta guía](/solutions/builder/getting-started#claim-an-api-access-key). + + Por último, actualice el archivo `.env.example` a `.env` con lo siguiente: + + ```shell + CHAIN_HANDLE='' # e.g. `mainnet`, `xr-sepolia`, etc. + PROJECT_ACCESS_KEY='' + ``` + + + + Siga [esta guía](/solutions/collectibles/contracts/deploy-an-item-collection) para desplegar un contrato de coleccionables. + + + Si está usando una red que no es testnet y necesita patrocinar su contrato, puede hacerlo siguiendo [esta guía]() + + + Finalmente, actualice el archivo `.env` con su contrato de coleccionables desplegado: + + ```shell + ... + COLLECTIBLE_CONTRACT_ADDRESS="
" + ``` + + ## Construya un relayer patrocinado con la Transactions API + + + El código completo para esta sección se encuentra [aquí](https://github.com/0xsequence-demos/template-node-transactions-backend) + + + Primero, usando el código de plantilla proporcionado en el paso #1, necesitaremos agregar algunos paquetes + + ```typescript + import { Session } from '@0xsequence/auth' + import { findSupportedNetwork, NetworkConfig } from '@0xsequence/network' + ``` + + Luego, su servidor necesitará una wallet EOA que pueda firmar mensajes. Será la propietaria de su wallet Sequence del lado del servidor, la cual se usará para enviar transacciones. + + + Abrir una sesión puede desencadenar una migración de su wallet Sequence a una nueva versión, esto podría ser de `v1` a `v2` o de `v2` a versiones futuras. + + La migración es un proceso irreversible; una vez que su wallet es migrada, no puede volver a una versión anterior. + + Para detectar cualquier migración no deseada, puede usar el callback `onMigration`. + + + Para implementar la función `callContract`, incluya el siguiente código que utiliza un único firmante para retransmitir transacciones: + + ```typescript + const callContract = async (address: string, tokenID: number): Promise => { + + const chainConfig: NetworkConfig = findSupportedNetwork(process.env.CHAIN_HANDLE!)! + const provider = new ethers.providers.StaticJsonRpcProvider({ + url: chainConfig.rpcUrl + }) + + const walletEOA = new ethers.Wallet(process.env.PKEY!, provider); + const relayerUrl = `https://${chainConfig.name}-relayer.sequence.app` + + // Create a single signer sequence wallet session + const session = await Session.singleSigner({ + signer: walletEOA, + projectAccessKey: process.env.PROJECT_ACCESS_KEY! + }) + + const signer = session.account.getSigner(chainConfig.chainId) + + // Standard interface for ERC1155 contract deployed via Sequence Builder + const collectibleInterface = new ethers.Interface([ + 'function mint(address to, uint256 tokenId, uint256 amount, bytes data)' + ]) + + const data = collectibleInterface.encodeFunctionData( + 'mint', [`${address}`, `${tokenID}`, "1", "0x00"] + ) + + const txn = { + to: process.env.COLLECTIBLE_CONTRACT_ADDRESS, + data: data + } + + try { + return await signer.sendTransaction(txn) + } catch (err) { + console.error(`ERROR: ${err}`) + throw err + } + } + ``` + + Por último, actualice el archivo `.env` con una clave privada para una wallet que puede generarse desde [esta aplicación](https://sequence-ethauthproof-viewer.vercel.app/) (solo para fines de demostración). Para producción, recomendamos generar claves privadas de forma segura y local en su computadora usando [este script de ejemplo](https://github.com/0xsequence-demos/script-generate-evm-private-key). + + Luego, actualice la variable `PKEY` con la clave: + + ```shell + ... + PKEY='' + ``` + + ### Otorgar el rol MINTER\_ROLE a la dirección de la wallet relayer + + Debe actualizar el acceso por roles del contrato en el Builder para que solo reciba solicitudes desde la dirección de la wallet minter. + + Puede hacer esto en Sequence Builder otorgando el `minter permission` a su `Sequence Wallet Transactions API Address`. + + Para hacerlo, abra su proyecto, navegue a la página de `Contracts`, seleccione sus `Linked contracts` y, en la pestaña `Write Contract`, expanda el método `grantRole`. + + Complete con los siguientes datos: + + `bytes32 role`: `0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6` + + `address account`: `` + + + Otorgue un rol al relayer + + + Donde el valor de `role` ingresado es el resultado de `keccak256("MINTER_ROLE")` en solidity o `ethers.solidityPackedKeccak256(ethers.toUtf8Bytes("MINTER_ROLE"))` en javascript + + Esto hace que solo su dirección específica pueda mintear desde el contrato; de lo contrario, dará error. + + Complete la actualización del rol haciendo clic en `write` y firme la transacción patrocinada. + + Su aplicación ya está lista para que envíe una transacción de prueba desde el frontend del cliente iniciando sesión en su wallet y haciendo clic en mintear. + + ¡Pruébelo! + + + No olvide actualizar la clave de acceso en el cliente en la función `initWallet` + + + + +## (Opcional) Relevo con moneda propia de la wallet +También puede forzar una forma específica de pagar las tarifas de gas: + +```ts +import { Session } from '@0xsequence/auth' +import { ethers } from 'ethers' + +// where the corresponds to https://docs.sequence.xyzhttps://status.sequence.info/ +const provider = new ethers.providers.JsonRpcProvider('https://nodes.sequence.app/'); + +// Create your server EOA +const walletEOA = new ethers.Wallet(serverPrivateKey, provider) + +// Open a Sequence session, this will find or create +// a Sequence wallet controlled by your server EOA +const session = await Session.singleSigner({ + signer: walletEOA, + projectAccessKey: '' + // OPTIONAL: Multiple wallets could be found for the same EOA + // to enforce a specific wallet you can use the following callback + selectWallet: async (wallets: string[]) => { + const found = wallets.find(w => w === EXPECTED_WALLET_ADDRESS) + if (!found) throw Error('wallet not found') + // Returning the wallet address will make the session use it + // returning undefined will make the session create a new wallet + return found + } +}) + +const signer = session.account.getSigner(137, { + // OPTIONAL: You can also enforce a specific way to pay for gas fees + // if not provided the sdk will select one for you + selectFee: async ( + _txs: any, + options: FeeOption[] + ) => { + // Find the option to pay with native tokens + const found = options.find(o => !o.token.contractAddress) + if (!found) throw Error('fee option not found') + return found + } +}) + +// Initialize the contract +const usdc = new ethers.Contract( + '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', // USDC on Polygon + ERC_20_ABI, + signer +) + +// Send the transaction +const txnResponse = await usdc.transfer(recipient, 1) + +// Check if transaction was successful +if (txnReceipt.status != 1) { + console.log(`Unexpected status: ${txnReceipt.status}`) +} +``` + +## (Opcional) Relevo de transacciones en paralelo +Si desea enviar múltiples transacciones independientes sin necesidad de agruparlas, también puede enviarlas en espacios de nonce distintos. + +Usar espacios de nonce distintos para sus transacciones le indica a la Transactions API que no hay dependencia entre ellas y que pueden ejecutarse en la blockchain en cualquier orden. + +Esto permite que las transacciones se envíen de inmediato, sin búfer, sin tener que esperar a un lote completo. + +Aquí hay un ejemplo de cómo hacerlo: + +```js +// Generate random nonce spaces with ~0% probability of collision +const randomNonceSpace1 = ethers.BigNumber.from( + ethers.hexlify(ethers.randomBytes(20)) +); +const randomNonceSpace2 = ethers.BigNumber.from( + ethers.hexlify(ethers.randomBytes(20)) +); + +// Create signers for each nonce space +const signer1 = session.account.getSigner(137, { + nonceSpace: randomNonceSpace1, +}); + +const signer2 = session.account.getSigner(137, { + nonceSpace: randomNonceSpace2, +}); + +// Generate transactions +const txn1 = { + to: tokenContract.address, + data: erc20Interface.encodeFunctionData("transfer", [recipient1, amount1]), +}; + +const txn2 = { + to: tokenContract.address, + data: erc20Interface.encodeFunctionData("transfer", [recipient2, amount2]), +}; + +// Dispatch transactions, which can now be executed in parallel +await Promise.all([ + signer1.sendTransaction(txn1), + signer2.sendTransaction(txn2), +]); +``` \ No newline at end of file diff --git a/es/guides/building-transaction-heavy-games-with-unity.mdx b/es/guides/building-transaction-heavy-games-with-unity.mdx new file mode 100644 index 00000000..5899d1d5 --- /dev/null +++ b/es/guides/building-transaction-heavy-games-with-unity.mdx @@ -0,0 +1,48 @@ +--- +title: Creando juegos con muchas transacciones en Unity +description: Algunos juegos guardan el estado del juego con frecuencia. Cuando se trabaja con blockchain, esto puede ser costoso y generar mucha latencia. Esta guía aborda cómo superar estas limitaciones sin afectar la experiencia del usuario final ni incrementar innecesariamente sus gastos operativos. +sidebarTitle: Creando juegos con muchas transacciones en Unity +--- + +## Introducción +A diferencia de otras formas de bases de datos, cada escritura en una blockchain (transacción) cuesta dinero en forma de [tarifas de gas](https://ethereum.org/en/developers/docs/gas/). Al crear juegos blockchain/web3, se deben considerar las tarifas de gas. Aunque [el patrocinio de gas de Sequence](/solutions/builder/gas-tank) resuelve gran parte de la complejidad para sus usuarios finales, como desarrollador de juegos aún debe tener en cuenta algunos aspectos respecto a las tarifas de gas. + + + Al crear su juego, debe considerar la **_frecuencia_** con la que envía transacciones a la blockchain para mantener los costos de ejecución al mínimo. + + +Una complejidad adicional de trabajar con blockchain, que no existe en todos los sistemas de almacenamiento de datos, es que escribir en la base de datos blockchain (es decir, hacer una transacción) es una operación asíncrona y no instantánea que requiere conexión de red. + + + Las transacciones pueden fallar por varias razones: sin internet, fondos insuficientes, etc. + + +Primero, debe considerar qué propiedades tokenizables (por ejemplo, objetos, potenciadores, desbloqueos, etc.) deberían tokenizarse en la blockchain. + +Luego, piense en los "tipos" de transacciones que su juego realizará. Probablemente pueda agrupar las transacciones en diferentes categorías. Por ejemplo, algunas de estas categorías pueden incluir: recogidas (como recolectar monedas), creación, intercambio, venta, compra, etc. + +Una vez que haya categorizado cada una de sus transacciones, considere las expectativas de sus usuarios finales sobre esas transacciones, así como sus propias expectativas como desarrollador. ¿Cuánta demora es aceptable desde la perspectiva del usuario para que una transacción se procese? ¿Puede asumir que una transacción tendrá éxito para dar retroalimentación instantánea al usuario y, si es así, puede recuperarse en caso de que una transacción falle sin afectar negativamente al jugador o a su negocio? + +El autor de esta guía suele clasificar las transacciones como de alto valor o bajo valor. + +**Las transacciones de alto valor** normalmente requieren confirmación antes de brindar retroalimentación al usuario final. Las transacciones pueden fallar por varias razones (sin internet, gas insuficiente, supuestos inválidos, etc.). Si asumimos que una transacción de alto valor será exitosa y damos retroalimentación inmediata al usuario, pero luego la transacción falla, no podremos recuperarnos sin afectar negativamente al usuario o a nuestro negocio. Considere, por ejemplo, una tienda dentro del juego. Si la transacción de "comprar espada" de un usuario falla, tendríamos que revocar la espada de su cuenta (afectando la experiencia del jugador) o perder el ingreso de la venta (afectando el resultado financiero). Por suerte, la mayoría de las transacciones de alto valor coinciden con actividades donde los usuarios ya están acostumbrados a esperar un poco en juegos tradicionales (no blockchain), como tiendas, creación de objetos, mejoras, etc. + +**Las transacciones de bajo valor** pueden, y a menudo deberían, brindar retroalimentación inmediata al usuario. No es necesario esperar la confirmación de la transacción antes de mostrar la retroalimentación en el juego. Si la transacción falla, normalmente podemos recuperarnos fácilmente sin afectar la experiencia del jugador ni el negocio. Los jugadores suelen estar acostumbrados a recibir retroalimentación instantánea para estas acciones en juegos tradicionales. Por ejemplo: cuando un usuario recoge una moneda en un juego de plataformas (o similar), espera ver reflejada la moneda recolectada en la interfaz de inmediato. Es poco probable que el jugador recuerde el total exacto de monedas en la siguiente sesión y/o es poco probable que esto afecte al desarrollador si almacena localmente las monedas recolectadas y reenvía la transacción cuando se resuelvan los problemas de red (o similar). + +Por último, debe considerar con qué frecuencia su juego realiza transacciones. En algunos juegos, el usuario realiza muchas acciones que afectan el estado del juego en poco tiempo. Imagine enviar una transacción a la blockchain cada vez que Mario recoge una moneda... Los costos se volverían rápidamente prohibitivos, ¡agrupa esas transacciones de bajo valor! + +## ¿Cómo implementar esto con Unity? +Primero, querrá construir un caché local de lo que el usuario tiene en la blockchain. Esto es sencillo de hacer, simplemente [lea desde la blockchain](/sdk/unity/power/read-from-blockchain) y almacene localmente los balances de tokens del usuario en el formato que prefiera. Si está convirtiendo un juego existente o un prototipo que usaba almacenamiento local (como PlayerPrefs) o almacenamiento remoto (como un [RDBMS](https://en.wikipedia.org/wiki/List_of_relational_database_management_systems)), probablemente ya tenga un caché local implementado y solo necesite crear un adaptador. + +Luego, probablemente querrá usar el `TransactionQueuer` y sus herederos que provee el Unity SDK. Los `TransactionQueuer` son altamente configurables y están diseñados para apoyar el desarrollo de juegos donde los jugadores realizan muchas acciones que modifican el estado. Por ejemplo, si su juego implica recolectar muchas monedas (o similar) como transacciones de bajo valor, probablemente quiera usar el `PermissionedMinterTransactionQueuer` (si su función `mint` tiene permisos, que es lo predeterminado, y está minteando desde un servidor) o el `SequenceWalletTransactionQueuer` (si cualquiera puede mintear). Usando estos, puede poner en cola varias transacciones; estas transacciones se combinarán automáticamente si es posible (por ejemplo, en vez de tener 'mint(amount: 5, tokenId: 11)' y 'mint(amount: 3, tokenId: 11)', se combinarían en 'mint(amount: 8, tokenId: 11)'). Luego, puede hacer que sus transacciones se envíen cada x segundos o cuando se realice una llamada a función, pero no antes de cada y segundos (esto se puede modificar para transacciones de alto valor), etc. Para aprender más sobre cómo trabajar con el `TransactionQueuer`, consulte [este documento](/sdk/unity/power/write-to-blockchain#transaction-queuers). + +Por último, debe verificar si sus transacciones fallan y manejar los errores de manera adecuada. + +```csharp +if (transactionReturn is FailedTransactionReturn) { + // Handle the failed transaction +} +``` + +## Ejemplo +Para ver un ejemplo de estos conceptos en acción en nuestro Unity SDK, consulte nuestra [Guía de Jelly Forest](/guides/jelly-forest-unity-guide#5-mint-in-game-tokens-to-the-players-inventory) y [código de ejemplo](https://github.com/0xsequence/sequence-unity-demo/tree/master/Scripts). \ No newline at end of file diff --git a/es/guides/custom-marketplace.mdx b/es/guides/custom-marketplace.mdx new file mode 100644 index 00000000..4b4330f6 --- /dev/null +++ b/es/guides/custom-marketplace.mdx @@ -0,0 +1,733 @@ +--- +title: Transacciones de Orderbook +description: Esta guía cubre la creación de un marketplace personalizado usando herramientas del stack de Sequence. Incluye pasos para mintear tokens, autenticación de wallet, consultas a la blockchain, tipos de wallets múltiples, creación de solicitudes, aceptación de órdenes y la integración opcional de un wallet integrado. +sidebarTitle: Cree un Marketplace Personalizado +--- + +En esta guía repasaremos el proceso de crear un marketplace personalizado usando algunas herramientas simples del stack de Sequence. + +Estas herramientas le permitirán realizar: +1. [Minteo](/guides/custom-marketplace#1-minting): Minteo de tokens a su wallet desde el Sequence Builder +2. [Autenticación de Wallet](/guides/custom-marketplace#2-wallet-authentication): Uso del Web SDK para autenticar a un usuario +3. [Consultas a la Blockchain](/guides/custom-marketplace#3-blockchain-queries): Consultar balances de tokens usando el Indexer +4. [Tipos de Wallets Múltiples](/guides/custom-marketplace#4-multi-wallet-types): Permitir que los usuarios utilicen un Sequence Wallet o un EOA +5. [Creación de Solicitudes](/guides/custom-marketplace#5-request-creation): Crear solicitudes de venta en el Sequence Market Protocol +6. [Aceptación de Órdenes](/guides/custom-marketplace#6-order-accepting): Aceptar las mejores órdenes del Marketplace +7. [(Opcional) Habilitar Wallet Embebido](/guides/custom-marketplace#7-optional-integrate-embedded-wallet-into-sequence-kit): Agregue una experiencia de usuario aún más fluida con transacciones sin confirmación + + + Vea un ejemplo de [dapp de marketplace simplificado](https://simple-marketplace-boilerplate.pages.dev/) que permite a los usuarios mintear coleccionables, venderlos con el Sequence Marketplace Protocol y realizar compras con USDC en `base-sepolia` obteniendo la mejor orden del Marketplace. + + El código se puede encontrar [aquí](https://github.com/0xsequence-demos/simple-marketplace-boilerplate) + + +## 1. Minteo +El primer paso es crear un coleccionable desde el Sequence Builder y mintear algunos tokens, lo cual puede lograrse con esta [guía](/solutions/collectibles/contracts/deploy-an-item-collection) y usar el `tokenId` que minteó en los siguientes pasos para consultar y cumplir órdenes. + +## 2. Autenticación de Wallet +Para su proyecto, necesitará una forma de autenticar a su usuario con un wallet. + +Su opción dentro del stack de Sequence es usar un [Embedded Wallet](/sdk/headless-wallet/quickstart) para una experiencia headless y similar a web2, o un [Ecosystem Wallet](/solutions/wallets/ecosystem/overview) con [Web SDK](/solutions/wallets/overview) para llegar a más tipos de wallets. + +Para esta guía usaremos un `Universal Sequence Wallet` con conector `Web SDK` (con opción de un `Embedded Wallet`), que puede autenticar usuarios usando Google o Apple, además de wallets traídos por el usuario como Coinbase o Metamask. + +### Instalar Paquetes +Puede crear un proyecto vanilla js/html/css desde un [template como este](https://github.com/moskalyk/vanilla-js-sequence-kit-starter) para una configuración rápida, o aquí le mostraremos cómo usar React desde cero. + +Comience creando un proyecto en una carpeta con el nombre que prefiera: + +``` +mkdir +cd +npx create-react-app . --template=typescript +``` + +Luego, instale los paquetes requeridos en la carpeta `` + +``` +pnpm install @0xsequence/kit @0xsequence/kit-connectors wagmi ethers viem 0xsequence @tanstack/react-query +``` + +Después, en `src`, junto a `index.tsx`, cree un archivo `config.ts` con el siguiente contenido: + +```js +import { arbitrumSepolia, Chain } from 'wagmi/chains' +import { getDefaultConnectors } from '@0xsequence/kit-connectors' +import { createConfig, http } from 'wagmi' + +const chains = [arbitrumSepolia] as [Chain, ...Chain[]] + +const projectAccessKey = process.env.REACT_APP_PROJECTACCESSKEY!; +const walletConnectProjectId = process.env.REACT_APP_WALLETCONNECTID!; + +const connectors = getDefaultConnectors( "universal", { + walletConnectProjectId: walletConnectProjectId, + defaultChainId: 421614, + appName: 'demo app', + projectAccessKey +}) + +const transports: any = {} + +chains.forEach(chain => { + transports[chain.id] = http() +}) + +const config = createConfig({ + transports, + connectors, + chains +}) + +export { config } + +``` + + + Asegúrese de incluir un archivo `.env` en la raíz de su proyecto para agregar los secretos de cliente + + +Luego, importe el `config` para que sea consumido por el `WagmiProvider` en el `index.tsx` + +```js +import ReactDOM from "react-dom/client"; +import { KitProvider } from "@0xsequence/kit"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { WagmiProvider } from "wagmi"; +import App from './App' + +import { config } from "./config"; + +const root = ReactDOM.createRoot( + document.getElementById("root") as HTMLElement, +); + +const queryClient = new QueryClient(); + +function Dapp() { + return ( + + + + + + + + ); +} + +root.render( + +); +``` + +Y finalmente, agregue un botón en el `App.tsx` para que aparezca el modal del Web SDK + +```js +import { useOpenConnectModal, useKitWallets } from "@0xsequence/kit"; + +function App() { + const { address } = useAccount(); + const { setOpenConnectModal } = useOpenConnectModal(); + const { + wallets, // Array of connected wallets + linkedWallets, // Array of linked wallets (for embedded wallets) + setActiveWallet, // Function to set a wallet as active + disconnectWallet, // Function to disconnect a wallet + } = useKitWallets(); + + const isConnected = wallets.length; + + const connect = async () => { + setOpenConnectModal(true); + }; + + return ( + <> + {!isConnected && } + {address && address} + + ); +} + +export default App; +``` + +¡Listo! Ahora debería tener una aplicación que puede autorizar a un usuario y devolver una dirección de wallet. + +Ahora puede probarlo con: + +``` +pnpm run start +``` + +## 3. Consultas a la Blockchain +Una vez que tenga uno o varios coleccionables minteados, puede consultar los datos desde la dirección del contrato de su despliegue, que puede encontrar aquí: + + + ![copiar dirección del contrato](/images/marketplace/copy_contract.png) + + +Puede consultar datos usando el indexer, con este código donde una dirección de cuenta y la dirección del contrato (obtenidas del contrato desplegado desde el Sequence Builder) se ingresan en la API del indexer. + +Esto será importante cuando esté determinando un `tokenID` para crear una solicitud en el marketplace; para este demo, asumiremos que está trabajando con un solo `tokenID`. + +```js +// Works in both a Webapp (browser) or Node.js: +import { SequenceIndexer } from "@0xsequence/indexer"; + +const indexer = new SequenceIndexer( + "https://arbitrum-sepolia-indexer.sequence.app", + "" +); + +// try any contract and account address you'd like :), as an example +const contractAddress = " + - `contractType` (string): el tipo de contrato (por ejemplo, ERC20, ERC721 o ERC1155) + - `contractAddress` (string): la dirección del contrato del token + - `accountAddress` (string): la dirección de la cuenta que desplegó el contrato + - `tokenID` (string): el tokenID del token (siempre 0 si es ERC20) + - `balance` (string): el balance del token + - `blockHash` (string): el hash de merkle de la transacción del bloque donde se desplegó el token + - `blockNumber` (number): el número de bloque donde se desplegó el token + - `chainId` (number): el id de la red del token + - `contractType` + - `chainId` (number): el id de la red del token + - `address` (string): la dirección del token + - `name` (string): nombre a nivel de contrato del token + - `type` (string): el tipo de contrato (por ejemplo, ERC20, ERC721 o ERC1155) + - `symbol` (string): el símbolo del token + - `decimals` (number): la cantidad de decimales que tiene el token + - `logoURI` (string): el logo del token mostrado en sequence.app + - `deployed` (boolean): si el token está desplegado + - `bytecodeHash` (string): hash del bytecode de un smart contract desplegado en la blockchain + - `extensions` + - `link` (string): el sitio web asociado para enlazar al proyecto + - `description` (string): la descripción de metadatos del token + - `ogImage` (string): la imagen de banner del token, mostrada en sequence.app + - `originChainId` (number): el id de la red de origen que representa el token + - `originAddress` (string): la dirección del contrato de origen que representa el token + - `verified` (boolean): si el token está verificado y es confiable + - `verifiedBy` (string): la fuente de verificación que indica por qué esto no es spam + - `updatedAt` (date): la última vez que se actualizó el indexador + - `tokenMetadata` + - `tokenId` (string): el tokenID del token (siempre 0 si es ERC20) + - `contractAddress` (string): la dirección del contrato del token + - `name` (string): nombre a nivel de token + - `description` (string): la descripción del token + - `image` (string): la imagen como url del token + - `decimals` (string): la cantidad de decimales del token + - `properties` (object): un objeto que contiene las propiedades de los metadatos del token + - `external_url` (string): una url externa donde encontrar el token o más detalles + - `updatedAt` (date): la última vez que se actualizaron los metadatos del token + + +## 4. Tipos de Multi-wallet +Debido a que en este ejemplo usamos `Web SDK`, que le permite usar una Sequence wallet además de su propia `EOA wallet`, el envío de transacciones a la blockchain será diferente. Con una Sequence wallet puede enviar transacciones en lote para optimizar el costo de gas, mientras que con `wagmi` usando una EOA solo puede enviar una transacción a la vez. + +Para lograr esto, seguimos algunos pasos para crear una variable de estado local que verifica cuál wallet está autorizada. + +```ts +import { useEffect } from "react"; +import { useConnect, useAccount } from "wagmi"; + +function App() { + const { isConnected } = useAccount(); + const { connectors } = useConnect(); + const [isSequence, setIsSequence] = useState(false); + + useEffect(() => { + connectors.map(async (connector) => { + if ((await connector.isAuthorized()) && connector.id === "sequence") { + setIsSequence(true); + } + }); + }, [isConnected]); +} +``` + + + En el protocolo Sequence Market, cuando crea una listing, se le llama + `request`, y cuando acepta un request se le llama `order`. + + +## 5. Creación de Request +Para este ejemplo, usaremos `Arbitrum Sepolia USDC` del [faucet de la comunidad](https://faucet.circle.com/) + +Vaya allí primero para obtener algunos tokens, así podrá crear una listing con su request. + +--- + +Luego, para crear un request para el orderbook, primero debemos asegurarnos de habilitar el contrato del orderbook del marketplace con aprobación para transferir sus tokens. + +Primero, verificamos que el marketplace esté aprobado para el contrato, con algo de lógica. + +```js +const ERC1155Contract = '0x1693ffc74edbb50d6138517fe5cd64fd1c917709' +const MarketPlaceContract = '0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712' + +function App() { + + async function checkERC1155Approval(ownerAddress: string, operatorAddress: string) { + const abi = [ + "function isApprovedForAll(address account, address operator) external view returns (bool)" + ]; + const provider = new ethers.providers.JsonRpcProvider(`https://nodes.sequence.app/arbitrum-sepolia/${process.env.REACT_APP_PROJECT_ACCESSKEY}`); + const contract = new ethers.Contract(ERC1155Contract, abi, provider); + return await contract.isApprovedForAll(ownerAddress, operatorAddress); + } + + const createRequest = async () => { + ... + if(await checkERC1155Approval(address!,MarketPlaceContract)){ + // is approved and only requires a single transaction + ... + } else { // is not approved, so requires multiple transactions + + if(isSequence) { .. perform multi-batch transactions + ... + } else { // is not a sequence wallet + ... + } + } + }; + +} +``` + +Después, necesitaremos armar la transacción con el ABI correcto para generar el calldata esperado según los distintos caminos: no estar aprobado versus estar aprobado, y si es una Sequence wallet o no. + +```ts +const [requestData, setRequestData] = useState(null); + +const createRequest = async () => { + const sequenceMarketInterface = new ethers.Interface([ + "function createRequest(tuple(bool isListing, bool isERC1155, address tokenContract, uint256 tokenId, uint256 quantity, uint96 expiry, address currency, uint256 pricePerToken)) external nonReentrant returns (uint256 requestId)", + ]); + + const amountBigNumber = ethers.parseUnits(String("0.01"), 6); // ensure to use the proper decimals + + const request = { + isListing: true, + isERC1155: true, + tokenContract: ERC1155Contract, + tokenId: 1, + quantity: 1, + expiry: Date.now() + 7 * 24 * 60 * 60 * 1000, // 1 day + currency: ArbSepoliaUSDCContract, + pricePerToken: amountBigNumber, + }; + + const data = sequenceMarketInterface.encodeFunctionData("createRequest", [ + request, + ]); + + setRequestData(data); // we'll need this in the next step + + if (await checkERC1155Approval(address!, MarketPlaceContract)) { + // is approved and only requires a single transaction + + sendTransaction({ + to: MarketPlaceContract, + data: `0x${data.slice(2, data.length)}`, + gas: null, + }); + } else { + // is not approved, so requires multiple transactions + + const erc1155Interface = new ethers.Interface([ + "function setApprovalForAll(address _operator, bool _approved) returns ()", + ]); + + // is not approved + const dataApprove = erc1155Interface.encodeFunctionData( + "setApprovalForAll", + ["0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712", true] + ); + + const txApprove = { + to: ERC1155Contract, + data: dataApprove, + }; + + const tx = { + to: MarketPlaceContract, + data: data, + }; + + if (isSequence) { + const wallet = sequence.getWallet(); + const signer = wallet.getSigner(421614); + + try { + const res = signer.sendTransaction([txApprove, tx]); + console.log(res); + } catch (err) { + console.log(err); + console.log("user closed the wallet, or, an error occured"); + } + } else { + // is not a sequence wallet + // todo: implement mutex + + sendTransaction({ + to: ERC1155Contract, + data: `0x${dataApprove.slice(2, data.length)}`, + gas: null, + }); + // still need to send acceptRequest transaction + } + } +}; +``` + +Finalmente, en el caso donde la transacción no se realiza desde una Sequence wallet y no está aprobada, debemos enviar una transacción una vez que haya un recibo de transacción del hook `useSendTransaction` usando un mutex para confirmar de qué transacción proviene el hash. Esto se hace en una función `useEffect` de React. + + + En programación, una exclusión mutua (mutex) es un objeto de programa que + previene que múltiples hilos accedan al mismo recurso compartido + simultáneamente. + + +```ts +import { useSendTransaction } from 'wagmi' +import { useMutex } from 'react-context-mutex'; + +function App() { + ... + const [requestData, setRequestData] = useState(null) + const { data: hash, sendTransaction } = useSendTransaction() + const MutexRunner = useMutex(); + const mutexApproveERC1155 = new MutexRunner('sendApproveERC1155'); + + const createRequest = async () => { + ... + if(await checkERC1155Approval(address!,MarketPlaceContract)){ + ... + } else { + if (isSequence) { // is a sequence wallet + ... + } else { // is not a sequence wallet + mutexApproveERC1155.lock() + sendTransaction({ + to: ERC1155Contract, + data: `0x${dataApprove.slice(2,data.length)}`, + gas: null + }) + } + } + }; + + useEffect(() => { + if (mutexApproveERC1155.isLocked() && hash) { + sendTransaction({ + to: MarketPlaceContract, + data: `0x${requestData.slice(2, requestData.length)}`, + gas: null, + }); + mutexApproveERC1155.unlock(); + } + }, [requestData, hash]); +``` + +¡Listo! Ya terminó de crear requests para el protocolo Sequence Market, ahora puede implementar un botón y probar el flujo. + +## 6. Aceptar Orders +Ahora que tenemos un order en el marketplace, debemos hacer algunas cosas: +- `Consultar el Marketplace`: consultar el marketplace para obtener un `orderId` correspondiente a la orden que desea aceptar +- `Balance de Moneda`: verificar el balance de la moneda usando el indexador +- `Aprobación de Token`: verificar la aprobación del token para que el marketplace pueda transferir tokens + +#### Consultar el Marketplace +Consultemos el orderbook del marketplace para obtener el `pricePerToken` y el `orderId` de la orden que queremos aceptar. + +```ts + const getTopOrder = async (tokenID: string) => { + const res = await fetch( + "https://marketplace-api.sequence.app/arbitrum-sepolia/rpc/Marketplace/GetTopOrders", + { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify({ + collectionAddress: ERC1155Contract, + currencyAddresses: [ArbSepoliaUSDCContract], + orderbookContractAddress: MarketPlaceContract, + tokenIDs: [tokenID], + isListing: true, + priceSort: "DESC", // descending based on price to get lowest offer first + }), + }, + ); + const result = await res.json(); + return result.orders[0] // getting the first order from the list + } + + const acceptOrder = async () => { + const tokenID = '1' + const topOrder: any = await getTopOrder(tokenID) + const requiredAmount = topOrder.pricePerToken + ... + if(await checkERC20Balance(requiredAmount)){ + ... + } else { + ... + } + } +``` + +#### Balance de Moneda +Usaremos el indexador para consultar el balance y ver si el usuario tiene suficientes tokens para pagar la orden. Esto se puede hacer con el siguiente código: + + + Debe asegurarse de que al realizar una comparación de igualdad en la dirección del contrato del token, la dirección esté en minúsculas. + + +```js +import { SequenceIndexer } from '@0xsequence/indexer' +... +const checkERC20Balance = async (requiredAmount: any) => { + const indexer = new SequenceIndexer('https://arbitrum-sepolia-indexer.sequence.app', process.env.REACT_APP_PROJECT_ACCESSKEY) + + const contractAddress = ArbSepoliaUSDCContract + const accountAddress = address + + const tokenBalances = await indexer.getTokenBalances({ + contractAddress: contractAddress, + accountAddress: accountAddress, + }) + + let hasEnoughBalance = false + + tokenBalances.balances.map((token) => { + const tokenBalanceBN = ethers.BigNumber.from(token.balance); + const requiredAmountBN = ethers.BigNumber.from(requiredAmount); + if(token.contractAddress == ArbSepoliaUSDCContract && tokenBalanceBN.gte(requiredAmountBN)){ + hasEnoughBalance = true + } + }) + + return hasEnoughBalance + +} + +const acceptOrder = async () => { + const tokenID = '1' + const topOrder: any = await getTopOrder(tokenID) + const requiredAmount = topOrder.pricePerToken + ... + if(await checkERC20Balance(requiredAmount)){ + ... + } else { + ... // provide prompt on screen that user does not have balance + } +} + +``` + +#### Aprobación de Token +Luego, verificaremos la aprobación del token para que el Marketplace pueda transferir la moneda. + +```ts + const checkERC20Approval = async (ownerAddress: string, spenderAddress: string, tokenContractAddress: string, requiredAmount: string) => { + const abi = [ + "function allowance(address owner, address spender) external view returns (uint256)" + ]; + + const provider = new ethers.providers.JsonRpcProvider(`https://nodes.sequence.app/arbitrum-sepolia/${process.env.REACT_APP_PROJECT_ACCESSKEY}`); + const contract = new ethers.Contract(tokenContractAddress, abi, provider); + const allowance = await contract.allowance(ownerAddress, spenderAddress); + + const requiredAmountBN = ethers.BigNumber.from(requiredAmount); + const allowanceBN = ethers.BigNumber.from(allowance); + + return allowanceBN.gte(requiredAmountBN); + } + + const acceptOrder = async () => { + const tokenID = '1' + const topOrder: any = await getTopOrder(tokenID) + const requiredAmount = topOrder.pricePerToken + + if(await checkERC20Balance(requiredAmount)){ + if(!(await checkERC20Approval(address!,MarketPlaceContract,ArbSepoliaUSDCContract,requiredAmount))){ + ... + } else { + + } + else { + + } + } + } +``` + +Finalmente, completaremos la lógica necesaria enviando realmente una transacción a la blockchain. + +Comenzamos con el mismo flujo de antes, considerando el envío de transacciones en lote si es una Sequence wallet y no está aprobada, o, si el Marketplace ya está aprobado para gastar sus tokens, solo enviando una transacción. + +```ts + ... + const mutexApproveERC20 = new MutexRunner('sendApproveERC20'); + ... + const acceptOrder = async () => { + const topOrder: any = await getTopOrder('1') + const requiredAmount = topOrder.pricePerToken + + const sequenceMarketInterface = new ethers.Interface([ + "function acceptRequest(uint256 requestId, uint256 quantity, address recipient, uint256[] calldata additionalFees, address[] calldata additionalFeeRecipients)", + ]); + + const quantity = 1 + const data = sequenceMarketInterface.encodeFunctionData( + "acceptRequest", + [topOrder.orderId, quantity, address, [], []], + ); + + setAcceptData(data) // we'll need this later, only for Web SDK enabled transactions + + const tx = { + to: MarketPlaceContract, // 0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712 + data: data + } + + if(await checkERC20Balance(requiredAmount)){ + if((await checkERC20Approval(address!,MarketPlaceContract,ArbSepoliaUSDCContract,requiredAmount))){ + sendTransaction({ + to: MarketPlaceContract, + data: `0x${data.slice(2,data.length)}`, + gas: null + }) + } else { + ... + const erc20Interface = new ethers.Interface([ + "function approve(address spender, uint256 amount) external returns (bool)" + ]); + + const spenderAddress = "0xfdb42A198a932C8D3B506Ffa5e855bC4b348a712"; + const maxUint256 = ethers.constants.MaxUint256; + const dataApprove = erc20Interface.encodeFunctionData("approve", [spenderAddress, maxUint256]); + + if(isSequence){ + const wallet = sequence.getWallet() + const signer = wallet.getSigner(421614) + + const txApprove = { + to: ArbSepoliaUSDCContract, // The contract address of the ERC-20 token, replace with actual contract address + data: dataApprove + }; + + try { + const res = await signer.sendTransaction([txApprove, tx]) + console.log(res) + } catch (err) { + console.log(err) + console.log('user closed the wallet, or, an error occured') + } + } else { + mutexApproveERC20.lock() + + sendTransaction({ + to: ArbSepoliaUSDCContract, + data: `0x${dataApprove.slice(2,dataApprove.length)}`, + gas: null + }) + } + } + } +``` + +Luego, en el flujo donde no es una Sequence wallet y requiere aprobación, incluiremos otro `useEffect` con la verificación del mutex como antes. + +```ts + ... + const { data: hash, sendTransaction } = useSendTransaction() + ... + useEffect(() => { + if (acceptData && mutexApproveERC20.isLocked()) { + sendTransaction({ + to: MarketPlaceContract, + data: `0x${acceptData.slice(2, acceptData.length)}`, + gas: null, + }); + mutexApproveERC20.unlock(); + } + }, [hash, acceptData]); +``` + +¡Perfecto! Todo está listo si agrega el manejador de clic de la función a un botón. + +## 7. (Opcional) Integrar Embedded Wallet en Web SDK +Para que su conector de Web SDK sea compatible con [Embedded Wallet](/sdk/headless-wallet/quickstart), necesitaremos instalar algunas versiones de paquetes y actualizar nuestro `config.ts` que usamos al inicio de la guía. + +La función Embedded Wallet permite transacciones sin confirmación, lo que puede crear una experiencia de usuario más fluida. + +``` +pnpm i @0xsequence/kit@2.0.5-beta.9 @0xsequence/kit-connectors@2.0.5-beta.9 +``` + +```ts +// config.ts +import { arbitrumSepolia, Chain } from "wagmi/chains"; +import { getDefaultWaasConnectors } from "@0xsequence/kit-connectors"; // updated +import { createConfig, http } from "wagmi"; +import { getKitConnectWallets } from "@0xsequence/kit"; // updated + +const chains = [arbitrumSepolia] as [Chain, ...Chain[]]; + +// added environment variables +const projectAccessKey = process.env.REACT_APP_PROJECTACCESSKEY!; +const waasConfigKey = process.env.REACT_APP_WAASCONFIGKEY!; +const googleClientId = process.env.REACT_APP_GOOGLECLIENTID!; +const appleClientId = process.env.REACT_APP_APPLECLIENTID!; +const walletConnectProjectId = process.env.REACT_APP_WALLETCONNECTID!; +const appleRedirectURI = "https://" + window.location.host; // note: update slug to include correct homepage + +const connectors = [ + ...getDefaultWaasConnectors({ + // updated connector type + walletConnectProjectId: walletConnectProjectId, + defaultChainId: 421614, + waasConfigKey, + googleClientId, + appleClientId, + appleRedirectURI, + appName: "demo app", + projectAccessKey, + enableConfirmationModal: false, + }), + ...getKitConnectWallets(projectAccessKey, []), +]; + +const transports: any = {}; + +chains.forEach((chain) => { + transports[chain.id] = http(); +}); + +const config = createConfig({ + transports, + connectors, + chains, +}); + +export { config }; +``` + +El último paso es asegurarse de actualizar a nuestro equipo con las URLs autorizadas de Google y Apple (por ejemplo, [http://localhost:3000](http://localhost:3000)) para poder llamar al flujo de inicio de sesión de Embedded Wallet. \ No newline at end of file diff --git a/es/guides/databeat-integration.mdx b/es/guides/databeat-integration.mdx new file mode 100644 index 00000000..8c8bfe9f --- /dev/null +++ b/es/guides/databeat-integration.mdx @@ -0,0 +1,192 @@ +--- +title: Guía de Integración de Databeat +description: Aprenda cómo usar el seguimiento de Databeat con aplicaciones de Sequence +--- + +# Integración de Databeat +Esta guía explica cómo usar el seguimiento de Databeat, que ya está integrado en el sitio de documentación de Sequence. + +## Seguimiento Automático +La documentación de Sequence rastrea automáticamente las vistas de página usando Databeat. Este seguimiento se implementa con JavaScript puro y es completamente del lado del cliente. + +## Seguimiento Manual de Eventos +También puede rastrear manualmente eventos personalizados usando Databeat en sus propias aplicaciones. Así es como se hace: + +```javascript +// Track a custom event +databeat.track({ + event: 'BUTTON_CLICK', + source: window.location.pathname, + props: { + button_id: 'login-button', + page: 'login' + } +}); + +// Track a view (shorthand method) +databeat.trackView({ + section: 'user-profile', + page_number: 1 +}); + +// Set a custom user session +databeat.session('user-123', { hash: true, agentSalt: true }); +``` + +## Detalles de Implementación +Nuestra integración de Databeat está implementada usando JavaScript puro. Así funciona: +1. Cargamos el script de Databeat de forma asíncrona +2. Lo inicializamos con nuestro endpoint host y token de autenticación +3. Rastreamos automáticamente las vistas de página +4. Configuramos listeners para eventos de navegación en SPA + +Puede ver la implementación completa en el archivo [databeat-tracker.js](/snippets/databeat-tracker.js). + +## Uso de Databeat en su Aplicación +Para integrar Databeat en su propia aplicación: +1. Instale el paquete: + +```bash +npm install @databeat/tracker@0.9.3 +``` + +2. Inicialícelo en su JavaScript: + +```javascript +// Using ES modules +import { Databeat } from '@databeat/tracker'; + +// Initialize with your host endpoint and auth token +const databeat = new Databeat( + 'https://databeat.sequence.app', // Host endpoint + 'your-auth-token', // Auth token + { + flushInterval: 1000, // Flush the event queue every 1000ms + defaultEnabled: true, + sessionIds: { hash: true, agentSalt: true }, + initProps: () => { + // Add any default properties for all events + return { + app: 'your-app-name', + environment: window.location.hostname.includes('localhost') ? 'development' : 'production' + }; + } + } +); + +// Track events +databeat.track({ + event: 'VIEW', + source: window.location.pathname, + props: { + title: document.title + } +}); +``` + +3. Para JS puro sin herramientas de construcción (usando CDN): + +```html + + + + + + + +``` + +## Seguimiento de Eventos Personalizados +Puede rastrear cualquier evento personalizado relevante para su aplicación: + +```javascript +// Track game events +databeat.track({ + event: 'GAME_STARTED', + source: 'game-client', + props: { + level: 1, + character: 'warrior' + } +}); + +databeat.track({ + event: 'LEVEL_COMPLETED', + source: 'game-client', + props: { + level: 1, + score: 1000, + time_spent: 120 + } +}); + +// Track marketplace interactions +databeat.track({ + event: 'ITEM_VIEWED', + source: 'marketplace', + props: { + item_id: '123', + item_name: 'Rare Sword', + category: 'weapons' + } +}); + +databeat.track({ + event: 'PURCHASE_COMPLETED', + source: 'marketplace', + props: { + transaction_id: 'tx-abc123', + amount: 100, + currency: 'USD', + items: [{ id: '123', name: 'Rare Sword', price: 100 }] + } +}); +``` + +## Gestión de Sesiones +Databeat le permite gestionar sesiones de usuario: + +```javascript +// Set a custom session ID (will be hashed for privacy) +databeat.session('user@example.com'); + +// Check if tracking is enabled +const isEnabled = databeat.isEnabled(); + +// Enable tracking +databeat.enable(); + +// Disable tracking +databeat.disable(); + +// Get the current session ID +const sessionId = databeat.getSessionId(); + +// Check if the session is anonymous +const isAnon = databeat.isAnon(); +``` + +## Vaciado Manual de Eventos +Databeat agrupa los eventos y los envía periódicamente, pero puede vaciar manualmente la cola de eventos: + +```javascript +// Manually flush the event queue +await databeat.flush(); +``` + +Esto ayuda a verificar que los eventos se están rastreando correctamente durante el desarrollo. \ No newline at end of file diff --git a/es/guides/guide-overview.mdx b/es/guides/guide-overview.mdx new file mode 100644 index 00000000..eb74a92f --- /dev/null +++ b/es/guides/guide-overview.mdx @@ -0,0 +1,60 @@ +--- +title: Guías +description: Resumen de las guías para la infraestructura de Sequence para juegos web3. +mode: wide +sidebarTitle: Resumen +--- + +Siga nuestras guías paso a paso y utilice plantillas de código abierto para acelerar su salida al mercado. + +## Desarrolladores de videojuegos + + + + Aprenda a crear un juego atractivo para iOS y Android que utiliza Sequence Embedded Wallets en segundo plano para habilitar un marketplace integrado y una moneda dentro del juego. + + + + Siga nuestra guía de integración para aprender cómo integrar una Sequence Embedded Wallet en una aplicación de Telegram y así brindar soporte a sus usuarios en cadenas EVM. + + + + Utilice el SDK de Unreal de Sequence para mostrar información de Embedded Wallet, firmar mensajes y enviar transacciones. + + + + Con este tutorial, cree un laberinto web donde los objetos de caja de recompensas (lootbox) se generan usando IA y se mintean dinámicamente en el wallet universal del jugador. + + + + Siga una guía paso a paso para crear una demo de juego web que utiliza Sequence Embedded Wallet y tokens de logros personalizados dentro del juego. + + + + Impulse el crecimiento de su juego vendiendo objetos directamente a sus jugadores. En esta guía, le mostraremos cómo desplegar un contrato de Primary Sale paso a paso usando cualquier moneda personalizada o existente para una tienda web que utiliza objetos del juego de un contrato ERC1155. + + + + Esta guía cubre la creación de una Primary Sale con el SDK de Unity de Sequence. + + + +## Web3 + + + + Aprovechando la Transaction API de Sequence y un entorno serverless, creará un servicio de minteo escalable para NFTs u otras transacciones que maneja automáticamente las complejidades de blockchain como reorganizaciones, gestión de nonce y paralelización de transacciones. + + + + Cree un marketplace impulsado por API donde los jugadores pueden mintear, vender o comprar objetos usando una interfaz web personalizada que utiliza las APIs de Orderbook de Sequence. + + + + Guía para consultar información sobre el uso de sus usuarios para su proyecto específico utilizando un Cloudflare Worker serverless. + + + + Utilizando la Metadata API de Sequence, puede crear, gestionar y almacenar metadatos asociados a sus NFTs desde casi cualquier entorno. Le mostraremos cómo utilizar estas REST-APIs para organizar las colecciones de su juego o experiencia. + + \ No newline at end of file diff --git a/es/guides/jelly-forest-unity-guide.mdx b/es/guides/jelly-forest-unity-guide.mdx new file mode 100644 index 00000000..7ac394a8 --- /dev/null +++ b/es/guides/jelly-forest-unity-guide.mdx @@ -0,0 +1,345 @@ +--- +title: Introducción a Jelly Forest - Guía de juego en Unity +description: Introducción a Jelly Forest - Guía de juego en Unity presenta un juego runner 2D con funciones blockchain como inicio de sesión con redes sociales, mejoras y objetos cosméticos almacenados en un smart contract wallet. +sidebarTitle: Cree un juego en Unity +--- + +Jelly Forest es un juego runner 2D habilitado para blockchain. El juego incluye inicio de sesión con redes sociales, mejoras multinivel (donde los niveles superiores requieren mejoras de nivel inferior como insumos para construir/mintear) y mejoras cosméticas, todo lo cual se almacena en un smart contract wallet no custodial integrado. No hay ventanas emergentes para firmar transacciones ni requisitos de pago de gas para los jugadores. + + +