diff --git a/fern/docs/pages/api-reference-overview.mdx b/fern/docs/pages/api-reference-overview.mdx index 9d0d6e6f..9181eb7c 100644 --- a/fern/docs/pages/api-reference-overview.mdx +++ b/fern/docs/pages/api-reference-overview.mdx @@ -31,7 +31,6 @@ Endpoints for bridging assets across chains (EVM, Solana, Tron, HyperCore): - **[Quotes](/api-reference/cross-chain-ap-is/cross-chain/cross-chain-get-quotes)**: Get ready-to-sign bridge quotes across supported chains and assets. - **[Status](/api-reference/cross-chain-ap-is/cross-chain/cross-chain-get-status)**: Track the status of an in-flight cross-chain transaction. - **[Sources](/api-reference/cross-chain-ap-is/cross-chain/cross-chain-list-sources)**: List supported bridge routes and liquidity sources. -- **[Transaction History](/api-reference/cross-chain-ap-is/cross-chain/cross-chain-get-tx-history)**: Get cross-chain transaction history for a user wallet address. - **[Streaming Quotes](/api-reference/cross-chain-ap-is/cross-chain/cross-chain-stream-quotes)**: Subscribe to a live stream of cross-chain quotes. ## Base URL diff --git a/fern/docs/pages/openapi-spec-download.mdx b/fern/docs/pages/openapi-spec-download.mdx index 6e26c3de..dd91215f 100644 --- a/fern/docs/pages/openapi-spec-download.mdx +++ b/fern/docs/pages/openapi-spec-download.mdx @@ -43,7 +43,6 @@ curl -o 0x-cross-chain-apis.json https://docs.0x.org/openapi/cross-chain-apis.js - **Quotes** — ready-to-sign bridge quotes across supported chains and assets - **Status** — track the status of an in-flight cross-chain transaction - **Sources** — list supported bridge routes and liquidity sources -- **Transaction History** — cross-chain transaction history for a wallet address - **Streaming Quotes** — live stream of cross-chain quotes Each endpoint includes request parameters, response schemas, and example values. diff --git a/fern/openapi-cross-chain.json b/fern/openapi-cross-chain.json index 47adc76c..6c944023 100644 --- a/fern/openapi-cross-chain.json +++ b/fern/openapi-cross-chain.json @@ -2714,196 +2714,6 @@ } } }, - "/cross-chain/tx-history-beta": { - "get": { - "operationId": "crossChain::getTxHistory", - "summary": "getTxHistory", - "description": "Get cross-chain transaction history for a user wallet address. Note: this endpoint is in beta and still a work in progress — please reach out to the 0x team if you or your users run into any issues.", - "tags": ["Cross-Chain"], - "parameters": [ - { - "description": "Visit dashboard.0x.org to get your API Key", - "in": "header", - "name": "0x-api-key", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "user", - "in": "query", - "required": true, - "schema": { - "anyOf": [ - { - "type": "string", - "pattern": "^0x[a-fA-F0-9]{40}$" - }, - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "description": "The wallet address of the user to get transaction history for. Accepts EVM (0x...), Solana, and Tron addresses" - }, - { - "name": "limit", - "in": "query", - "required": false, - "schema": { - "type": "integer", - "minimum": 1, - "maximum": 100, - "default": 20 - }, - "description": "Maximum number of transactions to return" - }, - { - "name": "cursor", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Successful response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "transactions": { - "type": "array", - "items": { - "type": "object", - "properties": { - "originChain": { - "type": "number", - "description": "The origin chain ID" - }, - "originTx": { - "type": "string", - "description": "The transaction hash on the origin chain" - }, - "destinationChain": { - "type": "number", - "nullable": true, - "description": "The destination chain ID" - }, - "destinationTx": { - "type": "string", - "nullable": true, - "description": "The transaction hash on the destination chain" - }, - "status": { - "type": "string", - "description": "The current status of the transaction" - }, - "bridge": { - "type": "string", - "nullable": true, - "description": "The bridge provider used" - } - }, - "required": [ - "originChain", - "originTx", - "destinationChain", - "destinationTx", - "status", - "bridge" - ], - "additionalProperties": false - }, - "description": "List of transaction history records" - }, - "pagination": { - "type": "object", - "properties": { - "limit": { - "type": "number", - "description": "The limit used for this query" - }, - "nextCursor": { - "type": "string", - "nullable": true, - "description": "Cursor for next page. Null if no more results" - }, - "hasMore": { - "type": "boolean", - "description": "Whether there are more transactions available" - } - }, - "required": ["limit", "nextCursor", "hasMore"], - "additionalProperties": false, - "description": "Pagination information" - }, - "zid": { - "type": "string", - "description": "The unique ZeroEx identifier of the request" - } - }, - "required": ["transactions", "pagination", "zid"], - "additionalProperties": false - } - } - } - }, - "400": { - "description": "400 error response", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/INPUT_INVALID" - } - ] - } - } - } - }, - "404": { - "description": "404 error response", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/TRANSACTION_NOT_FOUND" - } - ] - } - } - } - }, - "500": { - "description": "500 error response", - "content": { - "application/json": { - "schema": { - "anyOf": [ - { - "$ref": "#/components/schemas/INTERNAL_SERVER_ERROR" - }, - { - "$ref": "#/components/schemas/UNCATEGORIZED" - } - ] - } - } - } - } - } - } - }, "/cross-chain/quotes/stream": { "get": { "operationId": "crossChain::streamQuotes",