From 321b4ebae51f017efb129d107a72e188d56446d2 Mon Sep 17 00:00:00 2001 From: LukasJenicek <6400599+LukasJenicek@users.noreply.github.com> Date: Fri, 11 Oct 2024 10:27:49 +0000 Subject: [PATCH] [AUTOMATED] Update: proto/docs/indexer.gen.yaml --- docs/pages/api/indexer/indexer.gen.yaml | 3501 +++++++++++++++++++++++ 1 file changed, 3501 insertions(+) create mode 100644 docs/pages/api/indexer/indexer.gen.yaml diff --git a/docs/pages/api/indexer/indexer.gen.yaml b/docs/pages/api/indexer/indexer.gen.yaml new file mode 100644 index 0000000000..a9bbac6357 --- /dev/null +++ b/docs/pages/api/indexer/indexer.gen.yaml @@ -0,0 +1,3501 @@ +# sequence-indexer v0.4.0 e1e4ec700d4efd018bf8617e696c5cf5189b8665 +# -- +# Code generated by webrpc-gen@v0.20.3 with openapi generator; DO NOT EDIT +# +# webrpc-gen -service=Indexer -ignore=@internal -schema=proto/indexer.ridl -target=openapi -title=Sequence Indexer -servers=https://amoy-indexer.sequence.app;Amoy Mainnet,https://apechain-mainnet-indexer.sequence.app;Apechain-Mainnet Mainnet,https://apechain-testnet-indexer.sequence.app;Apechain-Testnet Mainnet,https://arbitrum-indexer.sequence.app;Arbitrum Mainnet,https://arbitrum-nova-indexer.sequence.app;Arbitrum-Nova Mainnet,https://arbitrum-sepolia-indexer.sequence.app;Arbitrum-Sepolia Mainnet,https://astar-zkevm-indexer.sequence.app;Astar-Zkevm Mainnet,https://astar-zkyoto-indexer.sequence.app;Astar-Zkyoto Mainnet,https://avalanche-indexer.sequence.app;Avalanche Mainnet,https://avalanche-testnet-indexer.sequence.app;Avalanche-Testnet Mainnet,https://b3-indexer.sequence.app;B3 Mainnet,https://b3-sepolia-indexer.sequence.app;B3-Sepolia Mainnet,https://base-indexer.sequence.app;Base Mainnet,https://base-sepolia-indexer.sequence.app;Base-Sepolia Mainnet,https://blast-indexer.sequence.app;Blast Mainnet,https://blast-sepolia-indexer.sequence.app;Blast-Sepolia Mainnet,https://borne-testnet-indexer.sequence.app;Borne-Testnet Mainnet,https://bsc-indexer.sequence.app;Bsc Mainnet,https://bsc-testnet-indexer.sequence.app;Bsc-Testnet Mainnet,https://gnosis-indexer.sequence.app;Gnosis Mainnet,https://homeverse-indexer.sequence.app;Homeverse Mainnet,https://homeverse-testnet-indexer.sequence.app;Homeverse-Testnet Mainnet,https://immutable-zkevm-indexer.sequence.app;Immutable-Zkevm Mainnet,https://immutable-zkevm-testnet-indexer.sequence.app;Immutable-Zkevm-Testnet Mainnet,https://imx-indexer.sequence.app;Imx Mainnet,https://imx-testnet-indexer.sequence.app;Imx-Testnet Mainnet,https://mainnet-indexer.sequence.app;Mainnet Mainnet,https://optimism-indexer.sequence.app;Optimism Mainnet,https://optimism-sepolia-indexer.sequence.app;Optimism-Sepolia Mainnet,https://polygon-indexer.sequence.app;Polygon Mainnet,https://polygon-zkevm-indexer.sequence.app;Polygon-Zkevm Mainnet,https://rootnet-indexer.sequence.app;Rootnet Mainnet,https://rootnet-porcini-indexer.sequence.app;Rootnet-Porcini Mainnet,https://sepolia-indexer.sequence.app;Sepolia Mainnet,https://skale-nebula-testnet-indexer.sequence.app;Skale-Nebula-Testnet Mainnet,https://soneium-minato-indexer.sequence.app;Soneium-Minato Mainnet,https://toy-testnet-indexer.sequence.app;Toy-Testnet Mainnet,https://xai-indexer.sequence.app;Xai Mainnet,https://xai-sepolia-indexer.sequence.app;Xai-Sepolia Mainnet,https://xr-sepolia-indexer.sequence.app;Xr-Sepolia Mainnet -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/indexer.gen.yaml +openapi: 3.0.0 +info: + title: 'Sequence Indexer' + version: '' +servers: + - url: 'https://amoy-indexer.sequence.app' + description: 'Amoy Mainnet' + - url: 'https://apechain-mainnet-indexer.sequence.app' + description: 'Apechain-Mainnet Mainnet' + - url: 'https://apechain-testnet-indexer.sequence.app' + description: 'Apechain-Testnet Mainnet' + - url: 'https://arbitrum-indexer.sequence.app' + description: 'Arbitrum Mainnet' + - url: 'https://arbitrum-nova-indexer.sequence.app' + description: 'Arbitrum-Nova Mainnet' + - url: 'https://arbitrum-sepolia-indexer.sequence.app' + description: 'Arbitrum-Sepolia Mainnet' + - url: 'https://astar-zkevm-indexer.sequence.app' + description: 'Astar-Zkevm Mainnet' + - url: 'https://astar-zkyoto-indexer.sequence.app' + description: 'Astar-Zkyoto Mainnet' + - url: 'https://avalanche-indexer.sequence.app' + description: 'Avalanche Mainnet' + - url: 'https://avalanche-testnet-indexer.sequence.app' + description: 'Avalanche-Testnet Mainnet' + - url: 'https://b3-indexer.sequence.app' + description: 'B3 Mainnet' + - url: 'https://b3-sepolia-indexer.sequence.app' + description: 'B3-Sepolia Mainnet' + - url: 'https://base-indexer.sequence.app' + description: 'Base Mainnet' + - url: 'https://base-sepolia-indexer.sequence.app' + description: 'Base-Sepolia Mainnet' + - url: 'https://blast-indexer.sequence.app' + description: 'Blast Mainnet' + - url: 'https://blast-sepolia-indexer.sequence.app' + description: 'Blast-Sepolia Mainnet' + - url: 'https://borne-testnet-indexer.sequence.app' + description: 'Borne-Testnet Mainnet' + - url: 'https://bsc-indexer.sequence.app' + description: 'Bsc Mainnet' + - url: 'https://bsc-testnet-indexer.sequence.app' + description: 'Bsc-Testnet Mainnet' + - url: 'https://gnosis-indexer.sequence.app' + description: 'Gnosis Mainnet' + - url: 'https://homeverse-indexer.sequence.app' + description: 'Homeverse Mainnet' + - url: 'https://homeverse-testnet-indexer.sequence.app' + description: 'Homeverse-Testnet Mainnet' + - url: 'https://immutable-zkevm-indexer.sequence.app' + description: 'Immutable-Zkevm Mainnet' + - url: 'https://immutable-zkevm-testnet-indexer.sequence.app' + description: 'Immutable-Zkevm-Testnet Mainnet' + - url: 'https://imx-indexer.sequence.app' + description: 'Imx Mainnet' + - url: 'https://imx-testnet-indexer.sequence.app' + description: 'Imx-Testnet Mainnet' + - url: 'https://mainnet-indexer.sequence.app' + description: 'Mainnet Mainnet' + - url: 'https://optimism-indexer.sequence.app' + description: 'Optimism Mainnet' + - url: 'https://optimism-sepolia-indexer.sequence.app' + description: 'Optimism-Sepolia Mainnet' + - url: 'https://polygon-indexer.sequence.app' + description: 'Polygon Mainnet' + - url: 'https://polygon-zkevm-indexer.sequence.app' + description: 'Polygon-Zkevm Mainnet' + - url: 'https://rootnet-indexer.sequence.app' + description: 'Rootnet Mainnet' + - url: 'https://rootnet-porcini-indexer.sequence.app' + description: 'Rootnet-Porcini Mainnet' + - url: 'https://sepolia-indexer.sequence.app' + description: 'Sepolia Mainnet' + - url: 'https://skale-nebula-testnet-indexer.sequence.app' + description: 'Skale-Nebula-Testnet Mainnet' + - url: 'https://soneium-minato-indexer.sequence.app' + description: 'Soneium-Minato Mainnet' + - url: 'https://toy-testnet-indexer.sequence.app' + description: 'Toy-Testnet Mainnet' + - url: 'https://xai-indexer.sequence.app' + description: 'Xai Mainnet' + - url: 'https://xai-sepolia-indexer.sequence.app' + description: 'Xai-Sepolia Mainnet' + - url: 'https://xr-sepolia-indexer.sequence.app' + description: 'Xr-Sepolia Mainnet' +components: + 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: + ErrorWebrpcEndpoint: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcEndpoint" + code: + type: number + example: 0 + msg: + type: string + example: "endpoint error" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcRequestFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcRequestFailed" + code: + type: number + example: -1 + msg: + type: string + example: "request failed" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadRoute: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRoute" + code: + type: number + example: -2 + msg: + type: string + example: "bad route" + cause: + type: string + status: + type: number + example: 404 + ErrorWebrpcBadMethod: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadMethod" + code: + type: number + example: -3 + msg: + type: string + example: "bad method" + cause: + type: string + status: + type: number + example: 405 + ErrorWebrpcBadRequest: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadRequest" + code: + type: number + example: -4 + msg: + type: string + example: "bad request" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcBadResponse: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcBadResponse" + code: + type: number + example: -5 + msg: + type: string + example: "bad response" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcServerPanic: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcServerPanic" + code: + type: number + example: -6 + msg: + type: string + example: "server panic" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcInternalError: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcInternalError" + code: + type: number + example: -7 + msg: + type: string + example: "internal error" + cause: + type: string + status: + type: number + example: 500 + ErrorWebrpcClientDisconnected: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcClientDisconnected" + code: + type: number + example: -8 + msg: + type: string + example: "client disconnected" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamLost: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamLost" + code: + type: number + example: -9 + msg: + type: string + example: "stream lost" + cause: + type: string + status: + type: number + example: 400 + ErrorWebrpcStreamFinished: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "WebrpcStreamFinished" + code: + type: number + example: -10 + msg: + type: string + example: "stream finished" + cause: + type: string + status: + type: number + example: 200 + ErrorUnauthorized: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Unauthorized" + code: + type: number + example: 1000 + msg: + type: string + example: "Unauthorized access" + cause: + type: string + status: + type: number + example: 401 + ErrorPermissionDenied: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "PermissionDenied" + code: + type: number + example: 1001 + msg: + type: string + example: "Permission denied" + cause: + type: string + status: + type: number + example: 403 + ErrorSessionExpired: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "SessionExpired" + code: + type: number + example: 1002 + msg: + type: string + example: "Session expired" + cause: + type: string + status: + type: number + example: 403 + ErrorMethodNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "MethodNotFound" + code: + type: number + example: 1003 + msg: + type: string + example: "Method not found" + cause: + type: string + status: + type: number + example: 404 + ErrorRequestConflict: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "RequestConflict" + code: + type: number + example: 1004 + msg: + type: string + example: "Conflict with target resource" + cause: + type: string + status: + type: number + example: 409 + ErrorAborted: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Aborted" + code: + type: number + example: 1005 + msg: + type: string + example: "Request aborted" + cause: + type: string + status: + type: number + example: 400 + ErrorTimeout: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Timeout" + code: + type: number + example: 2000 + msg: + type: string + example: "Request timed out" + cause: + type: string + status: + type: number + example: 408 + ErrorInvalidArgument: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "InvalidArgument" + code: + type: number + example: 2001 + msg: + type: string + example: "Invalid argument" + cause: + type: string + status: + type: number + example: 400 + ErrorUnavailable: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "Unavailable" + code: + type: number + example: 2002 + msg: + type: string + example: "Unavailable resource" + cause: + type: string + status: + type: number + example: 400 + ErrorQueryFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "QueryFailed" + code: + type: number + example: 2003 + msg: + type: string + example: "Query failed" + cause: + type: string + status: + type: number + example: 400 + ErrorResourceExhausted: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ResourceExhausted" + code: + type: number + example: 2004 + msg: + type: string + example: "Resource exhausted" + cause: + type: string + status: + type: number + example: 400 + ErrorNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "NotFound" + code: + type: number + example: 3000 + msg: + type: string + example: "Resource not found" + cause: + type: string + status: + type: number + example: 400 + ErrorProjectNotFound: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ProjectNotFound" + code: + type: number + example: 3002 + msg: + type: string + example: "Project not found" + cause: + type: string + status: + type: number + example: 400 + ErrorMetadataCallFailed: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "MetadataCallFailed" + code: + type: number + example: 3003 + msg: + type: string + example: "Metadata service call failed" + cause: + type: string + status: + type: number + example: 400 + ContractInfo: + type: object + required: + - chainId + - address + - name + - type + - symbol + - logoURI + - deployed + - bytecodeHash + - extensions + - contentHash + - updatedAt + properties: + chainId: + type: number + address: + type: string + name: + type: string + type: + type: string + symbol: + type: string + decimals: + type: number + logoURI: + type: string + deployed: + type: boolean + bytecodeHash: + type: string + extensions: + $ref: '#/components/schemas/ContractInfoExtensions' + contentHash: + type: number + updatedAt: + type: string + ContractInfoExtensions: + type: object + required: + - link + - description + - ogImage + - originChainId + - originAddress + - blacklist + - verified + - verifiedBy + - featured + properties: + link: + type: string + description: + type: string + ogImage: + type: string + originChainId: + type: number + originAddress: + type: string + blacklist: + type: boolean + verified: + type: boolean + verifiedBy: + type: string + featured: + type: boolean + TokenMetadata: + type: object + required: + - tokenId + - name + - attributes + properties: + tokenId: + type: string + name: + type: string + description: + type: string + image: + type: string + video: + type: string + audio: + type: string + properties: + type: object + description: 'map' + additionalProperties: + type: object + attributes: + type: array + description: '[]map' + items: + type: object + description: 'map' + additionalProperties: + type: object + imageData: + type: string + externalUrl: + type: string + backgroundColor: + type: string + animationUrl: + type: string + decimals: + type: number + updatedAt: + type: string + assets: + type: array + description: '[]Asset' + items: + $ref: '#/components/schemas/Asset' + Asset: + type: object + required: + - id + - collectionId + - metadataField + properties: + id: + type: number + collectionId: + type: number + tokenId: + type: string + url: + type: string + metadataField: + type: string + filename: + type: string + filesize: + type: number + mimeType: + type: string + width: + type: number + height: + type: number + updatedAt: + type: string + ContractType: + type: string + description: Represented as uint8 on the server side + enum: + - UNKNOWN + - NATIVE + - ERC20 + - ERC721 + - ERC1155 + - SEQUENCE_WALLET + - ERC20_BRIDGE + - ERC721_BRIDGE + - ERC1155_BRIDGE + - SEQ_MARKETPLACE + EventLogType: + type: string + description: Represented as uint8 on the server side + enum: + - UNKNOWN + - BLOCK_ADDED + - BLOCK_REMOVED + EventLogDataType: + type: string + description: Represented as uint8 on the server side + enum: + - EVENT + - TOKEN_TRANSFER + - NATIVE_TOKEN_TRANSFER + - SEQUENCE_TXN + OrderStatus: + type: string + description: Represented as uint32 on the server side + enum: + - OPEN + - CLOSED + - CANCELLED + TxnTransferType: + type: string + description: Represented as uint32 on the server side + enum: + - UNKNOWN + - SEND + - RECEIVE + TransactionStatus: + type: string + description: Represented as uint32 on the server side + enum: + - FAILED + - SUCCESSFUL + TransactionType: + type: string + description: Represented as uint32 on the server side + enum: + - LegacyTxnType + - AccessListTxnType + - DynamicFeeTxnType + SortOrder: + type: string + description: Represented as uint32 on the server side + enum: + - DESC + - ASC + ContractVerificationStatus: + type: string + description: Represented as string on the server side + enum: + - VERIFIED + - UNVERIFIED + - ALL + Version: + type: object + required: + - webrpcVersion + - schemaVersion + - schemaHash + - appVersion + properties: + webrpcVersion: + type: string + schemaVersion: + type: string + schemaHash: + type: string + appVersion: + type: string + RuntimeStatus: + type: object + required: + - healthOK + - indexerEnabled + - startTime + - uptime + - ver + - branch + - commitHash + - chainID + - checks + properties: + healthOK: + type: boolean + indexerEnabled: + type: boolean + startTime: + type: string + uptime: + type: number + ver: + type: string + branch: + type: string + commitHash: + type: string + chainID: + type: number + checks: + $ref: '#/components/schemas/RuntimeChecks' + WALWriterRuntimeStatus: + type: object + required: + - healthOK + - startTime + - uptime + - ver + - branch + - commitHash + - chainID + - percentWALWritten + properties: + healthOK: + type: boolean + startTime: + type: string + uptime: + type: number + ver: + type: string + branch: + type: string + commitHash: + type: string + chainID: + type: number + percentWALWritten: + type: number + RuntimeChecks: + type: object + required: + - running + - runnables + - cgoEnabled + - quotaControlEnabled + - syncMode + - percentIndexed + - lastBlockNum + - lastBlockNumWithState + - bloomStatus + - bond + - diskUsage + properties: + running: + type: boolean + runnables: + type: object + cgoEnabled: + type: boolean + quotaControlEnabled: + type: boolean + syncMode: + type: string + percentIndexed: + type: number + lastBlockNum: + type: number + lastBlockNumWithState: + type: number + bloomStatus: + $ref: '#/components/schemas/BloomStatus' + bond: + $ref: '#/components/schemas/Bond' + diskUsage: + $ref: '#/components/schemas/DiskUsage' + DiskUsage: + type: object + required: + - humanReadable + - used + - size + - percent + - dirs + properties: + humanReadable: + type: string + used: + type: number + size: + type: number + percent: + type: number + dirs: + type: object + description: 'map' + additionalProperties: + type: string + Bond: + type: object + required: + - pebble + - estimatedDiskUsagePerTable + - estimatedDiskUsageTotal + properties: + pebble: + $ref: '#/components/schemas/PebbleMetrics' + estimatedDiskUsagePerTable: + type: object + estimatedDiskUsageTotal: + type: string + PebbleMetrics: + type: object + required: + - compactionCount + - compactionEstimatedDebt + - compactionInProgressBytes + - compactionNumInProgress + - compactionMarkedFiles + properties: + compactionCount: + type: number + compactionEstimatedDebt: + type: number + compactionInProgressBytes: + type: number + compactionNumInProgress: + type: number + compactionMarkedFiles: + type: number + BloomStatus: + type: object + required: + - enabled + - initialized + - bloomInitElapsedTime + properties: + enabled: + type: boolean + initialized: + type: boolean + bloomInitElapsedTime: + type: string + EtherBalance: + type: object + required: + - accountAddress + - balanceWei + properties: + accountAddress: + type: string + balanceWei: + type: string + NativeTokenBalance: + type: object + required: + - accountAddress + - balance + properties: + accountAddress: + type: string + balance: + type: string + IndexState: + type: object + required: + - chainId + - lastBlockNum + - lastBlockHash + properties: + chainId: + type: string + lastBlockNum: + type: number + lastBlockHash: + type: string + IndexedBlock: + type: object + required: + - blockNumber + - blockShortHash + properties: + blockNumber: + type: number + blockShortHash: + type: string + TxnInfo: + type: object + required: + - from + - to + - value + properties: + from: + type: string + to: + type: string + value: + type: string + EventLog: + type: object + required: + - id + - uid + - type + - blockNumber + - blockHash + - parentBlockHash + - contractAddress + - contractType + - txnHash + - txnIndex + - txnLogIndex + - logDataType + - ts + properties: + id: + type: number + uid: + type: string + type: + $ref: '#/components/schemas/EventLogType' + blockNumber: + type: number + blockHash: + type: string + parentBlockHash: + type: string + contractAddress: + type: string + contractType: + $ref: '#/components/schemas/ContractType' + txnHash: + type: string + txnIndex: + type: number + txnLogIndex: + type: number + logDataType: + $ref: '#/components/schemas/EventLogDataType' + ts: + type: string + txnInfo: + $ref: '#/components/schemas/TxnInfo' + rawLog: + type: object + description: 'map' + additionalProperties: + type: object + event: + $ref: '#/components/schemas/EventDecoded' + EventDecoded: + type: object + required: + - topicHash + - eventSig + - types + - names + - values + properties: + topicHash: + type: string + eventSig: + type: string + types: + type: array + description: '[]string' + items: + type: string + names: + type: array + description: '[]string' + items: + type: string + values: + type: array + description: '[]string' + items: + type: string + TokenBalance: + type: object + required: + - contractType + - contractAddress + - accountAddress + - balance + - blockHash + - blockNumber + - chainId + - uniqueCollectibles + - isSummary + properties: + contractType: + $ref: '#/components/schemas/ContractType' + contractAddress: + type: string + accountAddress: + type: string + tokenID: + type: string + balance: + type: string + blockHash: + type: string + blockNumber: + type: number + chainId: + type: number + uniqueCollectibles: + type: string + isSummary: + type: boolean + contractInfo: + $ref: '#/components/schemas/ContractInfo' + tokenMetadata: + $ref: '#/components/schemas/TokenMetadata' + OrderbookOrder: + type: object + required: + - orderId + - tokenContract + - tokenId + - isListing + - quantity + - quantityRemaining + - currencyAddress + - pricePerToken + - expiry + - orderStatus + - createdBy + - blockNumber + - orderbookContractAddress + - createdAt + properties: + orderId: + type: string + tokenContract: + type: string + tokenId: + type: string + isListing: + type: boolean + quantity: + type: string + quantityRemaining: + type: string + currencyAddress: + type: string + pricePerToken: + type: string + expiry: + type: string + orderStatus: + $ref: '#/components/schemas/OrderStatus' + createdBy: + type: string + blockNumber: + type: number + orderbookContractAddress: + type: string + createdAt: + type: number + OrderbookOrderFilter: + type: object + required: + - tokenIds + - afterBlockNumber + - afterCreatedAt + - beforeExpiry + properties: + isListing: + type: boolean + userAddresses: + type: array + description: '[]string' + items: + type: string + tokenIds: + type: array + description: '[]string' + items: + type: string + excludeUserAddresses: + type: array + description: '[]string' + items: + type: string + afterBlockNumber: + type: number + afterCreatedAt: + type: number + beforeExpiry: + type: number + userAddress: + type: string + excludeUserAddress: + type: string + TokenHistory: + type: object + required: + - blockNumber + - blockHash + - accountAddress + - contractAddress + - contractType + - fromAddress + - toAddress + - txnHash + - txnIndex + - txnLogIndex + - logData + - tokenIDs + - Amounts + - ts + properties: + blockNumber: + type: number + blockHash: + type: string + accountAddress: + type: string + contractAddress: + type: string + contractType: + $ref: '#/components/schemas/ContractType' + fromAddress: + type: string + toAddress: + type: string + txnHash: + type: string + txnIndex: + type: number + txnLogIndex: + type: number + logData: + type: string + tokenIDs: + type: string + Amounts: + type: string + ts: + type: string + TokenSupply: + type: object + required: + - tokenID + - supply + - chainId + properties: + tokenID: + type: string + supply: + type: string + chainId: + type: number + contractInfo: + $ref: '#/components/schemas/ContractInfo' + tokenMetadata: + $ref: '#/components/schemas/TokenMetadata' + Transaction: + type: object + required: + - txnHash + - blockNumber + - blockHash + - chainId + - timestamp + properties: + txnHash: + type: string + blockNumber: + type: number + blockHash: + type: string + chainId: + type: number + metaTxnID: + type: string + transfers: + type: array + description: '[]TxnTransfer' + items: + $ref: '#/components/schemas/TxnTransfer' + timestamp: + type: string + TxnTransfer: + type: object + required: + - transferType + - contractAddress + - contractType + - from + - to + - amounts + - logIndex + properties: + transferType: + $ref: '#/components/schemas/TxnTransferType' + contractAddress: + type: string + contractType: + $ref: '#/components/schemas/ContractType' + from: + type: string + to: + type: string + tokenIds: + type: array + description: '[]string' + items: + type: string + amounts: + type: array + description: '[]string' + items: + type: string + logIndex: + type: number + contractInfo: + $ref: '#/components/schemas/ContractInfo' + tokenMetadata: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/TokenMetadata' + TransactionHistoryFilter: + type: object + properties: + accountAddress: + type: string + contractAddress: + type: string + accountAddresses: + type: array + description: '[]string' + items: + type: string + contractAddresses: + type: array + description: '[]string' + items: + type: string + transactionHashes: + type: array + description: '[]string' + items: + type: string + metaTransactionIDs: + type: array + description: '[]string' + items: + type: string + fromBlock: + type: number + toBlock: + type: number + tokenID: + type: string + TransactionFilter: + type: object + properties: + txnHash: + type: string + from: + type: string + to: + type: string + contractAddress: + type: string + event: + type: string + TransactionReceipt: + type: object + required: + - txnHash + - txnStatus + - txnIndex + - txnType + - blockHash + - blockNumber + - gasUsed + - effectiveGasPrice + - from + - to + - logs + - final + - reorged + properties: + txnHash: + type: string + txnStatus: + $ref: '#/components/schemas/TransactionStatus' + txnIndex: + type: number + txnType: + $ref: '#/components/schemas/TransactionType' + blockHash: + type: string + blockNumber: + type: number + gasUsed: + type: number + effectiveGasPrice: + type: string + from: + type: string + to: + type: string + logs: + type: array + description: '[]TransactionLog' + items: + $ref: '#/components/schemas/TransactionLog' + final: + type: boolean + reorged: + type: boolean + TransactionLog: + type: object + required: + - contractAddress + - topics + - data + - index + properties: + contractAddress: + type: string + topics: + type: array + description: '[]string' + items: + type: string + data: + type: string + index: + type: number + Page: + type: object + properties: + page: + type: number + column: + type: string + before: + type: object + after: + type: object + sort: + type: array + description: '[]SortBy' + items: + $ref: '#/components/schemas/SortBy' + pageSize: + type: number + more: + type: boolean + SortBy: + type: object + required: + - column + - order + properties: + column: + type: string + order: + $ref: '#/components/schemas/SortOrder' + WebhookListener: + type: object + required: + - id + - projectID + - url + - filters + - name + - updatedAt + - active + properties: + id: + type: number + projectID: + type: number + url: + type: string + filters: + $ref: '#/components/schemas/EventFilter' + name: + type: string + updatedAt: + type: string + active: + type: boolean + EventFilter: + type: object + properties: + events: + type: array + description: '[]string' + items: + type: string + contractAddresses: + type: array + description: '[]string' + items: + type: string + accounts: + type: array + description: '[]string' + items: + type: string + tokenIDs: + type: array + description: '[]string' + items: + type: string + TokenBalanceFilter: + type: object + required: + - contractAddress + - sinceBlockNumber + properties: + contractAddress: + type: string + sinceBlockNumber: + type: number + MetadataOptions: + type: object + properties: + verifiedOnly: + type: boolean + unverifiedOnly: + type: boolean + includeContracts: + type: array + description: '[]string' + items: + type: string + TokenBalancesFilter: + type: object + required: + - accountAddresses + - contractStatus + - contractWhitelist + - contractBlacklist + properties: + accountAddresses: + type: array + description: '[]string' + items: + type: string + contractStatus: + $ref: '#/components/schemas/ContractVerificationStatus' + contractWhitelist: + type: array + description: '[]string' + items: + type: string + contractBlacklist: + type: array + description: '[]string' + items: + type: string + TokenBalancesByContractFilter: + type: object + required: + - contractAddresses + - accountAddresses + - contractStatus + properties: + contractAddresses: + type: array + description: '[]string' + items: + type: string + accountAddresses: + type: array + description: '[]string' + items: + type: string + contractStatus: + $ref: '#/components/schemas/ContractVerificationStatus' + Indexer_GetEtherBalance_Request: + type: object + properties: + accountAddress: + type: string + Indexer_GetNativeTokenBalance_Request: + type: object + properties: + accountAddress: + type: string + Indexer_GetTokenBalancesSummary_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TokenBalancesFilter' + omitMetadata: + type: boolean + page: + $ref: '#/components/schemas/Page' + Indexer_GetTokenBalancesDetails_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TokenBalancesFilter' + omitMetadata: + type: boolean + page: + $ref: '#/components/schemas/Page' + Indexer_GetTokenBalancesByContract_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TokenBalancesByContractFilter' + omitMetadata: + type: boolean + page: + $ref: '#/components/schemas/Page' + Indexer_GetTokenBalances_Request: + type: object + properties: + accountAddress: + type: string + contractAddress: + type: string + tokenID: + type: string + includeMetadata: + type: boolean + metadataOptions: + $ref: '#/components/schemas/MetadataOptions' + includeCollectionTokens: + type: boolean + page: + $ref: '#/components/schemas/Page' + Indexer_GetTokenSupplies_Request: + type: object + properties: + contractAddress: + type: string + includeMetadata: + type: boolean + metadataOptions: + $ref: '#/components/schemas/MetadataOptions' + page: + $ref: '#/components/schemas/Page' + Indexer_GetTokenSuppliesMap_Request: + type: object + properties: + tokenMap: + type: object + description: 'map' + additionalProperties: + type: array + description: '[]string' + items: + type: string + includeMetadata: + type: boolean + metadataOptions: + $ref: '#/components/schemas/MetadataOptions' + Indexer_GetBalanceUpdates_Request: + type: object + properties: + contractAddress: + type: string + lastBlockNumber: + type: number + lastBlockHash: + type: string + page: + $ref: '#/components/schemas/Page' + Indexer_GetTransactionHistory_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TransactionHistoryFilter' + page: + $ref: '#/components/schemas/Page' + includeMetadata: + type: boolean + metadataOptions: + $ref: '#/components/schemas/MetadataOptions' + Indexer_SyncBalance_Request: + type: object + properties: + accountAddress: + type: string + contractAddress: + type: string + tokenID: + type: string + Indexer_FetchTransactionReceipt_Request: + type: object + properties: + txnHash: + type: string + maxBlockWait: + type: number + Indexer_GetOrderbookOrders_Request: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + orderbookContractAddress: + type: string + collectionAddress: + type: string + currencyAddresses: + type: array + description: '[]string' + items: + type: string + filter: + $ref: '#/components/schemas/OrderbookOrderFilter' + orderStatuses: + type: array + description: '[]OrderStatus' + items: + $ref: '#/components/schemas/OrderStatus' + filters: + type: array + description: '[]OrderbookOrderFilter' + items: + $ref: '#/components/schemas/OrderbookOrderFilter' + beforeExpiryTimestamp: + type: number + blockNumberAfter: + type: number + createdAtAfter: + type: number + Indexer_GetTopOrders_Request: + type: object + properties: + orderbookContractAddress: + type: string + collectionAddress: + type: string + currencyAddresses: + type: array + description: '[]string' + items: + type: string + tokenIDs: + type: array + description: '[]string' + items: + type: string + isListing: + type: boolean + priceSort: + $ref: '#/components/schemas/SortOrder' + excludeUser: + type: string + Indexer_FetchTransactionReceiptWithFilter_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TransactionFilter' + maxBlockWait: + type: number + Indexer_GetAllWebhookListeners_Request: + type: object + properties: + projectId: + type: number + Indexer_GetWebhookListener_Request: + type: object + properties: + id: + type: number + projectId: + type: number + Indexer_AddWebhookListener_Request: + type: object + properties: + url: + type: string + filters: + $ref: '#/components/schemas/EventFilter' + projectId: + type: number + Indexer_UpdateWebhookListener_Request: + type: object + properties: + listener: + $ref: '#/components/schemas/WebhookListener' + projectId: + type: number + Indexer_RemoveWebhookListener_Request: + type: object + properties: + id: + type: number + projectId: + type: number + Indexer_ToggleWebhookListener_Request: + type: object + properties: + id: + type: number + projectId: + type: number + Indexer_PauseAllWebhookListeners_Request: + type: object + properties: + projectId: + type: number + Indexer_ResumeAllWebhookListeners_Request: + type: object + properties: + projectId: + type: number + Indexer_SubscribeReceipts_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/TransactionFilter' + Indexer_SubscribeEvents_Request: + type: object + properties: + filter: + $ref: '#/components/schemas/EventFilter' + Indexer_SubscribeBalanceUpdates_Request: + type: object + properties: + contractAddress: + type: string + Indexer_GetEtherBalance_Response: + type: object + properties: + balance: + $ref: '#/components/schemas/EtherBalance' + Indexer_GetNativeTokenBalance_Response: + type: object + properties: + balance: + $ref: '#/components/schemas/NativeTokenBalance' + Indexer_GetTokenBalancesSummary_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + balances: + type: array + description: '[]TokenBalance' + items: + $ref: '#/components/schemas/TokenBalance' + Indexer_GetTokenBalancesDetails_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + balances: + type: array + description: '[]TokenBalance' + items: + $ref: '#/components/schemas/TokenBalance' + Indexer_GetTokenBalancesByContract_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + balances: + type: array + description: '[]TokenBalance' + items: + $ref: '#/components/schemas/TokenBalance' + Indexer_GetTokenBalances_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + balances: + type: array + description: '[]TokenBalance' + items: + $ref: '#/components/schemas/TokenBalance' + Indexer_GetTokenSupplies_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + contractType: + $ref: '#/components/schemas/ContractType' + tokenIDs: + type: array + description: '[]TokenSupply' + items: + $ref: '#/components/schemas/TokenSupply' + Indexer_GetTokenSuppliesMap_Response: + type: object + properties: + supplies: + type: object + description: 'map' + additionalProperties: + type: array + description: '[]TokenSupply' + items: + $ref: '#/components/schemas/TokenSupply' + Indexer_GetBalanceUpdates_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + balances: + type: array + description: '[]TokenBalance' + items: + $ref: '#/components/schemas/TokenBalance' + Indexer_GetTransactionHistory_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + transactions: + type: array + description: '[]Transaction' + items: + $ref: '#/components/schemas/Transaction' + Indexer_SyncBalance_Response: + type: object + Indexer_FetchTransactionReceipt_Response: + type: object + properties: + receipt: + $ref: '#/components/schemas/TransactionReceipt' + Indexer_GetOrderbookOrders_Response: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + orders: + type: array + description: '[]OrderbookOrder' + items: + $ref: '#/components/schemas/OrderbookOrder' + Indexer_GetTopOrders_Response: + type: object + properties: + orders: + type: array + description: '[]OrderbookOrder' + items: + $ref: '#/components/schemas/OrderbookOrder' + Indexer_FetchTransactionReceiptWithFilter_Response: + type: object + properties: + receipt: + $ref: '#/components/schemas/TransactionReceipt' + Indexer_GetAllWebhookListeners_Response: + type: object + properties: + listeners: + type: array + description: '[]WebhookListener' + items: + $ref: '#/components/schemas/WebhookListener' + Indexer_GetWebhookListener_Response: + type: object + properties: + listener: + $ref: '#/components/schemas/WebhookListener' + Indexer_AddWebhookListener_Response: + type: object + properties: + status: + type: boolean + listener: + $ref: '#/components/schemas/WebhookListener' + Indexer_UpdateWebhookListener_Response: + type: object + properties: + status: + type: boolean + Indexer_RemoveWebhookListener_Response: + type: object + properties: + status: + type: boolean + Indexer_ToggleWebhookListener_Response: + type: object + properties: + webhookListener: + $ref: '#/components/schemas/WebhookListener' + Indexer_PauseAllWebhookListeners_Response: + type: object + properties: + status: + type: boolean + Indexer_ResumeAllWebhookListeners_Response: + type: object + properties: + status: + type: boolean + Indexer_SubscribeReceipts_Response: + type: object + properties: + receipt: + $ref: '#/components/schemas/TransactionReceipt' + Indexer_SubscribeEvents_Response: + type: object + properties: + log: + $ref: '#/components/schemas/EventLog' + Indexer_SubscribeBalanceUpdates_Response: + type: object + properties: + balance: + $ref: '#/components/schemas/TokenBalance' + +paths: + /rpc/Indexer/GetEtherBalance: + post: + summary: GetEtherBalance + deprecated: true + description: "Queries an ethereum node for the latest and confirm ETH balances +DEPRECATED: use GetNativeTokenBalance instead" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetEtherBalance_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetEtherBalance_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetNativeTokenBalance: + post: + summary: GetNativeTokenBalance + description: "GetNativeTokenBalance queries an ethereum node for the latest native token account balance. +The native token is the token of the chain the indexer is connected to, for example, ETH on Ethereum +and POL on Polygon." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetNativeTokenBalance_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetNativeTokenBalance_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenBalancesSummary: + post: + summary: GetTokenBalancesSummary + description: "GetTokenBalancesSummary returns a summary of token balances for a specific +accounts. The collection ERC721 & ERC1155 tokens are represented as a +single aggregated balance. + +If `filter` is not provided, it will use the filter with account from the +jwt session. + +If `filter.contractStatus` is not provided, it will include verified only +tokens." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesSummary_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesSummary_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenBalancesDetails: + post: + summary: GetTokenBalancesDetails + description: "GetTokenBalancesDetails returns a detailed balance summary for a specific +accounts. The collection ERC721 & ERC1155 tokens are represented as +individual balances. + +If `filter` is not provided, it will use the filter with account from the +jwt session. + +If `filter.contractStatus` is not provided, it will include verified only +tokens." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesDetails_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesDetails_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenBalancesByContract: + post: + summary: GetTokenBalancesByContract + description: "GetTokenBalancesByContract returns a balances for a specific accounts and +contracts. The collection ERC721 & ERC1155 tokens are represented as +individual balances. + +If `filter` is not provided, it will error out as it requires at least +contract address. + +If `filter.contractStatus` is not provided, it will include verified only +tokens." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesByContract_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalancesByContract_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenBalances: + post: + summary: GetTokenBalances + description: "GetTokenBalances returns a balance summary/details for a specific account. By default +if accountAddress is left empty, it will use the account from the jwt session. + +Also, if contractAddress is undefined, then it will list all current user coins/collectibles. +But, if contractAddress is provided, then it will return the token balances for the contract, this is +only useful for 1155, but for other tokens, it can act as a filter for the single balance." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalances_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenBalances_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenSupplies: + post: + summary: GetTokenSupplies + description: "GetTokenSupplies returns the set of tokenIDs used by a contract address, supporting ERC-20, ERC-721, and ERC-1155 +contracts, and their respective supply as well." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenSupplies_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenSupplies_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTokenSuppliesMap: + post: + summary: GetTokenSuppliesMap + description: "GetTokenSuppliesMap returns the token supplies of ERC-20 and ERC-1155 tokens as requested in the `tokenMap` +represented as a map of contractAddress :: []tokenIDs. + +For an ERC-20 specify tokenIDs as an empty array or [0], for example, { '0xdef': [] } or { '0xdef': [0] } +For ERC-1155 pass the array of tokens are strings, ie. { '0xabc': ['1', '2', '3'] }" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenSuppliesMap_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTokenSuppliesMap_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetBalanceUpdates: + post: + summary: GetBalanceUpdates + description: "Get balance update aggregate values -- useful for syncing balance details of a contract, ie. from Skyweaver" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetBalanceUpdates_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetBalanceUpdates_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTransactionHistory: + post: + summary: GetTransactionHistory + description: "History of mined transactions for the account which includes a list of token transfers (sent/recieved) +and sent transactions from a Sequence wallet" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTransactionHistory_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTransactionHistory_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/SyncBalance: + post: + summary: SyncBalance + description: "Re-sync an incorrect token balance with the correct on-chain balance" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SyncBalance_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SyncBalance_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/FetchTransactionReceipt: + post: + summary: FetchTransactionReceipt + description: "Fetches a single receipt and then will stop the subscription" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_FetchTransactionReceipt_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_FetchTransactionReceipt_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetOrderbookOrders: + post: + summary: GetOrderbookOrders + description: "These parameters are depracated, please don't use them: +- filters +- beforeExpiryTimestamp +- blockNumberAfter +- createdAtAfter +and in OrderbookOrderFilter these fields are depracated: +- userAddress +- excludeUserAddress + +Use 'filter' and these fields instead +- userAddresses +- excludeUserAddress'" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetOrderbookOrders_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetOrderbookOrders_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetTopOrders: + post: + summary: GetTopOrders + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTopOrders_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetTopOrders_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/FetchTransactionReceiptWithFilter: + post: + summary: FetchTransactionReceiptWithFilter + description: "Fetches a single receipt with filter and then will stop the subscription" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_FetchTransactionReceiptWithFilter_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_FetchTransactionReceiptWithFilter_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetAllWebhookListeners: + post: + summary: GetAllWebhookListeners + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetAllWebhookListeners_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetAllWebhookListeners_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/GetWebhookListener: + post: + summary: GetWebhookListener + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetWebhookListener_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_GetWebhookListener_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/AddWebhookListener: + post: + summary: AddWebhookListener + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_AddWebhookListener_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_AddWebhookListener_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/UpdateWebhookListener: + post: + summary: UpdateWebhookListener + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_UpdateWebhookListener_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_UpdateWebhookListener_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/RemoveWebhookListener: + post: + summary: RemoveWebhookListener + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_RemoveWebhookListener_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_RemoveWebhookListener_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/ToggleWebhookListener: + post: + summary: ToggleWebhookListener + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_ToggleWebhookListener_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_ToggleWebhookListener_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/PauseAllWebhookListeners: + post: + summary: PauseAllWebhookListeners + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_PauseAllWebhookListeners_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_PauseAllWebhookListeners_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/ResumeAllWebhookListeners: + post: + summary: ResumeAllWebhookListeners + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_ResumeAllWebhookListeners_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_ResumeAllWebhookListeners_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/SubscribeReceipts: + post: + summary: SubscribeReceipts + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeReceipts_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeReceipts_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/SubscribeEvents: + post: + summary: SubscribeEvents + description: "TODO: pass optional block ... +can pass too, reorg true, etc. or stay behind, etc." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeEvents_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeEvents_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + /rpc/Indexer/SubscribeBalanceUpdates: + post: + summary: SubscribeBalanceUpdates + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeBalanceUpdates_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Indexer_SubscribeBalanceUpdates_Response' + '4XX': + description: Client error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcEndpoint' + - $ref: '#/components/schemas/ErrorWebrpcRequestFailed' + - $ref: '#/components/schemas/ErrorWebrpcBadRoute' + - $ref: '#/components/schemas/ErrorWebrpcBadMethod' + - $ref: '#/components/schemas/ErrorWebrpcBadRequest' + - $ref: '#/components/schemas/ErrorWebrpcClientDisconnected' + - $ref: '#/components/schemas/ErrorWebrpcStreamLost' + - $ref: '#/components/schemas/ErrorUnauthorized' + - $ref: '#/components/schemas/ErrorPermissionDenied' + - $ref: '#/components/schemas/ErrorSessionExpired' + - $ref: '#/components/schemas/ErrorMethodNotFound' + - $ref: '#/components/schemas/ErrorRequestConflict' + - $ref: '#/components/schemas/ErrorAborted' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorResourceExhausted' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorMetadataCallFailed' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' \ No newline at end of file