diff --git a/config.json b/config.json index 098cd4d..bbe0e13 100644 --- a/config.json +++ b/config.json @@ -382,29 +382,29 @@ { "groupName": "Volume & Activity", "subpages": [ - "reference/stablecoins/get-stablecoins-volume-per-token", - "reference/stablecoins/get-stablecoins-issuing-over-time", - "reference/stablecoins/get-stablecoins-active-senders-over-time", - "reference/stablecoins/get-stablecoins-volume-by-category-over-time", - "reference/stablecoins/get-stablecoins-whale-alerts" + "reference/stablecoins/volume-per-token", + "reference/stablecoins/issuing-over-time", + "reference/stablecoins/active-senders-over-time", + "reference/stablecoins/volume-by-category-over-time", + "reference/stablecoins/whale-alerts" ] }, { "groupName": "Bridge Analytics", "subpages": [ - "reference/stablecoins/get-stablecoins-bridge-total-inflow", - "reference/stablecoins/get-stablecoins-bridge-total-outflow", - "reference/stablecoins/get-stablecoins-bridge-total-netflow", - "reference/stablecoins/get-stablecoins-bridge-cross-chain-volume", - "reference/stablecoins/get-stablecoins-bridge-netflow-over-time" + "reference/stablecoins/bridge-inflow", + "reference/stablecoins/bridge-outflow", + "reference/stablecoins/bridge-netflow", + "reference/stablecoins/bridge-cross-chain-volume", + "reference/stablecoins/bridge-netflow-over-time" ] }, { "groupName": "Category Analytics", "subpages": [ - "reference/stablecoins/get-stablecoins-category-total-inflow", - "reference/stablecoins/get-stablecoins-category-total-outflow", - "reference/stablecoins/get-stablecoins-category-total-netflow" + "reference/stablecoins/category-total-inflow", + "reference/stablecoins/category-total-outflow", + "reference/stablecoins/category-total-netflow" ] } ] diff --git a/docs/reference/stablecoins/active-senders-over-time.endpoint.mdx b/docs/reference/stablecoins/active-senders-over-time.endpoint.mdx new file mode 100644 index 0000000..b458306 --- /dev/null +++ b/docs/reference/stablecoins/active-senders-over-time.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/active-senders/over-time +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/bridge-cross-chain-volume.endpoint.mdx b/docs/reference/stablecoins/bridge-cross-chain-volume.endpoint.mdx new file mode 100644 index 0000000..c111755 --- /dev/null +++ b/docs/reference/stablecoins/bridge-cross-chain-volume.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/bridge/cross-chain-volume +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/bridge-inflow.endpoint.mdx b/docs/reference/stablecoins/bridge-inflow.endpoint.mdx new file mode 100644 index 0000000..4a6a7c4 --- /dev/null +++ b/docs/reference/stablecoins/bridge-inflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/bridge/total-inflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/bridge-netflow-over-time.endpoint.mdx b/docs/reference/stablecoins/bridge-netflow-over-time.endpoint.mdx new file mode 100644 index 0000000..e076e97 --- /dev/null +++ b/docs/reference/stablecoins/bridge-netflow-over-time.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/bridge/netflow-over-time +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/bridge-netflow.endpoint.mdx b/docs/reference/stablecoins/bridge-netflow.endpoint.mdx new file mode 100644 index 0000000..1344fab --- /dev/null +++ b/docs/reference/stablecoins/bridge-netflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/bridge/total-netflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/bridge-outflow.endpoint.mdx b/docs/reference/stablecoins/bridge-outflow.endpoint.mdx new file mode 100644 index 0000000..23e136c --- /dev/null +++ b/docs/reference/stablecoins/bridge-outflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/bridge/total-outflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/category-total-inflow.endpoint.mdx b/docs/reference/stablecoins/category-total-inflow.endpoint.mdx new file mode 100644 index 0000000..d5bc823 --- /dev/null +++ b/docs/reference/stablecoins/category-total-inflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/category/total-inflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/category-total-netflow.endpoint.mdx b/docs/reference/stablecoins/category-total-netflow.endpoint.mdx new file mode 100644 index 0000000..89b2ee8 --- /dev/null +++ b/docs/reference/stablecoins/category-total-netflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/category/total-netflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/category-total-outflow.endpoint.mdx b/docs/reference/stablecoins/category-total-outflow.endpoint.mdx new file mode 100644 index 0000000..53b8ad7 --- /dev/null +++ b/docs/reference/stablecoins/category-total-outflow.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/category/total-outflow +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/issuing-over-time.endpoint.mdx b/docs/reference/stablecoins/issuing-over-time.endpoint.mdx new file mode 100644 index 0000000..fd0249d --- /dev/null +++ b/docs/reference/stablecoins/issuing-over-time.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/issuing/over-time +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/volume-by-category-over-time.endpoint.mdx b/docs/reference/stablecoins/volume-by-category-over-time.endpoint.mdx new file mode 100644 index 0000000..bd66f8e --- /dev/null +++ b/docs/reference/stablecoins/volume-by-category-over-time.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/volume-by-category/over-time +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/volume-per-token.endpoint.mdx b/docs/reference/stablecoins/volume-per-token.endpoint.mdx new file mode 100644 index 0000000..a7edb72 --- /dev/null +++ b/docs/reference/stablecoins/volume-per-token.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/volume-per-token +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/docs/reference/stablecoins/whale-alerts.endpoint.mdx b/docs/reference/stablecoins/whale-alerts.endpoint.mdx new file mode 100644 index 0000000..848de12 --- /dev/null +++ b/docs/reference/stablecoins/whale-alerts.endpoint.mdx @@ -0,0 +1,9 @@ +--- +route: GET /stablecoins/whale-alerts +file: openAPI/stablecoins.json +--- + +{/* Do not edit the metadata */} +import PriceTag from "@site/src/components/PriceTag"; + + diff --git a/openAPI/cosmos.json b/openAPI/cosmos.json index 9e32cff..44b99f4 100644 --- a/openAPI/cosmos.json +++ b/openAPI/cosmos.json @@ -25,81 +25,6 @@ "parameters": {} }, "paths": { - "/tokenomics/top_stakeholders": { - "get": { - "servers": [ - { - "url": "https://cosmos.numia.xyz" - } - ], - "operationId": "getTokenomicsTopStakeholders", - "tags": [], - "parameters": [ - { - "schema": { - "type": "string", - "enum": [ - "1d", - "7d", - "30d" - ] - }, - "required": false, - "name": "comparison_interval", - "in": "query" - } - ], - "responses": { - "200": { - "description": "Status: 200", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "address": { - "type": "string" - }, - "total_balance": { - "type": "number" - }, - "liquid_balance": { - "type": "number" - }, - "staking_balance": { - "type": "number" - }, - "total_change": { - "type": "number" - }, - "liquid_change": { - "type": "number" - }, - "staking_change": { - "type": "number" - } - }, - "required": [ - "address", - "total_balance", - "liquid_balance", - "staking_balance", - "total_change", - "liquid_change", - "staking_change" - ] - } - } - } - } - } - }, - "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", - "summary": "Get Tokenomics Top Stakeholders" - } - }, "/aez/revenue_share_by_consumer": { "get": { "servers": [ @@ -130,7 +55,8 @@ }, { "schema": { - "type": "string" + "type": "string", + "default": "total" }, "required": false, "name": "consumers", @@ -184,7 +110,8 @@ }, { "schema": { - "type": "string" + "type": "string", + "default": "total" }, "required": false, "name": "providers", @@ -238,7 +165,8 @@ }, { "schema": { - "type": "string" + "type": "string", + "default": "\"total\"" }, "required": false, "name": "provider", @@ -256,7 +184,15 @@ "type": "object", "properties": { "labels": { - "type": "string", + "anyOf": [ + { + "type": "string", + "description": "Date in the format YYYY-MM-DD HH:MM:SS" + }, + { + "type": "string" + } + ], "description": "Date in the format YYYY-MM-DD HH:MM:SS" }, "total_inflow": { @@ -304,7 +240,7 @@ "url": "https://cosmos.numia.xyz" } ], - "operationId": "getHydroDeploymentsOverview", + "operationId": "getHydroDeploymentsOverviewLenses", "tags": [], "parameters": [ { @@ -341,210 +277,71 @@ "type": "string" }, "project": { - "type": "string" + "type": "string", + "nullable": true }, "project_url": { - "type": "string" + "type": "string", + "nullable": true }, "project_logo_url": { - "type": "string" + "type": "string", + "nullable": true }, "project_about": { - "type": "string" + "type": "string", + "nullable": true }, "id": { "type": "string" }, "title": { - "type": "string" + "type": "string", + "nullable": true }, "description": { - "type": "string" + "type": "string", + "nullable": true }, "comments": { - "type": "string" + "type": "string", + "nullable": true }, "requested_allocation_denom": { - "type": "string" + "type": "string", + "nullable": true }, "requested_allocation_amount": { - "type": "number" + "type": "number", + "nullable": true }, "onchain_tribute_assets": { - "type": "string" + "type": "string", + "nullable": true }, "onchain_tribute_usdc": { "type": "number", "nullable": true }, "offchain_tribute": { - "type": "string" - }, - "offchain_tribute_info": { - "type": "string" - }, - "voters": { - "type": "number" - }, - "voting_power": { - "type": "number" - }, - "status": { - "type": "string" - }, - "initial_allocation_amount": { - "type": "number", - "nullable": true - }, - "current_allocation_amount": { - "type": "number", + "type": "string", "nullable": true }, - "duration_days": { - "type": "number", + "offchain_tribute_info": { + "type": "string", "nullable": true }, - "yield": { + "voters": { "type": "number", "nullable": true }, - "apr": { - "type": "number", - "nullable": true - } - }, - "required": [ - "round", - "tranche", - "project", - "project_url", - "project_logo_url", - "project_about", - "id", - "title", - "description", - "comments", - "requested_allocation_denom", - "requested_allocation_amount", - "onchain_tribute_assets", - "onchain_tribute_usdc", - "offchain_tribute", - "offchain_tribute_info", - "voters", - "voting_power", - "status", - "initial_allocation_amount", - "current_allocation_amount", - "duration_days", - "yield", - "apr" - ] - } - } - } - } - } - }, - "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", - "summary": "Get Hydro Deployments Overview" - } - }, - "/hydro/deployments_overview_staging": { - "get": { - "servers": [ - { - "url": "https://cosmos.numia.xyz" - } - ], - "tags": [ - "Hydro" - ], - "operationId": "getHydroDeploymentsOverviewStaging", - "parameters": [ - { - "schema": { - "type": "string" - }, - "required": false, - "name": "round", - "in": "query" - }, - { - "schema": { - "type": "string" - }, - "required": false, - "name": "concluded", - "in": "query" - } - ], - "responses": { - "200": { - "description": "Status: 200", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "round": { - "type": "string" - }, - "tranche": { - "type": "string" - }, - "project": { - "type": "string" - }, - "project_url": { - "type": "string" - }, - "project_logo_url": { - "type": "string" - }, - "project_about": { - "type": "string" - }, - "id": { - "type": "string" - }, - "title": { - "type": "string" - }, - "description": { - "type": "string" - }, - "comments": { - "type": "string" - }, - "requested_allocation_denom": { - "type": "string" - }, - "requested_allocation_amount": { - "type": "number" - }, - "onchain_tribute_assets": { - "type": "string" - }, - "onchain_tribute_usdc": { + "voting_power": { "type": "number", "nullable": true }, - "offchain_tribute": { - "type": "string" - }, - "offchain_tribute_info": { - "type": "string" - }, - "voters": { - "type": "number" - }, - "voting_power": { - "type": "number" - }, "status": { - "type": "string" + "type": "string", + "nullable": true }, "initial_allocation_amount": { "type": "number", @@ -600,7 +397,7 @@ } }, "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", - "summary": "Get Hydro Deployments Overview Staging" + "summary": "Get Hydro Deployments Overview Lenses" } }, "/hydro/metrics": { @@ -613,7 +410,7 @@ "tags": [ "Hydro" ], - "operationId": "getHydroMetrics", + "operationId": "getHydroMetricsLenses", "responses": { "200": { "description": "Status: 200", @@ -718,7 +515,7 @@ } }, "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", - "summary": "Get Hydro Metrics" + "summary": "Get Hydro Metrics Lenses" } } } diff --git a/openAPI/stablecoins.json b/openAPI/stablecoins.json new file mode 100644 index 0000000..201c526 --- /dev/null +++ b/openAPI/stablecoins.json @@ -0,0 +1,1493 @@ +{ + "openapi": "3.0.0", + "security": [ + { + "bearerAuth": [] + } + ], + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "info": { + "version": "1.0.0", + "title": "Numia - Stablecoins" + }, + "components": { + "securitySchemes": { + "bearerAuth": { + "type": "http", + "scheme": "bearer" + } + }, + "schemas": {}, + "parameters": {} + }, + "paths": { + "/stablecoins/volume-per-token": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "volume-per-token", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "token_name": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "total_amount": { + "type": "number" + } + }, + "required": [ + "token_name", + "token_symbol", + "total_amount" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Volume-per-token" + } + }, + "/stablecoins/issuing/over-time": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "issuing-over-time", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "labels": { + "type": "string" + }, + "token_name": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "minted": { + "type": "number" + }, + "burned": { + "type": "number" + } + }, + "required": [ + "labels", + "token_name", + "token_symbol", + "minted", + "burned" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Issuing-over-time" + } + }, + "/stablecoins/active-senders/over-time": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "active-senders-over-time", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "1m", + "2m", + "5m", + "10m", + "30m", + "1h" + ], + "default": "5m" + }, + "required": false, + "name": "time_agg", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "labels": { + "type": "string" + }, + "active_senders": { + "type": "array", + "items": { + "type": "object", + "properties": { + "active_senders": { + "type": "number" + }, + "token_name": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_denom": { + "type": "string" + } + }, + "required": [ + "active_senders", + "token_name", + "token_symbol", + "token_denom" + ] + } + } + }, + "required": [ + "labels", + "active_senders" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Active-senders-over-time" + } + }, + "/stablecoins/volume-by-category/over-time": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "volume-by-category-over-time", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "1m", + "2m", + "5m", + "10m", + "30m", + "1h" + ], + "default": "5m" + }, + "required": false, + "name": "time_agg", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "labels": { + "type": "string" + }, + "volume_by_category": { + "type": "array", + "items": { + "type": "object", + "properties": { + "category": { + "type": "string" + }, + "total_volume": { + "type": "number" + } + }, + "required": [ + "category", + "total_volume" + ] + } + } + }, + "required": [ + "labels", + "volume_by_category" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Volume-by-category-over-time" + } + }, + "/stablecoins/whale-alerts": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "whale-alerts", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "default": "5" + }, + "required": false, + "name": "limit", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "chain_id": { + "type": "string" + }, + "block_timestamp": { + "type": "string" + }, + "block_height": { + "type": "string" + }, + "token_denom": { + "type": "string" + }, + "token_symbol": { + "type": "string" + }, + "token_name": { + "type": "string" + }, + "sender": { + "type": "string" + }, + "receiver": { + "type": "string" + }, + "amount_usd": { + "type": "number" + } + }, + "required": [ + "chain_id", + "block_timestamp", + "block_height", + "token_denom", + "token_symbol", + "token_name", + "sender", + "receiver", + "amount_usd" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Whale-alerts" + } + }, + "/stablecoins/bridge/total-inflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "bridge-inflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "chain_ids", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "chain_id": { + "type": "string" + }, + "total_amount": { + "type": "number" + } + }, + "required": [ + "chain_id", + "total_amount" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Bridge-inflow" + } + }, + "/stablecoins/bridge/total-outflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "bridge-outflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "chain_ids", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "chain_id": { + "type": "string" + }, + "total_amount": { + "type": "number" + } + }, + "required": [ + "chain_id", + "total_amount" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Bridge-outflow" + } + }, + "/stablecoins/bridge/total-netflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "bridge-netflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "chain_ids", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "chain_id": { + "type": "string" + }, + "total_amount": { + "type": "number" + } + }, + "required": [ + "chain_id", + "total_amount" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Bridge-netflow" + } + }, + "/stablecoins/bridge/cross-chain-volume": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "bridge-cross-chain-volume", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "chain_ids", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "src_chain_id": { + "type": "string" + }, + "dst_chain_id": { + "type": "string" + }, + "total_amount": { + "type": "number" + } + }, + "required": [ + "src_chain_id", + "dst_chain_id", + "total_amount" + ] + } + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Bridge-cross-chain-volume" + } + }, + "/stablecoins/bridge/netflow-over-time": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "bridge-netflow-over-time", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "1m", + "2m", + "5m", + "10m", + "30m", + "1h" + ], + "default": "5m" + }, + "required": false, + "name": "time_agg", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "chain_ids", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Bridge-netflow-over-time" + } + }, + "/stablecoins/category/total-inflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "category-total-inflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "category", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Category-total-inflow" + } + }, + "/stablecoins/category/total-outflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "category-total-outflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "category", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Category-total-outflow" + } + }, + "/stablecoins/category/total-netflow": { + "get": { + "tags": [ + "stablecoins" + ], + "operationId": "category-total-netflow", + "servers": [ + { + "url": "https://stablecoins.numia.xyz" + } + ], + "parameters": [ + { + "schema": { + "type": "string", + "enum": [ + "ethereum-1", + "arbitrum-42161", + "polygon-137", + "optimism-10", + "base-8453", + "binance-smart-chain-56", + "avalanche-43114" + ] + }, + "required": false, + "name": "chain_id", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "FRAX", + "USDY", + "USD0", + "TUSD", + "USDe", + "USDL", + "DAI", + "USDT", + "USDC", + "AUSD", + "USDO", + "lisUSD", + "USDD", + "USD1", + "vBUSD", + "XUSD", + "DEUSD", + "RLUSD", + "USDP", + "USDtb", + "FRXUSD", + "USDf", + "USDG" + ] + }, + "required": false, + "name": "token_symbol", + "in": "query" + }, + { + "schema": { + "type": "string", + "enum": [ + "10m", + "30m", + "1h", + "3h", + "6h", + "24h" + ], + "default": "1h" + }, + "required": false, + "name": "time_range", + "in": "query" + }, + { + "schema": { + "type": "string" + }, + "required": false, + "name": "category", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Category-total-netflow" + } + } + } +} \ No newline at end of file diff --git a/openAPI/txbyaddress.json b/openAPI/txbyaddress.json index 44b1dbd..e3e1fc9 100644 --- a/openAPI/txbyaddress.json +++ b/openAPI/txbyaddress.json @@ -7,73 +7,73 @@ ], "servers": [ { - "url": "https://cosmoshub.numia.xyz" + "url": "https://akash.numia.xyz" }, { - "url": "https://osmosis.numia.xyz" + "url": "https://axelar.numia.xyz" }, { - "url": "https://stargaze.numia.xyz" + "url": "https://celestia.numia.xyz" }, { - "url": "https://stride.numia.xyz" + "url": "https://comdex.numia.xyz" }, { - "url": "https://juno.numia.xyz" + "url": "https://cosmoshub.numia.xyz" }, { - "url": "https://umee.numia.xyz" + "url": "https://cryptoorgchain.numia.xyz" }, { - "url": "https://terra2.numia.xyz" + "url": "https://dydx.numia.xyz" }, { - "url": "https://neutron.numia.xyz" + "url": "https://dymension.numia.xyz" }, { - "url": "https://comdex.numia.xyz" + "url": "https://initia.numia.xyz" }, { - "url": "https://persistence.numia.xyz" + "url": "https://juno.numia.xyz" }, { - "url": "https://quicksilver.numia.xyz" + "url": "https://migaloo.numia.xyz" }, { - "url": "https://cryptoorgchain.numia.xyz" + "url": "https://neutron.numia.xyz" }, { - "url": "https://axelar.numia.xyz" + "url": "https://nillion.numia.xyz" }, { - "url": "https://migaloo.numia.xyz" + "url": "https://noble.numia.xyz" }, { - "url": "https://dydx.numia.xyz" + "url": "https://nolus.numia.xyz" }, { - "url": "https://celestia.numia.xyz" + "url": "https://osmosis.numia.xyz" }, { - "url": "https://nolus.numia.xyz" + "url": "https://osmosis-testnet.numia.xyz" }, { - "url": "https://noble.numia.xyz" + "url": "https://persistence.numia.xyz" }, { - "url": "https://akash.numia.xyz" + "url": "https://quicksilver.numia.xyz" }, { - "url": "https://dymension.numia.xyz" + "url": "https://stargaze.numia.xyz" }, { - "url": "https://nillion.numia.xyz" + "url": "https://stride.numia.xyz" }, { - "url": "https://initia.numia.xyz" + "url": "https://terra2.numia.xyz" }, { - "url": "https://osmosis-testnet.numia.xyz" + "url": "https://umee.numia.xyz" } ], "tags": [ @@ -108,9 +108,6 @@ { "url": "https://osmosis.numia.xyz" }, - { - "url": "https://evmos.numia.xyz" - }, { "url": "https://stargaze.numia.xyz" }, diff --git a/openAPI/xion.json b/openAPI/xion.json index 6e84f71..af0f8af 100644 --- a/openAPI/xion.json +++ b/openAPI/xion.json @@ -25,15 +25,12 @@ "parameters": {} }, "paths": { - "/v2/smartAccount/{smart_account}/authenticators": { + "/v3/smartAccount/{smart_account}/authenticators": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" } @@ -122,15 +119,12 @@ "summary": "Get Abstract Account Authenticators" } }, - "/v2/authenticators/{authenticator}/smartAccounts": { + "/v3/authenticators/{authenticator}/smartAccounts": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" } @@ -196,15 +190,12 @@ "summary": "Get Abstract Accounts By Authenticator" } }, - "/v2/authenticators/{authenticator}/smartAccounts/details": { + "/v3/authenticators/{authenticator}/smartAccounts/details": { "get": { "servers": [ { "url": "https://xion.numia.xyz" }, - { - "url": "https://xion-testnet.numia.xyz" - }, { "url": "https://xion-testnet-2.numia.xyz" } @@ -287,6 +278,134 @@ "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", "summary": "Get Abstract Accounts Details By Authenticator" } + }, + "/v3/address/{address}/permissions": { + "get": { + "servers": [ + { + "url": "https://xion.numia.xyz" + }, + { + "url": "https://xion-testnet-2.numia.xyz" + } + ], + "operationId": "getSmartAccountPermissions", + "tags": [], + "parameters": [ + { + "schema": { + "type": "string" + }, + "required": true, + "name": "address", + "in": "path" + }, + { + "schema": { + "type": "string", + "enum": [ + "granter", + "grantee" + ] + }, + "required": true, + "name": "role", + "in": "query" + } + ], + "responses": { + "200": { + "description": "Status: 200", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "authz": { + "type": "array", + "items": { + "type": "object", + "properties": { + "granter": { + "type": "string" + }, + "grantee": { + "type": "string" + }, + "authorization": { + "type": "object", + "properties": { + "type_url": { + "type": "string" + }, + "value": { + "nullable": true + } + }, + "required": [ + "type_url" + ] + }, + "expiration": { + "type": "string", + "nullable": true + } + }, + "required": [ + "granter", + "grantee", + "authorization", + "expiration" + ] + } + }, + "feegrants": { + "type": "array", + "items": { + "type": "object", + "properties": { + "granter": { + "type": "string" + }, + "grantee": { + "type": "string" + }, + "allowance": { + "type": "object", + "properties": { + "type_url": { + "type": "string", + "nullable": true + }, + "value": { + "nullable": true + } + }, + "required": [ + "type_url" + ] + } + }, + "required": [ + "granter", + "grantee", + "allowance" + ] + } + } + }, + "required": [ + "authz", + "feegrants" + ] + } + } + } + } + }, + "description": "import PriceTag from \"@site/src/components/PriceTag\";\n\n", + "summary": "Get Smart Account Permissions" + } } } } \ No newline at end of file diff --git a/scripts/bun.lockb b/scripts/bun.lockb index 0b2c7ca..554f43d 100755 Binary files a/scripts/bun.lockb and b/scripts/bun.lockb differ