diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index c01a90f..7a91439 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -1426,6 +1426,36 @@ "LZ_RECEIVE" ] }, + "IntentStatus": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "QUOTED", + "COMMITTED", + "EXECUTING", + "FAILED", + "SUCCEEDED" + ] + }, + "TransactionType": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "UNKNOWN", + "DEPOSIT", + "ORIGIN", + "DESTINATION", + "ROUTE" + ] + }, + "TransactionContext": { + "type": "string", + "description": "Represented as uint8 on the server side", + "enum": [ + "NONE", + "CCTPV2_MESSAGE" + ] + }, "TransactionStatus": { "type": "string", "description": "Represented as uint8 on the server side", diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 76af96d..5864c68 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e5f7fc952d694046c813590e0141426137e6aa71 +# trails-api v1 b255b4d958e14f9ab37e572ff692b09924af2e18 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -8,10 +8,6 @@ info: title: 'Trails API' version: '' -servers: - - url: https://trails-api.sequence.app - description: Trails API - components: securitySchemes: {'ApiKeyAuth': {'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://dashboard.trails.build', 'name': 'X-Access-Key'}} schemas: @@ -995,6 +991,7 @@ components: enum: - AUTO - CCTP + - GASZIP - LIFI - LZ_OFT - RELAY @@ -1164,6 +1161,8 @@ components: - ownerAddress - originChainId - destinationChainId + - originTokenAddress + - destinationTokenAddress - originIntentAddress - salt - depositTransaction @@ -1192,6 +1191,10 @@ components: type: number destinationChainId: type: number + originTokenAddress: + type: string + destinationTokenAddress: + type: string originIntentAddress: type: string destinationIntentAddress: @@ -1218,6 +1221,8 @@ components: $ref: '#/components/schemas/IntentProviderQuote' fees: $ref: '#/components/schemas/IntentFees' + gasFeeOptions: + $ref: '#/components/schemas/GasFeeOptions' trailsVersion: type: string intentProtocol: @@ -2039,9 +2044,7 @@ components: DepositSignature: type: object required: - - intentSignature - selectedGasFeeOption - - userNonce - deadline properties: intentSignature: @@ -2061,11 +2064,9 @@ components: DepositIntentEntry: type: object required: - - intentSignature - feeAmount - feeToken - feeCollector - - userNonce - deadline properties: intentSignature: @@ -2105,6 +2106,7 @@ components: - trailsIntentEntrypointAddress - trailsRouterAddress - trailsRouterShimAddress + - trailsUtilsAddress properties: trailsIntentEntrypointAddress: type: string @@ -2112,6 +2114,8 @@ components: type: string trailsRouterShimAddress: type: string + trailsUtilsAddress: + type: string NativeCurrency: type: object required: @@ -2371,6 +2375,10 @@ components: properties: intent: $ref: '#/components/schemas/Intent' + originConfiguration: + type: object + destinationConfiguration: + type: object gasFeeOptions: $ref: '#/components/schemas/GasFeeOptions' transactionStates: @@ -2415,6 +2423,26 @@ components: type: string intentStatus: $ref: '#/components/schemas/IntentStatus' + RetryIntentRequest: + type: object + required: + - intentId + - depositTransactionHash + properties: + intentId: + type: string + depositTransactionHash: + type: string + RetryIntentResponse: + type: object + required: + - intentId + - intentStatus + properties: + intentId: + type: string + intentStatus: + $ref: '#/components/schemas/IntentStatus' GetIntentReceiptRequest: type: object required: @@ -2509,8 +2537,12 @@ components: type: string originChainId: type: number + originTokenAddress: + type: string destinationChainId: type: number + destinationTokenAddress: + type: string fromTime: type: number toTime: @@ -2561,6 +2593,94 @@ components: type: string status: $ref: '#/components/schemas/IntentStatus' + PrepareIntentRecoveryRequest: + type: object + required: + - intentId + properties: + intentId: + type: string + intentAddress: + type: string + refundToAddress: + type: string + tokenAddress: + type: string + PrepareIntentRecoveryResponse: + type: object + required: + - intentId + - intentProtocol + - intentAddress + - chainId + - intentSource + - payload + - typedData + - payloadHash + properties: + intentId: + type: string + intentProtocol: + $ref: '#/components/schemas/IntentProtocolVersion' + intentAddress: + type: string + chainId: + type: number + intentSource: + type: string + recoveryTokens: + type: array + description: '[]IntentTokenBalance' + items: + $ref: '#/components/schemas/IntentTokenBalance' + payload: + type: object + typedData: + type: object + payloadHash: + type: string + BuildIntentRecoveryTransactionRequest: + type: object + required: + - intentId + - payload + - signature + - intentAddress + properties: + intentId: + type: string + payload: + type: object + signature: + type: string + intentAddress: + type: string + refundToAddress: + type: string + BuildIntentRecoveryTransactionResponse: + type: object + required: + - to + - data + - value + - chainId + - intentAddress + - requiresDeploy + properties: + to: + type: string + data: + type: string + value: + type: string + chainId: + type: number + intentAddress: + type: string + requiresDeploy: + type: boolean + payloadHash: + type: string GetTokenPricesRequest: type: object required: @@ -2714,6 +2834,100 @@ components: type: string cached: type: boolean + GetYieldProvidersRequest: + type: object + properties: + limit: + type: number + offset: + type: number + GetYieldProvidersResponse: + type: object + required: + - payload + properties: + payload: + type: string + GetYieldProviderRequest: + type: object + required: + - providerId + properties: + providerId: + type: string + GetYieldProviderResponse: + type: object + required: + - payload + properties: + payload: + type: string + GetYieldNetworksRequest: + type: object + GetYieldNetworksResponse: + type: object + required: + - payload + properties: + payload: + type: string + GetYieldMarketsRequest: + type: object + properties: + provider: + type: string + chainId: + type: string + type: + type: string + search: + type: string + sort: + type: string + limit: + type: number + offset: + type: number + GetYieldMarketsResponse: + type: object + required: + - payload + properties: + payload: + type: string + GetYieldMarketByIdRequest: + type: object + required: + - marketId + properties: + marketId: + type: string + GetYieldMarketByIdResponse: + type: object + required: + - payload + properties: + payload: + type: string + CreateYieldActionRequest: + type: object + required: + - earnMarketId + - userWalletAddress + properties: + earnMarketId: + type: string + userWalletAddress: + type: string + args: + type: object + CreateYieldActionResponse: + type: object + required: + - payload + properties: + payload: + type: string GetIntentTransactionHistoryRequest: type: object properties: @@ -3254,23 +3468,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/WaitIntentReceipt: + /rpc/Trails/RetryIntent: post: - operationId: Trails-WaitIntentReceipt + operationId: Trails-RetryIntent tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/WaitIntentReceiptRequest' + $ref: '#/components/schemas/RetryIntentRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/WaitIntentReceiptResponse' + $ref: '#/components/schemas/RetryIntentResponse' '4XX': description: Client error content: @@ -3326,23 +3540,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetIntentReceipt: + /rpc/Trails/WaitIntentReceipt: post: - operationId: Trails-GetIntentReceipt + operationId: Trails-WaitIntentReceipt tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetIntentReceiptRequest' + $ref: '#/components/schemas/WaitIntentReceiptRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetIntentReceiptResponse' + $ref: '#/components/schemas/WaitIntentReceiptResponse' '4XX': description: Client error content: @@ -3398,23 +3612,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetIntent: + /rpc/Trails/GetIntentReceipt: post: - operationId: Trails-GetIntent + operationId: Trails-GetIntentReceipt tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetIntentRequest' + $ref: '#/components/schemas/GetIntentReceiptRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetIntentResponse' + $ref: '#/components/schemas/GetIntentReceiptResponse' '4XX': description: Client error content: @@ -3470,23 +3684,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/SearchIntents: + /rpc/Trails/GetIntent: post: - operationId: Trails-SearchIntents + operationId: Trails-GetIntent tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/SearchIntentsRequest' + $ref: '#/components/schemas/GetIntentRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/SearchIntentsResponse' + $ref: '#/components/schemas/GetIntentResponse' '4XX': description: Client error content: @@ -3542,23 +3756,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetIntentHistory: + /rpc/Trails/SearchIntents: post: - operationId: Trails-GetIntentHistory + operationId: Trails-SearchIntents tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetIntentHistoryRequest' + $ref: '#/components/schemas/SearchIntentsRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetIntentHistoryResponse' + $ref: '#/components/schemas/SearchIntentsResponse' '4XX': description: Client error content: @@ -3614,23 +3828,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/AbortIntent: + /rpc/Trails/GetIntentHistory: post: - operationId: Trails-AbortIntent + operationId: Trails-GetIntentHistory tags: ["Trails"] summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/AbortIntentRequest' + $ref: '#/components/schemas/GetIntentHistoryRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/AbortIntentResponse' + $ref: '#/components/schemas/GetIntentHistoryResponse' '4XX': description: Client error content: @@ -3686,23 +3900,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetChains: + /rpc/Trails/AbortIntent: post: - operationId: Trails-GetChains + operationId: Trails-AbortIntent tags: ["Trails"] - summary: "GetChains will return the list of supported chains by Trails." + summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetChainsRequest' + $ref: '#/components/schemas/AbortIntentRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetChainsResponse' + $ref: '#/components/schemas/AbortIntentResponse' '4XX': description: Client error content: @@ -3758,38 +3972,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetExactOutputRoutes: + /rpc/Trails/PrepareIntentRecovery: post: - operationId: Trails-GetExactOutputRoutes + operationId: Trails-PrepareIntentRecovery tags: ["Trails"] - summary: "GetExactOutputRoutes will return a list of origin tokens, when given a destination chain and token," - description: | - that can be used to pay/send from an origin chain the exact output amount on the - destination chain. - - The request will include the destination chain and token desired. Optionally, the - user can specify an origin chain and token to filter results to only that specific - origin token. Additionally, an optional owner address can be provided to filter - results to only tokens the owner has a balance on (requires indexer gateway to be - configured). - - The response is a list of origin tokens and their chains which can be used to fulfill - the exact output request. These are tokens the user can send FROM to achieve the desired - destination token amount. - - aka, the "pay" routes + summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetExactOutputRoutesRequest' + $ref: '#/components/schemas/PrepareIntentRecoveryRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetExactOutputRoutesResponse' + $ref: '#/components/schemas/PrepareIntentRecoveryResponse' '4XX': description: Client error content: @@ -3845,33 +4044,23 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetExactInputRoutes: + /rpc/Trails/BuildIntentRecoveryTransaction: post: - operationId: Trails-GetExactInputRoutes + operationId: Trails-BuildIntentRecoveryTransaction tags: ["Trails"] - summary: "GetExactInputRoutes will return a list of destination tokens, when given an origin chain and token," - description: | - that can be used to send/swap to a destination chain and token. - - The request will include the origin chain and token used for input. Optionally, the - user can specify a destination chain and token to further filter the results. - - The response is a list of destination tokens and their chains which can be reached from - the origin token and chain. These are tokens the user can send TO from the given origin token. - - aka, the "swap" routes + summary: "" requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetExactInputRoutesRequest' + $ref: '#/components/schemas/BuildIntentRecoveryTransactionRequest' responses: '200': description: OK content: application/json: schema: - $ref: '#/components/schemas/GetExactInputRoutesResponse' + $ref: '#/components/schemas/BuildIntentRecoveryTransactionResponse' '4XX': description: Client error content: @@ -3927,18 +4116,259 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' - /rpc/Trails/GetTokenList: + /rpc/Trails/GetChains: post: - operationId: Trails-GetTokenList + operationId: Trails-GetChains tags: ["Trails"] - summary: "GetTokenList will return a list of tokens based on the provided filters." - description: | - NOTE: there are many filters and options on GetTokenListRequest + summary: "GetChains will return the list of supported chains by Trails." requestBody: content: application/json: schema: - $ref: '#/components/schemas/GetTokenListRequest' + $ref: '#/components/schemas/GetChainsRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetChainsResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetExactOutputRoutes: + post: + operationId: Trails-GetExactOutputRoutes + tags: ["Trails"] + summary: "GetExactOutputRoutes will return a list of origin tokens, when given a destination chain and token," + description: | + that can be used to pay/send from an origin chain the exact output amount on the + destination chain. + + The request will include the destination chain and token desired. Optionally, the + user can specify an origin chain and token to filter results to only that specific + origin token. Additionally, an optional owner address can be provided to filter + results to only tokens the owner has a balance on (requires indexer gateway to be + configured). + + The response is a list of origin tokens and their chains which can be used to fulfill + the exact output request. These are tokens the user can send FROM to achieve the desired + destination token amount. + + aka, the "pay" routes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetExactOutputRoutesRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetExactOutputRoutesResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetExactInputRoutes: + post: + operationId: Trails-GetExactInputRoutes + tags: ["Trails"] + summary: "GetExactInputRoutes will return a list of destination tokens, when given an origin chain and token," + description: | + that can be used to send/swap to a destination chain and token. + + The request will include the origin chain and token used for input. Optionally, the + user can specify a destination chain and token to further filter the results. + + The response is a list of destination tokens and their chains which can be reached from + the origin token and chain. These are tokens the user can send TO from the given origin token. + + aka, the "swap" routes + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetExactInputRoutesRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetExactInputRoutesResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetTokenList: + post: + operationId: Trails-GetTokenList + tags: ["Trails"] + summary: "GetTokenList will return a list of tokens based on the provided filters." + description: | + NOTE: there are many filters and options on GetTokenListRequest + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetTokenListRequest' responses: '200': description: OK @@ -4580,6 +5010,510 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldGetProviders: + post: + operationId: Trails-YieldGetProviders + tags: ["Trails"] + summary: "YieldGetProviders returns available Yield providers." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldProvidersRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldProvidersResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldGetProvider: + post: + operationId: Trails-YieldGetProvider + tags: ["Trails"] + summary: "YieldGetProvider returns a Yield provider by provider ID." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldProviderRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldProviderResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldGetNetworks: + post: + operationId: Trails-YieldGetNetworks + tags: ["Trails"] + summary: "YieldGetNetworks returns available Yield networks." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldNetworksRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldNetworksResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldGetMarkets: + post: + operationId: Trails-YieldGetMarkets + tags: ["Trails"] + summary: "YieldGetMarkets returns Yield markets with optional filters." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldMarketsRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldMarketsResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldGetMarketById: + post: + operationId: Trails-YieldGetMarketById + tags: ["Trails"] + summary: "YieldGetMarketById returns a Yield market by market ID." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldMarketByIdRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetYieldMarketByIdResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldCreateEnterAction: + post: + operationId: Trails-YieldCreateEnterAction + tags: ["Trails"] + summary: "YieldCreateEnterAction returns unsigned enter-action transaction payloads." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateYieldActionRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/CreateYieldActionResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/YieldCreateExitAction: + post: + operationId: Trails-YieldCreateExitAction + tags: ["Trails"] + summary: "YieldCreateExitAction returns unsigned exit-action transaction payloads." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CreateYieldActionRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/CreateYieldActionResponse' + '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/ErrorWebrpcClientAborted' + - $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/ErrorGeoblocked' + - $ref: '#/components/schemas/ErrorRateLimited' + - $ref: '#/components/schemas/ErrorProjectNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyNotFound' + - $ref: '#/components/schemas/ErrorAccessKeyMismatch' + - $ref: '#/components/schemas/ErrorInvalidOrigin' + - $ref: '#/components/schemas/ErrorInvalidService' + - $ref: '#/components/schemas/ErrorUnauthorizedUser' + - $ref: '#/components/schemas/ErrorQuotaExceeded' + - $ref: '#/components/schemas/ErrorQuotaRateLimit' + - $ref: '#/components/schemas/ErrorNoDefaultKey' + - $ref: '#/components/schemas/ErrorMaxAccessKeys' + - $ref: '#/components/schemas/ErrorAtLeastOneKey' + - $ref: '#/components/schemas/ErrorTimeout' + - $ref: '#/components/schemas/ErrorInvalidArgument' + - $ref: '#/components/schemas/ErrorUnavailable' + - $ref: '#/components/schemas/ErrorQueryFailed' + - $ref: '#/components/schemas/ErrorIntentStatus' + - $ref: '#/components/schemas/ErrorNotFound' + - $ref: '#/components/schemas/ErrorUnsupportedNetwork' + - $ref: '#/components/schemas/ErrorClientOutdated' + - $ref: '#/components/schemas/ErrorIntentsSkipped' + - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' + - $ref: '#/components/schemas/ErrorIntentsDisabled' + '5XX': + description: Server error + content: + application/json: + schema: + oneOf: + - $ref: '#/components/schemas/ErrorWebrpcBadResponse' + - $ref: '#/components/schemas/ErrorWebrpcServerPanic' + - $ref: '#/components/schemas/ErrorWebrpcInternalError' + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetFiatCurrencyList: post: operationId: Trails-GetFiatCurrencyList