diff --git a/docs/pages/api/marketplace/rpc.gen.yaml b/docs/pages/api/marketplace/rpc.gen.yaml index 2553f95cde5..2a8d806724c 100644 --- a/docs/pages/api/marketplace/rpc.gen.yaml +++ b/docs/pages/api/marketplace/rpc.gen.yaml @@ -1,8 +1,8 @@ -# marketplace-api f1c4f0cba4a4dea86b85d07bd8327bf61921f911 +# marketplace-api dfdcac6b6468ca4b1522c63d709017e3467759d8 # -- -# Code generated by webrpc-gen@v0.21.0 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.25.1 with openapi generator; DO NOT EDIT # -# webrpc-gen -service=Marketplace -ignore=@internal -schema=proto/marketplace.ridl -target=openapi -title=Marketplace Api -servers=https://marketplace-api.sequence.app/amoy;Amoy Marketplace API,https://marketplace-api.sequence.app/apechain;Apechain Marketplace API,https://marketplace-api.sequence.app/apechain-testnet;Apechain-Testnet Marketplace API,https://marketplace-api.sequence.app/arbitrum;Arbitrum Marketplace API,https://marketplace-api.sequence.app/arbitrum-nova;Arbitrum-Nova Marketplace API,https://marketplace-api.sequence.app/arbitrum-sepolia;Arbitrum-Sepolia Marketplace API,https://marketplace-api.sequence.app/avalanche;Avalanche Marketplace API,https://marketplace-api.sequence.app/avalanche-testnet;Avalanche-Testnet Marketplace API,https://marketplace-api.sequence.app/b3;B3 Marketplace API,https://marketplace-api.sequence.app/b3-sepolia;B3-Sepolia Marketplace API,https://marketplace-api.sequence.app/base;Base Marketplace API,https://marketplace-api.sequence.app/base-sepolia;Base-Sepolia Marketplace API,https://marketplace-api.sequence.app/blast;Blast Marketplace API,https://marketplace-api.sequence.app/blast-sepolia;Blast-Sepolia Marketplace API,https://marketplace-api.sequence.app/borne-testnet;Borne-Testnet Marketplace API,https://marketplace-api.sequence.app/bsc;Bsc Marketplace API,https://marketplace-api.sequence.app/bsc-testnet;Bsc-Testnet Marketplace API,https://marketplace-api.sequence.app/gnosis;Gnosis Marketplace API,https://marketplace-api.sequence.app/homeverse;Homeverse Marketplace API,https://marketplace-api.sequence.app/homeverse-testnet;Homeverse-Testnet Marketplace API,https://marketplace-api.sequence.app/immutable-zkevm;Immutable-Zkevm Marketplace API,https://marketplace-api.sequence.app/immutable-zkevm-testnet;Immutable-Zkevm-Testnet Marketplace API,https://marketplace-api.sequence.app/mainnet;Mainnet Marketplace API,https://marketplace-api.sequence.app/optimism;Optimism Marketplace API,https://marketplace-api.sequence.app/optimism-sepolia;Optimism-Sepolia Marketplace API,https://marketplace-api.sequence.app/polygon;Polygon Marketplace API,https://marketplace-api.sequence.app/polygon-zkevm;Polygon-Zkevm Marketplace API,https://marketplace-api.sequence.app/rootnet;Rootnet Marketplace API,https://marketplace-api.sequence.app/rootnet-porcini;Rootnet-Porcini Marketplace API,https://marketplace-api.sequence.app/sepolia;Sepolia Marketplace API,https://marketplace-api.sequence.app/skale-nebula;Skale-Nebula Marketplace API,https://marketplace-api.sequence.app/skale-nebula-testnet;Skale-Nebula-Testnet Marketplace API,https://marketplace-api.sequence.app/soneium-minato;Soneium-Minato Marketplace API,https://marketplace-api.sequence.app/toy-testnet;Toy-Testnet Marketplace API,https://marketplace-api.sequence.app/xai;Xai Marketplace API,https://marketplace-api.sequence.app/xai-sepolia;Xai-Sepolia Marketplace API,https://marketplace-api.sequence.app/xr-sepolia;Xr-Sepolia Marketplace API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/marketplace.gen.yaml +# webrpc-gen -service=Marketplace -ignore=@internal -schema=proto/marketplace.ridl -target=openapi -title=Marketplace Api -servers=https://marketplace-api.sequence.app/amoy;Amoy Marketplace API,https://marketplace-api.sequence.app/apechain;Apechain Marketplace API,https://marketplace-api.sequence.app/apechain-testnet;Apechain-Testnet Marketplace API,https://marketplace-api.sequence.app/arbitrum;Arbitrum Marketplace API,https://marketplace-api.sequence.app/arbitrum-nova;Arbitrum-Nova Marketplace API,https://marketplace-api.sequence.app/arbitrum-sepolia;Arbitrum-Sepolia Marketplace API,https://marketplace-api.sequence.app/avalanche;Avalanche Marketplace API,https://marketplace-api.sequence.app/avalanche-testnet;Avalanche-Testnet Marketplace API,https://marketplace-api.sequence.app/b3;B3 Marketplace API,https://marketplace-api.sequence.app/b3-sepolia;B3-Sepolia Marketplace API,https://marketplace-api.sequence.app/base;Base Marketplace API,https://marketplace-api.sequence.app/base-sepolia;Base-Sepolia Marketplace API,https://marketplace-api.sequence.app/blast;Blast Marketplace API,https://marketplace-api.sequence.app/blast-sepolia;Blast-Sepolia Marketplace API,https://marketplace-api.sequence.app/bsc;Bsc Marketplace API,https://marketplace-api.sequence.app/bsc-testnet;Bsc-Testnet Marketplace API,https://marketplace-api.sequence.app/etherlink;Etherlink Marketplace API,https://marketplace-api.sequence.app/etherlink-testnet;Etherlink-Testnet Marketplace API,https://marketplace-api.sequence.app/gnosis;Gnosis Marketplace API,https://marketplace-api.sequence.app/homeverse;Homeverse Marketplace API,https://marketplace-api.sequence.app/homeverse-testnet;Homeverse-Testnet Marketplace API,https://marketplace-api.sequence.app/immutable-zkevm;Immutable-Zkevm Marketplace API,https://marketplace-api.sequence.app/immutable-zkevm-testnet;Immutable-Zkevm-Testnet Marketplace API,https://marketplace-api.sequence.app/laos;Laos Marketplace API,https://marketplace-api.sequence.app/laos-sigma-testnet;Laos-Sigma-Testnet Marketplace API,https://marketplace-api.sequence.app/mainnet;Mainnet Marketplace API,https://marketplace-api.sequence.app/monad-testnet;Monad-Testnet Marketplace API,https://marketplace-api.sequence.app/moonbase-alpha;Moonbase-Alpha Marketplace API,https://marketplace-api.sequence.app/moonbeam;Moonbeam Marketplace API,https://marketplace-api.sequence.app/optimism;Optimism Marketplace API,https://marketplace-api.sequence.app/optimism-sepolia;Optimism-Sepolia Marketplace API,https://marketplace-api.sequence.app/polygon;Polygon Marketplace API,https://marketplace-api.sequence.app/polygon-zkevm;Polygon-Zkevm Marketplace API,https://marketplace-api.sequence.app/rootnet;Rootnet Marketplace API,https://marketplace-api.sequence.app/rootnet-porcini;Rootnet-Porcini Marketplace API,https://marketplace-api.sequence.app/sepolia;Sepolia Marketplace API,https://marketplace-api.sequence.app/skale-nebula;Skale-Nebula Marketplace API,https://marketplace-api.sequence.app/skale-nebula-testnet;Skale-Nebula-Testnet Marketplace API,https://marketplace-api.sequence.app/somnia-testnet;Somnia-Testnet Marketplace API,https://marketplace-api.sequence.app/soneium;Soneium Marketplace API,https://marketplace-api.sequence.app/soneium-minato;Soneium-Minato Marketplace API,https://marketplace-api.sequence.app/telos;Telos Marketplace API,https://marketplace-api.sequence.app/telos-testnet;Telos-Testnet Marketplace API,https://marketplace-api.sequence.app/toy-testnet;Toy-Testnet Marketplace API,https://marketplace-api.sequence.app/xai;Xai Marketplace API,https://marketplace-api.sequence.app/xai-sepolia;Xai-Sepolia Marketplace API,https://marketplace-api.sequence.app/xr-sepolia;Xr-Sepolia Marketplace API,https://marketplace-api.sequence.app/xr1;Xr1 Marketplace API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/marketplace.gen.yaml openapi: 3.0.0 info: title: 'Marketplace Api' @@ -36,12 +36,14 @@ servers: description: 'Blast Marketplace API' - url: 'https://marketplace-api.sequence.app/blast-sepolia' description: 'Blast-Sepolia Marketplace API' - - url: 'https://marketplace-api.sequence.app/borne-testnet' - description: 'Borne-Testnet Marketplace API' - url: 'https://marketplace-api.sequence.app/bsc' description: 'Bsc Marketplace API' - url: 'https://marketplace-api.sequence.app/bsc-testnet' description: 'Bsc-Testnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/etherlink' + description: 'Etherlink Marketplace API' + - url: 'https://marketplace-api.sequence.app/etherlink-testnet' + description: 'Etherlink-Testnet Marketplace API' - url: 'https://marketplace-api.sequence.app/gnosis' description: 'Gnosis Marketplace API' - url: 'https://marketplace-api.sequence.app/homeverse' @@ -52,8 +54,18 @@ servers: description: 'Immutable-Zkevm Marketplace API' - url: 'https://marketplace-api.sequence.app/immutable-zkevm-testnet' description: 'Immutable-Zkevm-Testnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/laos' + description: 'Laos Marketplace API' + - url: 'https://marketplace-api.sequence.app/laos-sigma-testnet' + description: 'Laos-Sigma-Testnet Marketplace API' - url: 'https://marketplace-api.sequence.app/mainnet' description: 'Mainnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/monad-testnet' + description: 'Monad-Testnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/moonbase-alpha' + description: 'Moonbase-Alpha Marketplace API' + - url: 'https://marketplace-api.sequence.app/moonbeam' + description: 'Moonbeam Marketplace API' - url: 'https://marketplace-api.sequence.app/optimism' description: 'Optimism Marketplace API' - url: 'https://marketplace-api.sequence.app/optimism-sepolia' @@ -72,8 +84,16 @@ servers: description: 'Skale-Nebula Marketplace API' - url: 'https://marketplace-api.sequence.app/skale-nebula-testnet' description: 'Skale-Nebula-Testnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/somnia-testnet' + description: 'Somnia-Testnet Marketplace API' + - url: 'https://marketplace-api.sequence.app/soneium' + description: 'Soneium Marketplace API' - url: 'https://marketplace-api.sequence.app/soneium-minato' description: 'Soneium-Minato Marketplace API' + - url: 'https://marketplace-api.sequence.app/telos' + description: 'Telos Marketplace API' + - url: 'https://marketplace-api.sequence.app/telos-testnet' + description: 'Telos-Testnet Marketplace API' - url: 'https://marketplace-api.sequence.app/toy-testnet' description: 'Toy-Testnet Marketplace API' - url: 'https://marketplace-api.sequence.app/xai' @@ -82,6 +102,8 @@ servers: description: 'Xai-Sepolia Marketplace API' - url: 'https://marketplace-api.sequence.app/xr-sepolia' description: 'Xr-Sepolia Marketplace API' + - url: 'https://marketplace-api.sequence.app/xr1' + description: 'Xr1 Marketplace API' components: securitySchemes: {ApiKeyAuth: {type: apiKey, in: header, description: 'Project access key for authenticating requests, get an access key at https://sequence.build', name: X-Access-Key}} schemas: @@ -691,24 +713,14 @@ components: - unknown - sequence_marketplace_v1 - sequence_marketplace_v2 + - blur + - zerox - opensea - - magic_eden - - mintify - looks_rare - x2y2 - - sudo_swap - - coinbase - - rarible - - nftx - - foundation - - manifold - - zora - - blur - - super_rare - - okx - - element - - aqua_xyz - - auranft_co + - alienswap + - payment_processor + - mintify OrderbookKind: type: string description: Represented as uint32 on the server side @@ -746,6 +758,7 @@ components: - expired - cancelled - filled + - decimals_missing ContractType: type: string description: Represented as uint16 on the server side @@ -754,12 +767,22 @@ components: - ERC20 - ERC721 - ERC1155 + CollectionPriority: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - low + - normal + - high CollectionStatus: type: string description: Represented as uint8 on the server side enum: - unknown - created + - syncing_contract_metadata + - synced_contract_metadata - syncing_metadata - synced_metadata - syncing_tokens @@ -768,6 +791,7 @@ components: - active - failed - inactive + - incompatible_type ProjectStatus: type: string description: Represented as uint8 on the server side @@ -782,6 +806,15 @@ components: - unknown - active - inactive + CurrencyStatus: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - created + - syncing_metadata + - active + - failed WalletKind: type: string description: Represented as uint8 on the server side @@ -800,6 +833,7 @@ components: - createOffer - signEIP712 - signEIP191 + - cancel TransactionCrypto: type: string description: Represented as uint32 on the server side @@ -833,6 +867,18 @@ components: enum: - unknown - order + ActivityAction: + type: string + description: Represented as uint8 on the server side + enum: + - unknown + - listing + - offer + - mint + - sale + - listingCancel + - offerCancel + - transfer Page: type: object required: @@ -928,20 +974,29 @@ components: description: '[]string' items: type: string + inCurrencyAddresses: + type: array + description: '[]string' + items: + type: string + notInCurrencyAddresses: + type: array + description: '[]string' + items: + type: string Order: type: object required: - id - collectionId - - collectibleId - orderId - marketplace - source - side - status - chainId + - originName - collectionContractAddress - - tokenId - createdBy - priceAmount - priceAmountFormatted @@ -950,6 +1005,7 @@ components: - priceCurrencyAddress - priceDecimals - priceUSD + - priceUSDFormatted - quantityInitial - quantityInitialFormatted - quantityRemaining @@ -983,6 +1039,8 @@ components: $ref: '#/components/schemas/OrderStatus' chainId: type: number + originName: + type: string collectionContractAddress: type: string tokenId: @@ -1003,6 +1061,8 @@ components: type: number priceUSD: type: number + priceUSDFormatted: + type: string quantityInitial: type: string quantityInitialFormatted: @@ -1062,6 +1122,10 @@ components: $ref: '#/components/schemas/TokenMetadata' order: $ref: '#/components/schemas/Order' + listing: + $ref: '#/components/schemas/Order' + offer: + $ref: '#/components/schemas/Order' OrderFilter: type: object properties: @@ -1080,36 +1144,6 @@ components: description: '[]string' items: type: string - Activity: - type: object - required: - - type - - fromAddress - - toAddress - - txHash - - timestamp - - tokenId - - tokenImage - - tokenName - properties: - type: - type: string - fromAddress: - type: string - toAddress: - type: string - txHash: - type: string - timestamp: - type: number - tokenId: - type: string - tokenImage: - type: string - tokenName: - type: string - currency: - $ref: '#/components/schemas/Currency' Collection: type: object required: @@ -1118,8 +1152,10 @@ components: - chainId - contractAddress - contractType + - priority - tokenQuantityDecimals - config + - syncContractMetadataJob - refreshMetadataJob - refreshMetadataTimestamp - createdAt @@ -1135,10 +1171,14 @@ components: type: string contractType: $ref: '#/components/schemas/ContractType' + priority: + $ref: '#/components/schemas/CollectionPriority' tokenQuantityDecimals: type: number config: $ref: '#/components/schemas/CollectionConfig' + syncContractMetadataJob: + type: number refreshMetadataJob: type: number refreshMetadataTimestamp: @@ -1154,6 +1194,8 @@ components: required: - lastSynced - collectiblesSynced + - activitiesSynced + - activitiesSyncedContinuity properties: lastSynced: type: object @@ -1162,6 +1204,10 @@ components: $ref: '#/components/schemas/CollectionLastSynced' collectiblesSynced: type: string + activitiesSynced: + type: string + activitiesSyncedContinuity: + type: string CollectionLastSynced: type: object required: @@ -1211,6 +1257,7 @@ components: - contractAddress - status - tokenId + - decimals - createdAt - updatedAt properties: @@ -1226,6 +1273,8 @@ components: $ref: '#/components/schemas/CollectibleStatus' tokenId: type: string + decimals: + type: number createdAt: type: string updatedAt: @@ -1238,6 +1287,7 @@ components: - id - chainId - contractAddress + - status - name - symbol - decimals @@ -1247,6 +1297,7 @@ components: - nativeCurrency - createdAt - updatedAt + - refreshMetadataJob properties: id: type: number @@ -1254,6 +1305,8 @@ components: type: number contractAddress: type: string + status: + $ref: '#/components/schemas/CurrencyStatus' name: type: string symbol: @@ -1274,6 +1327,8 @@ components: type: string deletedAt: type: string + refreshMetadataJob: + type: number OrderData: type: object required: @@ -1284,6 +1339,8 @@ components: type: string quantity: type: string + tokenId: + type: string AdditionalFee: type: object required: @@ -1301,6 +1358,7 @@ components: - data - to - value + - price properties: id: $ref: '#/components/schemas/StepType' @@ -1310,6 +1368,8 @@ components: type: string value: type: string + price: + type: string signature: $ref: '#/components/schemas/Signature' post: @@ -1441,8 +1501,80 @@ components: description: '[]TransactionOnRampProvider' items: $ref: '#/components/schemas/TransactionOnRampProvider' + Activity: + type: object + required: + - id + - collectionId + - collectibleId + - chainId + - contractAddress + - tokenId + - action + - txHash + - source + - from + - quantity + - quantityDecimals + - activityCreatedAt + - logIndex + - uniqueHash + - createdAt + - updatedAt + properties: + id: + type: number + collectionId: + type: number + collectibleId: + type: number + chainId: + type: number + contractAddress: + type: string + tokenId: + type: string + action: + $ref: '#/components/schemas/ActivityAction' + txHash: + type: string + source: + $ref: '#/components/schemas/SourceKind' + from: + type: string + to: + type: string + quantity: + type: string + quantityDecimals: + type: number + priceAmount: + type: string + priceAmountFormatted: + type: string + priceCurrencyAddress: + type: string + priceDecimals: + type: number + activityCreatedAt: + type: string + logIndex: + type: number + uniqueHash: + type: string + createdAt: + type: string + updatedAt: + type: string + deletedAt: + type: string Marketplace_ListCurrencies_Request: type: object + Marketplace_GetCollectionDetail_Request: + type: object + properties: + contractAddress: + type: string Marketplace_GetCollectible_Request: type: object properties: @@ -1508,6 +1640,24 @@ components: $ref: '#/components/schemas/OrderFilter' page: $ref: '#/components/schemas/Page' + Marketplace_GetCountOfListingsForCollectible_Request: + type: object + properties: + contractAddress: + type: string + tokenId: + type: string + filter: + $ref: '#/components/schemas/OrderFilter' + Marketplace_GetCountOfOffersForCollectible_Request: + type: object + properties: + contractAddress: + type: string + tokenId: + type: string + filter: + $ref: '#/components/schemas/OrderFilter' Marketplace_GetCollectibleLowestOffer_Request: type: object properties: @@ -1638,6 +1788,17 @@ components: $ref: '#/components/schemas/CreateReq' walletType: $ref: '#/components/schemas/WalletKind' + Marketplace_GenerateCancelTransaction_Request: + type: object + properties: + collectionAddress: + type: string + maker: + type: string + marketplace: + $ref: '#/components/schemas/MarketplaceKind' + orderId: + type: string Marketplace_Execute_Request: type: object properties: @@ -1679,6 +1840,22 @@ components: type: string filter: $ref: '#/components/schemas/CollectiblesFilter' + Marketplace_ListCollectionActivities_Request: + type: object + properties: + contractAddress: + type: string + page: + $ref: '#/components/schemas/Page' + Marketplace_ListCollectibleActivities_Request: + type: object + properties: + contractAddress: + type: string + tokenId: + type: string + page: + $ref: '#/components/schemas/Page' Marketplace_ListCollectiblesWithLowestListing_Request: type: object properties: @@ -1741,6 +1918,11 @@ components: description: '[]Currency' items: $ref: '#/components/schemas/Currency' + Marketplace_GetCollectionDetail_Response: + type: object + properties: + collection: + $ref: '#/components/schemas/Collection' Marketplace_GetCollectible_Response: type: object properties: @@ -1786,6 +1968,16 @@ components: $ref: '#/components/schemas/Order' page: $ref: '#/components/schemas/Page' + Marketplace_GetCountOfListingsForCollectible_Response: + type: object + properties: + count: + type: number + Marketplace_GetCountOfOffersForCollectible_Response: + type: object + properties: + count: + type: number Marketplace_GetCollectibleLowestOffer_Response: type: object properties: @@ -1858,6 +2050,14 @@ components: description: '[]Step' items: $ref: '#/components/schemas/Step' + Marketplace_GenerateCancelTransaction_Response: + type: object + properties: + steps: + type: array + description: '[]Step' + items: + $ref: '#/components/schemas/Step' Marketplace_Execute_Response: type: object properties: @@ -1888,6 +2088,26 @@ components: properties: collectible: $ref: '#/components/schemas/CollectibleOrder' + Marketplace_ListCollectionActivities_Response: + type: object + properties: + activities: + type: array + description: '[]Activity' + items: + $ref: '#/components/schemas/Activity' + page: + $ref: '#/components/schemas/Page' + Marketplace_ListCollectibleActivities_Response: + type: object + properties: + activities: + type: array + description: '[]Activity' + items: + $ref: '#/components/schemas/Activity' + page: + $ref: '#/components/schemas/Page' Marketplace_ListCollectiblesWithLowestListing_Response: type: object properties: @@ -1931,7 +2151,9 @@ components: paths: /rpc/Marketplace/ListCurrencies: post: - summary: ListCurrencies + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -1978,9 +2200,62 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/GetCollectionDetail: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCollectionDetail_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCollectionDetail_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCollectible: post: - summary: GetCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2029,7 +2304,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetLowestPriceOfferForCollectible: post: - summary: GetLowestPriceOfferForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2078,7 +2355,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetHighestPriceOfferForCollectible: post: - summary: GetHighestPriceOfferForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2127,7 +2406,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetLowestPriceListingForCollectible: post: - summary: GetLowestPriceListingForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2176,7 +2457,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetHighestPriceListingForCollectible: post: - summary: GetHighestPriceListingForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2225,7 +2508,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListListingsForCollectible: post: - summary: ListListingsForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2274,7 +2559,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListOffersForCollectible: post: - summary: ListOffersForCollectible + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2321,12 +2608,114 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/GetCountOfListingsForCollectible: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCountOfListingsForCollectible_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/GetCountOfOffersForCollectible: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GetCountOfOffersForCollectible_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCollectibleLowestOffer: post: - summary: GetCollectibleLowestOffer + summary: "Deprecated: Please use GetLowestPriceOfferForCollectible instead." deprecated: true security: - - ApiKeyAuth: [] + - Public: [] requestBody: content: application/json: @@ -2375,9 +2764,10 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCollectibleHighestOffer: post: - summary: GetCollectibleHighestOffer + summary: "Deprecated: Please use GetHighestPriceOfferForCollectible instead." deprecated: true - description: "This endpoint is deprecated. Please use GetHighestPriceOfferForCollectible()" + security: + - Public: [] requestBody: content: application/json: @@ -2426,9 +2816,10 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCollectibleLowestListing: post: - summary: GetCollectibleLowestListing + summary: "Deprecated: Please use GetLowestPriceListingForCollectible instead." deprecated: true - description: "This endpoint is deprecated. Please use GetLowestPriceListingForCollectible()" + security: + - Public: [] requestBody: content: application/json: @@ -2477,9 +2868,10 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCollectibleHighestListing: post: - summary: GetCollectibleHighestListing + summary: "Deprecated: Please use GetHighestPriceListingForCollectible instead." deprecated: true - description: "This endpoint is deprecated. Please use GetHighestPriceListingForCollectible()" + security: + - Public: [] requestBody: content: application/json: @@ -2528,9 +2920,10 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListCollectibleListings: post: - summary: ListCollectibleListings + summary: "Deprecated: Please use ListListingsForCollectible instead." deprecated: true - description: "This endpoint is deprecated. Please use ListListingsForCollectible()" + security: + - Public: [] requestBody: content: application/json: @@ -2579,9 +2972,10 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListCollectibleOffers: post: - summary: ListCollectibleOffers + summary: "Deprecated: Please use ListOffersForCollectible instead." deprecated: true - description: "This endpoint is deprecated. Please use ListOffersForCollectible()" + security: + - Public: [] requestBody: content: application/json: @@ -2630,8 +3024,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GenerateBuyTransaction: post: - summary: GenerateBuyTransaction - description: "checkout process" + summary: "checkout process" + security: + - Public: [] requestBody: content: application/json: @@ -2680,7 +3075,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GenerateSellTransaction: post: - summary: GenerateSellTransaction + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2729,7 +3126,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GenerateListingTransaction: post: - summary: GenerateListingTransaction + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2778,7 +3177,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GenerateOfferTransaction: post: - summary: GenerateOfferTransaction + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2825,10 +3226,62 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/GenerateCancelTransaction: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GenerateCancelTransaction_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_GenerateCancelTransaction_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/Execute: post: - summary: Execute - description: "only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market" + summary: "only used in a case of external transactions ( when we create off-chain transactions ) for instance opensea market" + security: + - Public: [] requestBody: content: application/json: @@ -2877,7 +3330,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListCollectibles: post: - summary: ListCollectibles + summary: "list of collectibles with best order for each collectible, by default this only returns collectibles with an order" + security: + - Public: [] requestBody: content: application/json: @@ -2926,7 +3381,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCountOfAllCollectibles: post: - summary: GetCountOfAllCollectibles + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -2975,7 +3432,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetCountOfFilteredCollectibles: post: - summary: GetCountOfFilteredCollectibles + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3024,7 +3483,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetFloorOrder: post: - summary: GetFloorOrder + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3071,11 +3532,113 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/ListCollectionActivities: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_ListCollectionActivities_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_ListCollectionActivities_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' + /rpc/Marketplace/ListCollectibleActivities: + post: + summary: "" + security: + - Public: [] + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_ListCollectibleActivities_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Marketplace_ListCollectibleActivities_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUserNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorInvalidTier' + - $ref: '#/components/schemas/ErrorProjectLimitReached' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListCollectiblesWithLowestListing: post: - summary: ListCollectiblesWithLowestListing - deprecated: true - description: "Deprecated use ListCollectibles() with OrderSide = Listing" + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3124,9 +3687,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/ListCollectiblesWithHighestOffer: post: - summary: ListCollectiblesWithHighestOffer - deprecated: true - description: "Deprecated use ListCollectibles() with OrderSide = Offer" + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3175,7 +3738,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/GetOrders: post: - summary: GetOrders + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3224,7 +3789,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/CheckoutOptionsMarketplace: post: - summary: CheckoutOptionsMarketplace + summary: "" + security: + - Public: [] requestBody: content: application/json: @@ -3273,7 +3840,9 @@ paths: - $ref: '#/components/schemas/ErrorNotImplemented' /rpc/Marketplace/CheckoutOptionsSalesContract: post: - summary: CheckoutOptionsSalesContract + summary: "" + security: + - Public: [] requestBody: content: application/json: