{ "openapi": "3.0.1", "info": { "title": "Hibit API", "version": "v1" }, "servers": [ { "url": "https://testnetopenapi.hibit.app" }, { "url": "https://openapi.hibit.app" } ], "paths": { "/v1/timestamp": { "get": { "tags": ["Basic"], "summary": "Get system timestamp", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SystemInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SystemInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SystemInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/assets": { "get": { "tags": ["Basic"], "summary": "Get supported assets", "parameters": [ { "name": "ChainIds", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "ChainAssetTypes", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "Limit", "in": "query", "description": "maximum number of items to return. maximum value is 500.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Offset", "in": "query", "description": "number of items to skip before starting to collect the result set.", "schema": { "type": "integer", "format": "int32" } }, { "name": "OrderBy", "in": "query", "description": "the sorting parameters for the list.\n\rsee https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby#examples for the format of the OrderBy string.\n\r supported sorting parameters are: \"AssetId\".\n\rdefault sorting is by \" AssetId desc\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/asset": { "get": { "tags": ["Basic"], "summary": "Get asset information", "description": "In most cases, this endpoint returns a single asset regardless of whether you filter by asset ID or token contract address.\r\nHowever, since the system supports multiple chains, the same token contract address might exist on different chains,\r\npotentially resulting in multiple assets being returned when filtering by token contract address.", "parameters": [ { "name": "AssetId", "in": "query", "schema": { "type": "string" } }, { "name": "TokenAddress", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.List`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.List`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.List`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/asset/withdrawal-fee": { "get": { "tags": ["Basic"], "summary": "Get withdrawal fee information for an asset", "parameters": [ { "name": "RootAssetId", "in": "query", "schema": { "type": "string" } }, { "name": "TargetChain", "in": "query", "schema": { "type": "string" } }, { "name": "TargetChainNetwork", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/chains": { "get": { "tags": ["Basic"], "summary": "Get all supported chains", "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.IEnumerable`1[[Ex3.Exchange.OpenApi.AppServices.ChainInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.IEnumerable`1[[Ex3.Exchange.OpenApi.AppServices.ChainInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.IEnumerable`1[[Ex3.Exchange.OpenApi.AppServices.ChainInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/chain-balances": { "get": { "tags": ["Basic"], "summary": "Get asset chain balance", "description": "This endpoint retrieves the balance of a specific asset on the chain.\r\nIf the asset id not provided, the balance of all assets will be returned.", "parameters": [ { "name": "AssetId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/proxy-key": { "post": { "tags": ["Key"], "summary": "Get the proxy key", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/proxy-key/reset": { "post": { "tags": ["Key"], "summary": "Reset the proxy key", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/market/depth": { "get": { "tags": ["Markets"], "summary": "Get market depth", "description": "it is a combination of the orderbook and the swap liquidity.", "parameters": [ { "name": "Index", "in": "query", "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.DepthIndexEnum" } }, { "name": "MarketId", "in": "query", "schema": { "type": "string" } }, { "name": "Limit", "in": "query", "schema": { "maximum": 100, "minimum": 1, "type": "integer", "format": "int32" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Cache.DepthManager.SpotMarketDepthDataDto, Ex3.Cache.DepthManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Cache.DepthManager.SpotMarketDepthDataDto, Ex3.Cache.DepthManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Cache.DepthManager.SpotMarketDepthDataDto, Ex3.Cache.DepthManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/markets/swap": { "get": { "tags": ["Markets"], "summary": "Get market swap info", "parameters": [ { "name": "MarketId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/markets/ticker": { "get": { "tags": ["Markets"], "summary": "Get 24hr market tickers", "parameters": [ { "name": "MarketId", "in": "query", "schema": { "type": "string" } }, { "name": "ChainIds", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "ChainAssetTypes", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/markets/ticker/extended": { "get": { "tags": ["Markets"], "summary": "Get extended 24hr market tickers", "parameters": [ { "name": "MarketId", "in": "query", "schema": { "type": "string" } }, { "name": "ChainIds", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "ChainAssetTypes", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/market/kline": { "get": { "tags": ["Markets"], "summary": "Get market kline", "parameters": [ { "name": "MarketId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "TickSpace", "in": "query", "required": true, "schema": { "$ref": "#/components/schemas/Ex3.Models.KLine.TickSpace" } }, { "name": "Limit", "in": "query", "description": "maximum number of items to return. maximum value is 500.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Offset", "in": "query", "description": "number of items to skip before starting to collect the result set.", "schema": { "type": "integer", "format": "int32" } }, { "name": "OrderBy", "in": "query", "description": "the sorting parameters for the list.\n\rsee https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby#examples for the format of the OrderBy string.\n\r supported sorting parameters are: \"Timestamp\".\n\rdefault sorting is by \" Timestamp desc\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/market/trade": { "get": { "tags": ["Markets"], "summary": "Get market trade history", "parameters": [ { "name": "MarketId", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "TradedAtStart", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "TradedAtEnd", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Limit", "in": "query", "description": "maximum number of items to return. maximum value is 500.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Offset", "in": "query", "description": "number of items to skip before starting to collect the result set.", "schema": { "type": "integer", "format": "int32" } }, { "name": "OrderBy", "in": "query", "description": "the sorting parameters for the list.\n\rsee https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby#examples for the format of the OrderBy string.\n\r supported sorting parameters are: \"TradedAt\".\n\rdefault sorting is by \" TradedAt desc\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/markets": { "get": { "tags": ["Markets"], "summary": "Get market list", "parameters": [ { "name": "ChainIds", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "ChainAssetTypes", "in": "query", "schema": { "type": "array", "items": { "type": "string" } } }, { "name": "BaseAssetId", "in": "query", "schema": { "type": "string" } }, { "name": "QuoteAssetId", "in": "query", "schema": { "type": "string" } }, { "name": "Limit", "in": "query", "description": "maximum number of items to return. maximum value is 500.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Offset", "in": "query", "description": "number of items to skip before starting to collect the result set.", "schema": { "type": "integer", "format": "int32" } }, { "name": "OrderBy", "in": "query", "description": "the sorting parameters for the list.\n\rsee https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby#examples for the format of the OrderBy string.\n\r supported sorting parameters are: \"MarketId\".\n\rdefault sorting is by \" MarketId desc\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/market": { "get": { "tags": ["Markets"], "summary": "Get market details", "parameters": [ { "name": "MarketId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/market/try-swap": { "post": { "tags": ["Markets"], "summary": "Try swap simulation", "description": "Order side determination:\r\n- When exactToken is base and source type: ask (consuming base token)\r\n- When exactToken is base and target type: bid (consuming quota token)\r\n- When exactToken is quota and source type: bid (consuming quota token)\r\n- When exactToken is quota and target type: ask (consuming base token)\r\n \r\nSource type means the exactTokens parameter specifies what you're providing.\r\nTarget type means the exactTokens parameter specifies what you want to receive.", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapInput" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapInput" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapInput" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/order/trades": { "get": { "tags": ["Orders"], "summary": "Get order trades", "parameters": [ { "name": "OrderId", "in": "query", "description": "Order id", "schema": { "type": "string", "description": "Order id", "format": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Collections.Pooled.PooledList`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Collections.Pooled, Version=1.0.82.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Collections.Pooled.PooledList`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Collections.Pooled, Version=1.0.82.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Collections.Pooled.PooledList`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Collections.Pooled, Version=1.0.82.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/orders": { "get": { "tags": ["Orders"], "summary": "Get orders", "parameters": [ { "name": "HIN", "in": "query", "schema": { "type": "string" } }, { "name": "Status", "in": "query", "schema": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Repository.History.Entities.OrderStatus" } } }, { "name": "MarketId", "in": "query", "schema": { "type": "string" } }, { "name": "OrderIds", "in": "query", "schema": { "type": "array", "items": { "type": "string", "description": "Order id", "format": "string" } } }, { "name": "OrderCategory", "in": "query", "description": "Order category", "schema": { "$ref": "#/components/schemas/Ex3.Models.OrderCategory" } }, { "name": "OrderSide", "in": "query", "description": "Order side", "schema": { "$ref": "#/components/schemas/Ex3.Models.OrderSide" } }, { "name": "CreatedAtStart", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "CreatedAtEnd", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "Limit", "in": "query", "description": "maximum number of items to return. maximum value is 500.", "schema": { "type": "integer", "format": "int32" } }, { "name": "Offset", "in": "query", "description": "number of items to skip before starting to collect the result set.", "schema": { "type": "integer", "format": "int32" } }, { "name": "OrderBy", "in": "query", "description": "the sorting parameters for the list.\n\rsee https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby#examples for the format of the OrderBy string.\n\r supported sorting parameters are: \"CreatedAt\".\n\rdefault sorting is by \" CreatedAt desc\".", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/order": { "get": { "tags": ["Orders"], "summary": "Get order detail", "parameters": [ { "name": "OrderId", "in": "query", "description": "Order id", "schema": { "type": "string", "description": "Order id", "format": "string" } }, { "name": "ClientOrderId", "in": "query", "schema": { "type": "string" } }, { "name": "TxHash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/tx/submit-spot-order": { "post": { "tags": ["Tx"], "summary": "Submit spot order", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/tx/cancel-spot-order": { "post": { "tags": ["Tx"], "summary": "Cancel spot order", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Transactions.L2Request" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.IActors.EmptyResultBody, Ex3.Exchange.IActors.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.IActors.EmptyResultBody, Ex3.Exchange.IActors.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.IActors.EmptyResultBody, Ex3.Exchange.IActors.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/wallet/nonce": { "get": { "tags": ["Wallet"], "summary": "Get wallet nonce", "parameters": [ { "name": "HIN", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.NonceResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.NonceResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.NonceResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/wallet/balances": { "get": { "tags": ["Wallet"], "summary": "Get wallet balances", "parameters": [ { "name": "HIN", "in": "query", "schema": { "type": "string" } }, { "name": "AssetId", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/wallet/register": { "post": { "tags": ["Wallet"], "summary": "Register wallet", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/wallet/info": { "get": { "tags": ["Wallet"], "summary": "Get wallet registration info", "parameters": [ { "name": "Chain", "in": "query", "schema": { "type": "string" } }, { "name": "PublicKey", "in": "query", "schema": { "type": "string" } }, { "name": "Address", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/withdraw": { "post": { "tags": ["Withdraw"], "summary": "Withdraw", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest" } } } }, "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WithdrawOutput, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WithdrawOutput, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WithdrawOutput, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } }, "/v1/withdraw-details": { "get": { "tags": ["Withdraw"], "summary": "Get withdrawal details by transaction hash", "parameters": [ { "name": "TxHash", "in": "query", "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } } } }, "403": { "description": "Forbidden", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "401": { "description": "Unauthorized", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "400": { "description": "Bad Request", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "501": { "description": "Not Implemented", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "application/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorResponse" } } } } } } } }, "components": { "schemas": { "Ex3.Cache.DepthManager.SpotMarketDepthDataDto": { "required": ["asks", "bids"], "type": "object", "properties": { "asks": { "type": "array", "items": { "type": "array", "items": { "type": "string" } }, "description": "Asks are sorted in ascending order by price.\r\n\r\nIn each list, the first element is the price and the second element is the volume.\r\n", "nullable": true }, "bids": { "type": "array", "items": { "type": "array", "items": { "type": "string" } }, "description": "Bids are sorted in descending order by price.\r\n\r\nIn each list, the first element is the price and the second element is the volume.\r\n", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.IActors.EmptyResultBody": { "type": "object", "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.DepthIndexEnum": { "enum": [1, 2, 3, 4, 5, 6], "type": "integer", "format": "int32", "x-enumNames": ["L1", "L2", "L3", "L4", "L5", "L6"], "x-enum-varnames": ["L1", "L2", "L3", "L4", "L5", "L6"], "x-enumDescriptions": [null, "L1", "L2", "L3", "L4", "L5", "L6"] }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput": { "required": ["items"], "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.Market24HrTickerItem" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend": { "required": ["items"], "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.Market24HrTickerExtendItem" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutputItem" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutputItem": { "type": "object", "properties": { "marketId": { "type": "string" }, "poolAmount": { "type": "string" }, "poolVolume": { "type": "string" }, "poolLiquidity": { "type": "string", "description": "BigInt", "format": "string" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem": { "required": ["a", "c", "h", "l", "o", "t", "v"], "type": "object", "properties": { "o": { "type": "string" }, "h": { "type": "string" }, "l": { "type": "string" }, "c": { "type": "string" }, "v": { "type": "string" }, "a": { "type": "string" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.Market24HrTickerExtendItem": { "type": "object", "properties": { "id": { "type": "string" }, "o": { "type": "string" }, "h": { "type": "string" }, "l": { "type": "string" }, "c": { "type": "string" }, "v": { "type": "string" }, "a": { "type": "string" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" }, "lpusd": { "type": "string" }, "ausd": { "type": "string" }, "bas": { "type": "string", "nullable": true }, "qas": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.Market24HrTickerItem": { "type": "object", "properties": { "id": { "type": "string" }, "o": { "type": "string" }, "h": { "type": "string" }, "l": { "type": "string" }, "c": { "type": "string" }, "v": { "type": "string" }, "a": { "type": "string" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem": { "required": ["baseAssetId", "marketId", "marketSymbol", "quoteAssetId"], "type": "object", "properties": { "marketId": { "type": "string" }, "marketSymbol": { "type": "string" }, "baseAssetId": { "type": "string" }, "quoteAssetId": { "type": "string" }, "depthLevels": { "type": "array", "items": { "type": "number", "format": "double" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem": { "required": ["a", "p", "t", "takerSide", "v"], "type": "object", "properties": { "maker": { "type": "string", "nullable": true }, "taker": { "type": "string" }, "takerSide": { "$ref": "#/components/schemas/Ex3.Models.OrderSide" }, "p": { "type": "string" }, "v": { "type": "string" }, "a": { "type": "string" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapInput": { "type": "object", "properties": { "marketId": { "type": "string" }, "exactTokensType": { "$ref": "#/components/schemas/Ex3.Transactions.SwapV2ExactTokensType" }, "exactTokens": { "type": "string", "description": "BigInt", "format": "string" }, "side": { "$ref": "#/components/schemas/Ex3.Models.OrderSide" }, "minOut": { "type": "string", "description": "BigInt", "format": "string", "nullable": true }, "minIn": { "type": "string", "description": "BigInt", "format": "string", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult": { "type": "object", "properties": { "inputAmount": { "type": "string", "description": "BigInt", "format": "string" }, "outputAmount": { "type": "string", "description": "BigInt", "format": "string" }, "priceImpactPercentage": { "type": "number", "format": "double" }, "swapFee": { "type": "string", "description": "BigInt", "format": "string" }, "executionPrice": { "type": "string" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto": { "required": ["cat", "fa", "fp", "fv", "hin", "id", "mid", "p", "s", "st", "t", "ta", "tv"], "type": "object", "properties": { "id": { "type": "string", "description": "Order id", "format": "string" }, "mid": { "type": "string" }, "hin": { "type": "string" }, "cat": { "$ref": "#/components/schemas/Ex3.Models.OrderCategory" }, "s": { "$ref": "#/components/schemas/Ex3.Models.OrderSide" }, "fv": { "type": "string" }, "fa": { "type": "string" }, "tv": { "type": "string" }, "ta": { "type": "string" }, "fp": { "type": "string" }, "p": { "type": "string" }, "st": { "$ref": "#/components/schemas/Ex3.Repository.History.Entities.OrderStatus" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem": { "required": ["fa", "fp", "fv", "t", "tid", "ts"], "type": "object", "properties": { "tid": { "type": "string", "nullable": true }, "fp": { "type": "string" }, "fv": { "type": "string" }, "fa": { "type": "string" }, "ts": { "$ref": "#/components/schemas/Ex3.Models.OrderSide" }, "t": { "type": "int64", "description": "Unix timestamp in milliseconds", "format": "int64" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput": { "type": "object", "properties": { "txHash": { "type": "string", "nullable": true }, "status": { "$ref": "#/components/schemas/Ex3.Repository.WithdrawalStatus" }, "chain": { "type": "string" }, "network": { "type": "string" }, "assetType": { "type": "string" }, "token": { "type": "string", "nullable": true }, "originChainTxHash": { "type": "string", "nullable": true }, "volume": { "type": "string", "description": "BigInt", "format": "string" }, "fee": { "type": "string", "description": "BigInt", "format": "string" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Collections.Pooled.PooledList`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Collections.Pooled, Version=1.0.82.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderTradeListItem" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Cache.DepthManager.SpotMarketDepthDataDto, Ex3.Cache.DepthManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Cache.DepthManager.SpotMarketDepthDataDto" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.IActors.EmptyResultBody, Ex3.Exchange.IActors.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.IActors.EmptyResultBody" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutput" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.Get24HrTickerOutputExtend" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.GetSwapOutput" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.TrySwapResult" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.WithdrawDetailsOutput" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.NonceResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.NonceResult" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.SystemInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.SystemInfo" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Ex3.Exchange.OpenApi.AppServices.WithdrawOutput, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.WithdrawOutput" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Microsoft.AspNetCore.Mvc.EmptyResult, Microsoft.AspNetCore.Mvc.Core, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.EmptyResult" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.Dictionary`2[[Ex3.Models.AssetId, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Ex3.Models.OpenApiNumber, Ex3.Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "type": "object", "additionalProperties": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.IEnumerable`1[[Ex3.Exchange.OpenApi.AppServices.ChainInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.ChainInfoDto" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[System.Collections.Generic.List`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto" }, "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.Abstraction.OpenApiResult`1[[Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Volo.Abp.Ddd.Application.Contracts, Version=9.1.1.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "code": { "type": "integer", "format": "int32" }, "message": { "type": "string", "nullable": true }, "data": { "$ref": "#/components/schemas/Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.AssetWithdrawFeeInfoDto": { "required": ["feeRate", "minFee", "rateDecimal", "rootAssetId", "targetAssetId"], "type": "object", "properties": { "rootAssetId": { "type": "string", "description": "Root ID of the asset" }, "targetAssetId": { "type": "string", "description": "ID of the target asset" }, "feeRate": { "type": "string", "description": "The rate used to calculate withdrawal fees", "format": "string" }, "rateDecimal": { "type": "string", "description": "The decimal precision for the fee rate" }, "minFee": { "type": "string", "description": "The minimum fee amount that will be charged for withdrawals", "format": "string" } }, "additionalProperties": false, "description": "Asset withdrawal fee information" }, "Ex3.Exchange.OpenApi.AppServices.ChainInfoDto": { "required": ["chainId", "depositAddress", "displayName"], "type": "object", "properties": { "chainId": { "type": "string", "description": "chain id" }, "depositAddress": { "type": "string", "description": "address for user to deposit", "nullable": true }, "displayName": { "type": "string", "description": "display name", "nullable": true } }, "additionalProperties": false, "description": "chain information which is supported by the system" }, "Ex3.Exchange.OpenApi.AppServices.NonceResult": { "type": "object", "properties": { "nonce": { "type": "string" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.OriginWalletRequest": { "type": "object", "properties": { "chain": { "type": "string" }, "chainNetwork": { "type": "string", "nullable": true }, "message": { "type": "string", "nullable": true }, "signature": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.ProxyKeyResult": { "type": "object", "properties": { "ex3KeyPair": { "$ref": "#/components/schemas/Ex3.Models.Ex3KeyPair" }, "userId": { "type": "string" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto": { "required": [ "assetId", "assetSymbol", "chainAssetType", "contractAddress", "decimalPlaces", "displayName", "isBaseToken" ], "type": "object", "properties": { "assetId": { "type": "string", "description": "ID of the asset." }, "chainId": { "type": "string", "description": "ID of chain" }, "chainAssetType": { "type": "string", "description": "Chain asset type" }, "contractAddress": { "type": "string", "description": "address of smart contract. e.g., eth address for erc20, ticker for krc20" }, "decimalPlaces": { "type": "string", "description": "decimals" }, "isBaseToken": { "type": "boolean", "description": "the asset can be used only used as base token if true" }, "displayName": { "type": "string", "description": "display name", "nullable": true }, "assetSymbol": { "type": "string", "description": "symbol" }, "subAssets": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.SubAssetInfoDto" }, "description": "sub assets", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.SubAssetInfoDto": { "required": ["assetId", "chainAssetType", "contractAddress", "decimalPlaces"], "type": "object", "properties": { "assetId": { "type": "string", "description": "ID of the asset." }, "chainId": { "type": "string", "description": "ID of chain" }, "chainAssetType": { "type": "string", "description": "Chain asset type" }, "contractAddress": { "type": "string", "description": "address of smart contract. e.g., eth address for erc20, ticker for krc20" }, "decimalPlaces": { "type": "string", "description": "decimals" } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.SubmitOrderResult": { "type": "object", "properties": { "txHash": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.SystemInfo": { "type": "object", "properties": { "timestamp": { "type": "integer", "description": "the current timestamp in milliseconds since the Unix epoch.", "format": "int64" } }, "additionalProperties": false, "description": "system information" }, "Ex3.Exchange.OpenApi.AppServices.WalletRegistrationInfo": { "type": "object", "properties": { "hin": { "type": "string", "nullable": true } }, "additionalProperties": false }, "Ex3.Exchange.OpenApi.AppServices.WithdrawOutput": { "type": "object", "properties": { "txHash": { "type": "string", "description": "The transaction hash of the withdrawal.", "nullable": true } }, "additionalProperties": false, "description": "Output model for a withdrawal operation." }, "Ex3.Models.Ex3KeyPair": { "type": "object", "properties": { "privateKeyHex": { "type": "string" }, "publicKeyHex": { "type": "string" }, "schema": { "$ref": "#/components/schemas/Ex3.Models.SignaturesSchema" } }, "additionalProperties": false }, "Ex3.Models.KLine.TickSpace": { "enum": [1, 2, 3, 4, 5, 6, 7, 8, 9], "type": "integer", "format": "int32", "x-enumNames": [ "OneMinute", "FiveMinutes", "FifteenMinutes", "ThirtyMinutes", "OneHour", "FourHours", "OneDay", "OneWeek", "OneMonth" ], "x-enum-varnames": [ "OneMinute", "FiveMinutes", "FifteenMinutes", "ThirtyMinutes", "OneHour", "FourHours", "OneDay", "OneWeek", "OneMonth" ], "x-enumDescriptions": [ null, "OneMinute", "FiveMinutes", "FifteenMinutes", "ThirtyMinutes", "OneHour", "FourHours", "OneDay", "OneWeek", "OneMonth" ] }, "Ex3.Models.OrderCategory": { "enum": [0, 1], "type": "integer", "description": "Order category", "format": "int32", "x-enumNames": ["SpotLimitOrder", "SpotSwapOrder"], "x-enum-varnames": ["SpotLimitOrder", "SpotSwapOrder"], "x-enumDescriptions": ["SpotLimitOrder", "SpotSwapOrder"] }, "Ex3.Models.OrderSide": { "enum": [1, 2], "type": "integer", "description": "Order side", "format": "int32", "x-enumNames": ["Ask", "Bid"], "x-enum-varnames": ["Ask", "Bid"], "x-enumDescriptions": [null, "Ask", "Bid"] }, "Ex3.Models.SignaturesSchema": { "enum": [1], "type": "integer", "format": "int32", "x-enumNames": ["Secp256k1"], "x-enum-varnames": ["Secp256k1"], "x-enumDescriptions": [null, "Secp256k1"] }, "Ex3.Repository.History.Entities.OrderStatus": { "enum": [0, 1, 2], "type": "integer", "format": "int32", "x-enumNames": ["Created", "Fulfilled", "Cancelled"], "x-enum-varnames": ["Created", "Fulfilled", "Cancelled"], "x-enumDescriptions": ["Created", "Fulfilled", "Cancelled"] }, "Ex3.Repository.WithdrawalStatus": { "enum": [0, 1], "type": "integer", "format": "int32", "x-enumNames": ["Pending", "Completed"], "x-enum-varnames": ["Pending", "Completed"], "x-enumDescriptions": ["Pending", "Completed"] }, "Ex3.Transactions.L2Request": { "type": "object", "properties": { "type": { "type": "string" }, "userId": { "type": "string" }, "nonce": { "type": "string" }, "message": { "type": "string" }, "hash": { "type": "string" }, "signature": { "type": "string" } }, "additionalProperties": false }, "Ex3.Transactions.SwapV2ExactTokensType": { "enum": [0, 1], "type": "integer", "format": "int32", "x-enumNames": ["Source", "Target"], "x-enum-varnames": ["Source", "Target"], "x-enumDescriptions": ["Source", "Target"] }, "Microsoft.AspNetCore.Mvc.EmptyResult": { "type": "object", "additionalProperties": false }, "Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.KlineItem" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketInfoItem" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.MarketTradingHistoryItem" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto, Ex3.Exchange.OpenApi.Abstraction, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.Abstraction.Dtos.WalletOrderDto" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "Volo.Abp.Application.Dtos.PagedResultDto`1[[Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto, Ex3.Exchange.OpenApi.AppServices, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { "type": "object", "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/Ex3.Exchange.OpenApi.AppServices.RootAssetInfoDto" }, "nullable": true }, "totalCount": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "Volo.Abp.Http.RemoteServiceErrorInfo": { "type": "object", "properties": { "code": { "type": "string", "nullable": true }, "message": { "type": "string", "nullable": true }, "details": { "type": "string", "nullable": true }, "data": { "type": "object", "additionalProperties": {}, "nullable": true }, "validationErrors": { "type": "array", "items": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceValidationErrorInfo" }, "nullable": true } }, "additionalProperties": false }, "Volo.Abp.Http.RemoteServiceErrorResponse": { "type": "object", "properties": { "error": { "$ref": "#/components/schemas/Volo.Abp.Http.RemoteServiceErrorInfo" } }, "additionalProperties": false }, "Volo.Abp.Http.RemoteServiceValidationErrorInfo": { "type": "object", "properties": { "message": { "type": "string", "nullable": true }, "members": { "type": "array", "items": { "type": "string" }, "nullable": true } }, "additionalProperties": false }, "Volo.Abp.Localization.LanguageInfo": { "type": "object", "properties": { "cultureName": { "type": "string", "nullable": true }, "uiCultureName": { "type": "string", "nullable": true }, "displayName": { "type": "string", "nullable": true }, "twoLetterISOLanguageName": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Volo.Abp.NameValue": { "type": "object", "properties": { "name": { "type": "string", "nullable": true }, "value": { "type": "string", "nullable": true } }, "additionalProperties": false } } } }