From 755a789022d31e1d29ba8cecd79d2ba93a31e35d Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:28:20 +0000 Subject: [PATCH 01/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 58d13511..f3a5688e 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1.0.0 005f3be0cfe130e92ee5ab03d992cac2bf9d2919 +# trails-api v1.0.0 ce245da81b803d32592f406ba4ace8ecc6917494 # -- # Code generated by webrpc-gen@v0.30.3 with openapi generator; DO NOT EDIT # @@ -1744,14 +1744,25 @@ components: properties: intentId: type: string + lastReceiptStates: + type: array + description: '[]TransactionStatus' + items: + $ref: '#/components/schemas/TransactionStatus' WaitIntentReceiptResponse: type: object required: - intentReceipt + - receiptStates - done properties: intentReceipt: $ref: '#/components/schemas/IntentReceipt' + receiptStates: + type: array + description: '[]TransactionStatus' + items: + $ref: '#/components/schemas/TransactionStatus' done: type: boolean GetIntentRequest: From 693188fd955194e0f40f31e16315972ee88dcc9e Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Fri, 7 Nov 2025 10:59:44 +0000 Subject: [PATCH 02/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index f3a5688e..4dcdb6a1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ # trails-api v1.0.0 ce245da81b803d32592f406ba4ace8ecc6917494 # -- -# Code generated by webrpc-gen@v0.30.3 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.30.4 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 From 8bc9348a8faf80318ea3e9e694e6691c7a3944b5 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Fri, 7 Nov 2025 13:35:38 +0000 Subject: [PATCH 03/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 4dcdb6a1..08c95f29 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ -# trails-api v1.0.0 ce245da81b803d32592f406ba4ace8ecc6917494 +# trails-api v1 5485dcaebdc77873abf82b6e5ea8becd368197e8 # -- -# Code generated by webrpc-gen@v0.30.4 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.31.0 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 From af174289dfc20f800fa75f3cc2b12f781eea4039 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Sun, 9 Nov 2025 16:56:08 +0000 Subject: [PATCH 04/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 08c95f29..107d12d1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ # trails-api v1 5485dcaebdc77873abf82b6e5ea8becd368197e8 # -- -# Code generated by webrpc-gen@v0.31.0 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 From 42e64125762b7ac65b4a986d40f9a16b37e507e9 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 10 Nov 2025 01:23:15 +0000 Subject: [PATCH 05/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 107d12d1..23109992 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 5485dcaebdc77873abf82b6e5ea8becd368197e8 +# trails-api v1 c30c2df342a5830ae956100916b44d4453a33b7c # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # @@ -952,7 +952,7 @@ components: type: object properties: quoteProvider: - $ref: '#/components/schemas/QuoteProviderType' + type: string slippageTolerance: type: number trailsAddressOverrides: From 94f506618893627a002142df22d2309df0865ca2 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:23:10 +0000 Subject: [PATCH 06/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 23109992..7c9292ce 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 c30c2df342a5830ae956100916b44d4453a33b7c +# trails-api v1 87f3246acc3975c6665e1bd78e40e24faa43ccb8 # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # From 67e61a0dc8bd89abfd29873fcbd5c68c6da2eaf8 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:48:21 +0000 Subject: [PATCH 07/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 7c9292ce..74032d44 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 87f3246acc3975c6665e1bd78e40e24faa43ccb8 +# trails-api v1 7d46e5a680f47ed2f7cb37384cb55016da61c1e2 # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # @@ -1792,6 +1792,8 @@ components: type: string byOriginIntentAddress: type: string + byDestinationIntentAddress: + type: string SearchIntentsResponse: type: object required: From d283e9bafec836f23b812a8434d38674b6e659bf Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 11 Nov 2025 12:51:21 +0000 Subject: [PATCH 08/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 74032d44..b6b5b820 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 7d46e5a680f47ed2f7cb37384cb55016da61c1e2 +# trails-api v1 26a6c8260a2b86dca7dcbc2a459d84345e8662ce # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # @@ -946,6 +946,8 @@ components: type: number tradeType: $ref: '#/components/schemas/TradeType' + onlyNativeGasFee: + type: boolean options: $ref: '#/components/schemas/QuoteIntentRequestOptions' QuoteIntentRequestOptions: From 152eb69cc9bde741ebb89939513baeb19ae7f6a7 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 11 Nov 2025 13:06:33 +0000 Subject: [PATCH 09/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index b6b5b820..f26d6808 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 26a6c8260a2b86dca7dcbc2a459d84345e8662ce +# trails-api v1 5fa619151b4ff2fd95c67caefa763de2e1b6d5ef # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # From 4da3a88175d6b6e6b89c8ec30b67fab7abd2d934 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 11 Nov 2025 13:40:51 +0000 Subject: [PATCH 10/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 50 +++++++++++++++---------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index f26d6808..604fb985 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 5fa619151b4ff2fd95c67caefa763de2e1b6d5ef +# trails-api v1 6ea0576d032e573193607fe07b3969d55a6e8984 # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # @@ -922,7 +922,6 @@ components: - originTokenAddress - destinationChainId - destinationTokenAddress - - destinationToAddress properties: ownerAddress: type: string @@ -939,7 +938,7 @@ components: destinationCallData: type: string destinationCallValue: - type: string + type: number originTokenAmount: type: number destinationTokenAmount: @@ -968,13 +967,14 @@ components: - status - quoteRequest - ownerAddress + - originChainId + - destinationChainId - originIntentAddress - - destinationIntentAddress - - destinationSalt + - salt - depositTransaction - - calls - - preconditions - - metaTxns + - originCalls + - originPrecondition + - originMetaTxn - quote - fees - trailsVersion @@ -992,29 +992,30 @@ components: $ref: '#/components/schemas/QuoteIntentRequest' ownerAddress: type: string + originChainId: + type: number + destinationChainId: + type: number originIntentAddress: type: string destinationIntentAddress: type: string - destinationSalt: + salt: type: number depositTransaction: $ref: '#/components/schemas/DepositTransaction' - calls: - type: array - description: '[]IntentCalls' - items: - $ref: '#/components/schemas/IntentCalls' - preconditions: - type: array - description: '[]TransactionPrecondition' - items: - $ref: '#/components/schemas/TransactionPrecondition' - metaTxns: - type: array - description: '[]MetaTxn' - items: - $ref: '#/components/schemas/MetaTxn' + originCalls: + $ref: '#/components/schemas/IntentCalls' + destinationCalls: + $ref: '#/components/schemas/IntentCalls' + originPrecondition: + $ref: '#/components/schemas/TransactionPrecondition' + destinationPrecondition: + $ref: '#/components/schemas/TransactionPrecondition' + originMetaTxn: + $ref: '#/components/schemas/MetaTxn' + destinationMetaTxn: + $ref: '#/components/schemas/MetaTxn' quote: $ref: '#/components/schemas/IntentProviderQuote' fees: @@ -1247,7 +1248,6 @@ components: type: object required: - originGas - - destinationGas - provider - feeTokenAddress - feeTokenTotal From 354668362aa69206e287441b598ca1b26aded9c0 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 11 Nov 2025 14:39:24 +0000 Subject: [PATCH 11/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 604fb985..394280d3 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 6ea0576d032e573193607fe07b3969d55a6e8984 +# trails-api v1 0188c33cf111dffbe71963c77bb12743336fe414 # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # From 6cb3d41ff2bdff00b059d29d4e9fc9fe2f66c72d Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 11 Nov 2025 15:01:44 +0000 Subject: [PATCH 12/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 394280d3..c05645d4 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 0188c33cf111dffbe71963c77bb12743336fe414 +# trails-api v1 e06952c8bd42aa47ed0b45b0a8cd21c6e3e6879b # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # From 0ebc46dc1812d9bf01d42e17fd83404a4953c1a9 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 12 Nov 2025 19:44:21 +0000 Subject: [PATCH 13/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index c05645d4..b2101c98 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e06952c8bd42aa47ed0b45b0a8cd21c6e3e6879b +# trails-api v1 92ab87e509e04715331fa10204a19585470fe042 # -- # Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT # @@ -1536,6 +1536,7 @@ components: - amount - amountUsd - feeCollectorAddress + - is2612 properties: tokenAddress: type: string @@ -1549,6 +1550,8 @@ components: type: number feeCollectorAddress: type: string + is2612: + type: boolean DepositSignature: type: object required: From 978b7355817ef185ead92b18c08e6ded0d63ca43 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 13 Nov 2025 14:30:51 +0000 Subject: [PATCH 14/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index b2101c98..a84b2fca 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ # trails-api v1 92ab87e509e04715331fa10204a19585470fe042 # -- -# Code generated by webrpc-gen@v0.31.1 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 From 919c7b34ede242ec17928e5e1c46b04fa37494dd Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Fri, 14 Nov 2025 14:14:56 +0000 Subject: [PATCH 15/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index a84b2fca..e321da5c 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 92ab87e509e04715331fa10204a19585470fe042 +# trails-api v1 9621f0103ee8d79e44ad179b3b48d2de939e0ec4 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1836,9 +1836,9 @@ components: column: type: string before: - type: object + type: number after: - type: object + type: number sort: type: array description: '[]SortBy' From 9c182a0f03ed10d89c2a46e5372d16c3da2e29bf Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 17 Nov 2025 12:38:20 +0000 Subject: [PATCH 16/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index e321da5c..89ef20b6 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 9621f0103ee8d79e44ad179b3b48d2de939e0ec4 +# trails-api v1 433eaece645cbf9f17cd606f725a45c8eda54949 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -849,6 +849,28 @@ components: status: type: number example: 422 + ErrorIntentsSameChainNative: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "IntentsSameChainNative" + code: + type: number + example: 7000 + msg: + type: string + example: "Intents skipped as client is attempting same-chain native transaction" + cause: + type: string + status: + type: number + example: 400 ErrorIntentsDisabled: type: object required: From e0565281d36ffd473fad98637a5af6e8d9125bba Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 17 Nov 2025 14:26:07 +0000 Subject: [PATCH 17/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 89ef20b6..6aa4b1df 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 433eaece645cbf9f17cd606f725a45c8eda54949 +# trails-api v1 fa856d5aec9c37b3f974b2c34576ce1446c92fdf # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -849,7 +849,7 @@ components: status: type: number example: 422 - ErrorIntentsSameChainNative: + ErrorIntentsSkipped: type: object required: - error @@ -859,13 +859,13 @@ components: properties: error: type: string - example: "IntentsSameChainNative" + example: "IntentsSkipped" code: type: number example: 7000 msg: type: string - example: "Intents skipped as client is attempting same-chain native transaction" + example: "Intents skipped as client is attempting a transaction that does not require intents" cause: type: string status: From cf7041d83893bb6142d244d41d03be9f2e0e4cfb Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 17 Nov 2025 16:06:49 +0000 Subject: [PATCH 18/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 41 +++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 10 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 6aa4b1df..0af94756 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 fa856d5aec9c37b3f974b2c34576ce1446c92fdf +# trails-api v1 c44e76b58c33ceb28a6dedb5fb15e49256d627e1 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -906,6 +906,30 @@ components: - RELAY - CCTPV2 - LIFI + 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 @@ -920,15 +944,6 @@ components: - SUCCEEDED - FAILED - ABORTED - IntentStatus: - type: string - description: Represented as uint8 on the server side - enum: - - QUOTED - - COMMITTED - - EXECUTING - - FAILED - - SUCCEEDED ChainGasUsageStatus: type: string description: Represented as string on the server side @@ -1190,6 +1205,8 @@ components: - id - intentId - chainId + - type + - context - fromAddress - toAddress - tokenAddress @@ -1202,6 +1219,10 @@ components: type: string chainId: type: number + type: + $ref: '#/components/schemas/TransactionType' + context: + $ref: '#/components/schemas/TransactionContext' fromAddress: type: string toAddress: From 1f014543a0fad64eebcf19caa04290d29d0114fa Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 17 Nov 2025 16:07:08 +0000 Subject: [PATCH 19/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index f746b67a..9acb11e8 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -1332,6 +1332,36 @@ "CCTPV2_MESSAGE" ] }, + "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", From 3b7267128c04f6b60e984409f9ceb95fc44922c7 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 20 Nov 2025 23:12:38 +0000 Subject: [PATCH 20/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 432 +++++++++++++----------------- 1 file changed, 184 insertions(+), 248 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 0af94756..b2fd4f07 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 c44e76b58c33ceb28a6dedb5fb15e49256d627e1 +# trails-api v1 8141ce0ec8768d63dbed0d6cdb21f91ee7bfd7f2 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -11,7 +11,7 @@ servers: - url: https://trails-api.sequence.app description: Trails API components: - securitySchemes: {'ApiKeyAuth': {'type': 'apiKey', 'in': 'header', 'description': 'API Key for authenticating requests, get an access key at https://trails.build and request early access', 'name': 'X-Access-Key'}} + 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 @@ -1658,6 +1658,59 @@ components: type: string sequenceWalletUtilsAddress: type: string + ChainInfo: + type: object + required: + - id + - name + - tokenName + - tokenSymbol + - tokenDecimals + - isTestnet + - supportsBridging + properties: + id: + type: number + name: + type: string + tokenName: + type: string + tokenSymbol: + type: string + tokenDecimals: + type: number + isTestnet: + type: boolean + supportsBridging: + type: boolean + logoUri: + type: string + blockExplorerUrl: + type: string + TokenInfo: + type: object + required: + - chainId + - address + - name + - symbol + - decimals + - supportsBridging + properties: + chainId: + type: number + address: + type: string + name: + type: string + symbol: + type: string + decimals: + type: number + supportsBridging: + type: boolean + logoUri: + type: string SortOrder: type: string description: Represented as uint32 on the server side @@ -1873,6 +1926,135 @@ components: $ref: '#/components/schemas/IntentSummary' nextPage: $ref: '#/components/schemas/Page' + GetTokenPricesRequest: + type: object + required: + - tokens + properties: + tokens: + type: array + description: '[]Token' + items: + $ref: '#/components/schemas/Token' + GetTokenPricesResponse: + type: object + required: + - tokenPrices + properties: + tokenPrices: + type: array + description: '[]TokenPrice' + items: + $ref: '#/components/schemas/TokenPrice' + GetChainsRequest: + type: object + properties: + routeProvider: + type: string + GetChainsResponse: + type: object + required: + - chains + properties: + chains: + type: array + description: '[]ChainInfo' + items: + $ref: '#/components/schemas/ChainInfo' + GetExactOutputRoutesRequest: + type: object + required: + - destinationChainId + - destinationTokenAddress + properties: + destinationChainId: + type: number + destinationTokenAddress: + type: string + ownerAddress: + type: string + GetExactOutputRoutesResponse: + type: object + required: + - tokens + properties: + tokens: + type: array + description: '[]TokenInfo' + items: + $ref: '#/components/schemas/TokenInfo' + GetExactInputRoutesRequest: + type: object + required: + - originChainId + - originTokenAddress + properties: + originChainId: + type: number + originTokenAddress: + type: string + destinationChainId: + type: number + destinationTokenAddress: + type: string + GetExactInputRoutesResponse: + type: object + required: + - tokens + properties: + tokens: + type: array + description: '[]TokenInfo' + items: + $ref: '#/components/schemas/TokenInfo' + GetPopularTokensRequest: + type: object + properties: + routeProvider: + type: string + limit: + type: number + chainIds: + type: array + description: '[]uint64' + items: + type: number + GetPopularTokensResponse: + type: object + required: + - tokens + properties: + tokens: + type: array + description: '[]TokenInfo' + items: + $ref: '#/components/schemas/TokenInfo' + SearchTokensRequest: + type: object + required: + - query + properties: + query: + type: string + routeProvider: + type: string + limit: + type: number + chainIds: + type: array + description: '[]uint64' + items: + type: number + SearchTokensResponse: + type: object + required: + - tokens + properties: + tokens: + type: array + description: '[]TokenInfo' + items: + $ref: '#/components/schemas/TokenInfo' Page: type: object properties: @@ -1902,249 +2084,3 @@ components: order: $ref: '#/components/schemas/SortOrder' paths: - /rpc/Trails/QuoteIntent: - post: - summary: Quote Intent - description: Request a quote for a cross-chain intent transaction - operationId: quoteIntent - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/QuoteIntentRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/QuoteIntentResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/CommitIntent: - post: - summary: Commit Intent - description: Commit an intent to the Trails system - operationId: commitIntent - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/CommitIntentRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/CommitIntentResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/ExecuteIntent: - post: - summary: Execute Intent - description: Execute a committed intent transaction - operationId: executeIntent - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/ExecuteIntentRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/ExecuteIntentResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/GetIntentReceipt: - post: - summary: Get Intent Receipt - description: Retrieve the receipt for an executed intent - operationId: getIntentReceipt - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentReceiptRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentReceiptResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/WaitIntentReceipt: - post: - summary: Wait Intent Receipt - description: Wait for an intent receipt to be ready - operationId: waitIntentReceipt - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/WaitIntentReceiptRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/WaitIntentReceiptResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/GetIntent: - post: - summary: Get Intent - description: Retrieve a specific intent by ID - operationId: getIntent - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/SearchIntents: - post: - summary: Search Intents - description: Search for intents by various criteria - operationId: searchIntents - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/SearchIntentsRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/SearchIntentsResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/GetIntentTransactionHistory: - post: - summary: Get Intent Transaction History - description: Retrieve transaction history for an intent - operationId: getIntentTransactionHistory - security: - - ApiKeyAuth: [] - requestBody: - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentTransactionHistoryRequest' - responses: - '200': - description: Successful response - content: - application/json: - schema: - $ref: '#/components/schemas/GetIntentTransactionHistoryResponse' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' - /rpc/Trails/GetTokenPrices: - post: - summary: Get Token Prices - description: Retrieve current USD prices for tokens - operationId: getTokenPrices - requestBody: - required: true - content: - application/json: - schema: - type: object - required: - - tokens - properties: - tokens: - type: array - items: - $ref: '#/components/schemas/Token' - responses: - '200': - description: Successful response - content: - application/json: - schema: - type: object - required: - - tokenPrices - properties: - tokenPrices: - type: array - items: - $ref: '#/components/schemas/TokenPrice' - '400': - description: Bad request - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorWebrpcBadRequest' From 5626c9a7e577513238b97c5903f40a9a194a9d83 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 20 Nov 2025 23:13:01 +0000 Subject: [PATCH 21/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 196 +++++++++++++++++++++++++++++- 1 file changed, 195 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index 9acb11e8..4040ef36 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -15,7 +15,7 @@ "ApiKeyAuth": { "type": "apiKey", "in": "header", - "description": "API Key for authenticating requests, get an access key at https://trails.build and request early access", + "description": "Project access key for authenticating requests, get an access key at https://sequence.build", "name": "X-Access-Key" } }, @@ -3124,6 +3124,200 @@ } } }, + "GetTokenPricesRequest": { + "type": "object", + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "description": "[]Token", + "items": { + "$ref": "#/components/schemas/Token" + } + } + } + }, + "GetTokenPricesResponse": { + "type": "object", + "required": [ + "tokenPrices" + ], + "properties": { + "tokenPrices": { + "type": "array", + "description": "[]TokenPrice", + "items": { + "$ref": "#/components/schemas/TokenPrice" + } + } + } + }, + "GetChainsRequest": { + "type": "object", + "properties": { + "routeProvider": { + "type": "string" + } + } + }, + "GetChainsResponse": { + "type": "object", + "required": [ + "chains" + ], + "properties": { + "chains": { + "type": "array", + "description": "[]ChainInfo", + "items": { + "$ref": "#/components/schemas/ChainInfo" + } + } + } + }, + "GetExactOutputRoutesRequest": { + "type": "object", + "required": [ + "destinationChainId", + "destinationTokenAddress" + ], + "properties": { + "destinationChainId": { + "type": "number" + }, + "destinationTokenAddress": { + "type": "string" + }, + "ownerAddress": { + "type": "string" + } + } + }, + "GetExactOutputRoutesResponse": { + "type": "object", + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "description": "[]TokenInfo", + "items": { + "$ref": "#/components/schemas/TokenInfo" + } + } + } + }, + "GetExactInputRoutesRequest": { + "type": "object", + "required": [ + "originChainId", + "originTokenAddress" + ], + "properties": { + "originChainId": { + "type": "number" + }, + "originTokenAddress": { + "type": "string" + }, + "destinationChainId": { + "type": "number" + }, + "destinationTokenAddress": { + "type": "string" + } + } + }, + "GetExactInputRoutesResponse": { + "type": "object", + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "description": "[]TokenInfo", + "items": { + "$ref": "#/components/schemas/TokenInfo" + } + } + } + }, + "GetPopularTokensRequest": { + "type": "object", + "properties": { + "routeProvider": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + } + } + }, + "GetPopularTokensResponse": { + "type": "object", + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "description": "[]TokenInfo", + "items": { + "$ref": "#/components/schemas/TokenInfo" + } + } + } + }, + "SearchTokensRequest": { + "type": "object", + "required": [ + "query" + ], + "properties": { + "query": { + "type": "string" + }, + "routeProvider": { + "type": "string" + }, + "limit": { + "type": "number" + }, + "chainIds": { + "type": "array", + "description": "[]uint64", + "items": { + "type": "number" + } + } + } + }, + "SearchTokensResponse": { + "type": "object", + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "description": "[]TokenInfo", + "items": { + "$ref": "#/components/schemas/TokenInfo" + } + } + } + }, "Page": { "type": "object", "properties": { From b8a02976fc26e99d3b06d8f3a48e7396b964dbf6 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 21 Nov 2025 14:46:57 +0000 Subject: [PATCH 22/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index b2fd4f07..cca28372 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 8141ce0ec8768d63dbed0d6cdb21f91ee7bfd7f2 +# trails-api v1 f43ab055cbf7c7e58326af8c0b6f49c861fa93dd # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # From 56bf63e4a398e8a171776f8dace91e3d3b637963 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 21 Nov 2025 23:34:21 +0000 Subject: [PATCH 23/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index cca28372..b2fd4f07 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 f43ab055cbf7c7e58326af8c0b6f49c861fa93dd +# trails-api v1 8141ce0ec8768d63dbed0d6cdb21f91ee7bfd7f2 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # From 0e4c8f73ad80e088da085c2e9528fec20d301651 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Sat, 22 Nov 2025 00:56:02 +0000 Subject: [PATCH 24/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index b2fd4f07..61287ea7 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 8141ce0ec8768d63dbed0d6cdb21f91ee7bfd7f2 +# trails-api v1 43736c3b1d261f1a005ddf610f1ded649c4b2c04 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1971,6 +1971,10 @@ components: type: number destinationTokenAddress: type: string + originChainId: + type: number + originTokenAddress: + type: string ownerAddress: type: string GetExactOutputRoutesResponse: From e9ba05e8d1afbcf35e7f21f9d687be14c123a3e6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 22 Nov 2025 00:56:26 +0000 Subject: [PATCH 25/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index 4040ef36..3466d007 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -3190,6 +3190,12 @@ "destinationTokenAddress": { "type": "string" }, + "originChainId": { + "type": "number" + }, + "originTokenAddress": { + "type": "string" + }, "ownerAddress": { "type": "string" } From 1a280157440bbf3a2e2f73e58c20956e8f7f4820 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Wed, 26 Nov 2025 11:46:12 +0000 Subject: [PATCH 26/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 61287ea7..9413842f 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 43736c3b1d261f1a005ddf610f1ded649c4b2c04 +# trails-api v1 e15cde2266915aa8cfcbd401eccfc9c8d365fe57 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1738,6 +1738,7 @@ components: required: - healthOK - startTime + - hostname - uptime - ver - branch @@ -1749,6 +1750,8 @@ components: type: boolean startTime: type: string + hostname: + type: string uptime: type: number ver: From 80c0fa48c439a46632d300186e0042b4b3f2dfd7 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Wed, 26 Nov 2025 13:21:03 +0000 Subject: [PATCH 27/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 9413842f..d678d5a0 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e15cde2266915aa8cfcbd401eccfc9c8d365fe57 +# trails-api v1 b29822c0c493de02ef6191b40666fb2406096275 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -951,6 +951,16 @@ components: - NORMAL - BUSY - VERY_BUSY + CCTPTransferStatus: + type: string + description: Represented as uint8 on the server side + enum: + - PENDING + - COMPLETE + - FAILED + - UNKNOWN + - RELAYED + - FINALIZED QuoteIntentRequest: type: object required: @@ -1516,9 +1526,12 @@ components: - message - attestation - status + - retryCount + - createdAt + - updatedAt properties: id: - type: string + type: number sourceTxHash: type: string sourceChainId: @@ -1530,11 +1543,17 @@ components: attestation: type: string status: + type: number + statusReason: type: string - updatedAt: + processedAt: type: string + retryCount: + type: number createdAt: type: string + updatedAt: + type: string GasFeeOptions: type: object required: From a6a9dea1c17488600165c6a418da96e09e2a0814 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 26 Nov 2025 21:25:56 +0000 Subject: [PATCH 28/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index d678d5a0..067a9ce4 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 b29822c0c493de02ef6191b40666fb2406096275 +# trails-api v1 a1dff97dc1cc8b8165de652a0d6c5b5faa6af45c # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2033,7 +2033,7 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' - GetPopularTokensRequest: + GetFeaturedTokensRequest: type: object properties: routeProvider: @@ -2045,7 +2045,7 @@ components: description: '[]uint64' items: type: number - GetPopularTokensResponse: + GetFeaturedTokensResponse: type: object required: - tokens From 5038ec5e6b085b63651e82dbc3f2c0cee4b909a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 26 Nov 2025 21:26:16 +0000 Subject: [PATCH 29/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index 3466d007..2cd6fcae 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -3252,7 +3252,7 @@ } } }, - "GetPopularTokensRequest": { + "GetFeaturedTokensRequest": { "type": "object", "properties": { "routeProvider": { @@ -3270,7 +3270,7 @@ } } }, - "GetPopularTokensResponse": { + "GetFeaturedTokensResponse": { "type": "object", "required": [ "tokens" From 881e9b090636f9274a72be7b353f524b83c9edb6 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 27 Nov 2025 18:32:06 +0000 Subject: [PATCH 30/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 067a9ce4..994c6730 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 a1dff97dc1cc8b8165de652a0d6c5b5faa6af45c +# trails-api v1 e6789af4cca93011d6e552e9ed83341200c39e63 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1714,7 +1714,8 @@ components: - name - symbol - decimals - - supportsBridging + - featured + - featureIndex properties: chainId: type: number @@ -1730,6 +1731,10 @@ components: type: boolean logoUri: type: string + featured: + type: boolean + featureIndex: + type: number SortOrder: type: string description: Represented as uint32 on the server side @@ -2035,16 +2040,18 @@ components: $ref: '#/components/schemas/TokenInfo' GetFeaturedTokensRequest: type: object + required: + - chainIds properties: - routeProvider: - type: string - limit: - type: number chainIds: type: array description: '[]uint64' items: type: number + limit: + type: number + tokenAddress: + type: string GetFeaturedTokensResponse: type: object required: @@ -2062,15 +2069,13 @@ components: properties: query: type: string - routeProvider: - type: string - limit: - type: number chainIds: type: array description: '[]uint64' items: type: number + limit: + type: number SearchTokensResponse: type: object required: From bec0ebf86511a857c80427f2629a1429f1e6ddf0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 27 Nov 2025 18:32:24 +0000 Subject: [PATCH 31/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index 2cd6fcae..8714e4e2 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -3254,19 +3254,22 @@ }, "GetFeaturedTokensRequest": { "type": "object", + "required": [ + "chainIds" + ], "properties": { - "routeProvider": { - "type": "string" - }, - "limit": { - "type": "number" - }, "chainIds": { "type": "array", "description": "[]uint64", "items": { "type": "number" } + }, + "limit": { + "type": "number" + }, + "tokenAddress": { + "type": "string" } } }, @@ -3294,18 +3297,15 @@ "query": { "type": "string" }, - "routeProvider": { - "type": "string" - }, - "limit": { - "type": "number" - }, "chainIds": { "type": "array", "description": "[]uint64", "items": { "type": "number" } + }, + "limit": { + "type": "number" } } }, From d8ea6bc010d28843d561b1e798bd9b5f86ba3605 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 28 Nov 2025 02:03:23 +0000 Subject: [PATCH 32/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 994c6730..c7f51daa 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e6789af4cca93011d6e552e9ed83341200c39e63 +# trails-api v1 28cd397da4d3b48f8a57466ae5ec8cc28ba88f03 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2038,7 +2038,7 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' - GetFeaturedTokensRequest: + GetTokenListRequest: type: object required: - chainIds @@ -2052,7 +2052,11 @@ components: type: number tokenAddress: type: string - GetFeaturedTokensResponse: + includeAllListed: + type: boolean + includeExternal: + type: boolean + GetTokenListResponse: type: object required: - tokens From d7e381d56806eefb60383c75dbf7fdb918d81ec2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 28 Nov 2025 02:03:41 +0000 Subject: [PATCH 33/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index 8714e4e2..d65af6ef 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -3252,7 +3252,7 @@ } } }, - "GetFeaturedTokensRequest": { + "GetTokenListRequest": { "type": "object", "required": [ "chainIds" @@ -3270,10 +3270,16 @@ }, "tokenAddress": { "type": "string" + }, + "includeAllListed": { + "type": "boolean" + }, + "includeExternal": { + "type": "boolean" } } }, - "GetFeaturedTokensResponse": { + "GetTokenListResponse": { "type": "object", "required": [ "tokens" From a8d67f3ef5f5716756b3839e673c7408cae8a457 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Fri, 28 Nov 2025 09:57:42 +0000 Subject: [PATCH 34/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index c7f51daa..9935fc0a 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 28cd397da4d3b48f8a57466ae5ec8cc28ba88f03 +# trails-api v1 8b19541b73759452ae4089eb158439d30123d820 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # From 6e0fc620f89c0b73c115d43186dd0e68db90a49f Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 28 Nov 2025 14:57:18 +0000 Subject: [PATCH 35/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 40 ++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 9935fc0a..0fe1a7ff 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 8b19541b73759452ae4089eb158439d30123d820 +# trails-api v1 02dbc73316de39aaa2f74b7271f350258de6bf5c # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -849,6 +849,28 @@ components: status: type: number example: 422 + ErrorClientOutdated: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ClientOutdated" + code: + type: number + example: 8009 + msg: + type: string + example: "Client is outdated" + cause: + type: string + status: + type: number + example: 422 ErrorIntentsSkipped: type: object required: @@ -1677,6 +1699,19 @@ components: type: string sequenceWalletUtilsAddress: type: string + TrailsContracts: + type: object + required: + - trailsIntentEntrypointAddress + - trailsRouterAddress + - trailsRouterShimAddress + properties: + trailsIntentEntrypointAddress: + type: string + trailsRouterAddress: + type: string + trailsRouterShimAddress: + type: string ChainInfo: type: object required: @@ -1820,9 +1855,12 @@ components: type: object required: - intent + - trailsContracts properties: intent: $ref: '#/components/schemas/Intent' + trailsContracts: + $ref: '#/components/schemas/TrailsContracts' CommitIntentResponse: type: object required: From 31953069f00a89ff8e03187cd4dcbdefeec3d0d0 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 28 Nov 2025 15:00:44 +0000 Subject: [PATCH 36/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 0fe1a7ff..03a49172 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 02dbc73316de39aaa2f74b7271f350258de6bf5c +# trails-api v1 75a444ba447648daccc807c9c922e96a68a043ea # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2086,6 +2086,8 @@ components: description: '[]uint64' items: type: number + searchQuery: + type: string limit: type: number tokenAddress: @@ -2104,30 +2106,6 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' - SearchTokensRequest: - type: object - required: - - query - properties: - query: - type: string - chainIds: - type: array - description: '[]uint64' - items: - type: number - limit: - type: number - SearchTokensResponse: - type: object - required: - - tokens - properties: - tokens: - type: array - description: '[]TokenInfo' - items: - $ref: '#/components/schemas/TokenInfo' Page: type: object properties: From 67fcacfb5117044ebad0255355eb7eab37927d3c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 28 Nov 2025 15:01:03 +0000 Subject: [PATCH 37/95] chore: auto-convert OpenAPI YAML to JSON --- api-reference/trails-api.gen.json | 39 +++---------------------------- 1 file changed, 3 insertions(+), 36 deletions(-) diff --git a/api-reference/trails-api.gen.json b/api-reference/trails-api.gen.json index d65af6ef..baa2f8da 100644 --- a/api-reference/trails-api.gen.json +++ b/api-reference/trails-api.gen.json @@ -3265,6 +3265,9 @@ "type": "number" } }, + "searchQuery": { + "type": "string" + }, "limit": { "type": "number" }, @@ -3294,42 +3297,6 @@ } } }, - "SearchTokensRequest": { - "type": "object", - "required": [ - "query" - ], - "properties": { - "query": { - "type": "string" - }, - "chainIds": { - "type": "array", - "description": "[]uint64", - "items": { - "type": "number" - } - }, - "limit": { - "type": "number" - } - } - }, - "SearchTokensResponse": { - "type": "object", - "required": [ - "tokens" - ], - "properties": { - "tokens": { - "type": "array", - "description": "[]TokenInfo", - "items": { - "$ref": "#/components/schemas/TokenInfo" - } - } - } - }, "Page": { "type": "object", "properties": { From dffa61e22e14fdabb100840aeee1e1754210d646 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 28 Nov 2025 20:19:59 +0000 Subject: [PATCH 38/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 03a49172..97e3bc58 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 75a444ba447648daccc807c9c922e96a68a043ea +# trails-api v1 e4bcc20cc5d1a0eb182d4c6e449c24fa42d44729 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1434,6 +1434,7 @@ components: - destinationTokenAddress - destinationTokenAmount - destinationTokenMetadata + - destinationToAddress - createdAt properties: id: @@ -1476,6 +1477,8 @@ components: type: number destinationTokenMetadata: $ref: '#/components/schemas/TokenMetadata' + destinationToAddress: + type: string updatedAt: type: string createdAt: From e76ea801338c1e1ff0597e5cb4a4f63d21e54d44 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Sun, 30 Nov 2025 20:14:28 +0000 Subject: [PATCH 39/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 97e3bc58..6a85b10b 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e4bcc20cc5d1a0eb182d4c6e449c24fa42d44729 +# trails-api v1 650305b09bcc9f137525524bd225366a540fa438 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -977,12 +977,12 @@ components: type: string description: Represented as uint8 on the server side enum: + - UNKNOWN + - ON_HOLD - PENDING + - FETCHING - COMPLETE - FAILED - - UNKNOWN - - RELAYED - - FINALIZED QuoteIntentRequest: type: object required: @@ -1545,24 +1545,32 @@ components: type: object required: - id - - sourceTxHash - - sourceChainId + - intentId + - originChainId - destinationChainId + - originTxnId + - originTxnHash + - destinationTxnId - message - attestation - status - - retryCount - createdAt - updatedAt properties: id: type: number - sourceTxHash: + intentId: type: string - sourceChainId: + originChainId: type: number destinationChainId: type: number + originTxnId: + type: number + originTxnHash: + type: string + destinationTxnId: + type: number message: type: string attestation: @@ -1571,10 +1579,6 @@ components: type: number statusReason: type: string - processedAt: - type: string - retryCount: - type: number createdAt: type: string updatedAt: From e5caf615634e53cbaf717bb23e66ec843f7bf30c Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 1 Dec 2025 21:48:03 +0000 Subject: [PATCH 40/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 35 +++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 6a85b10b..9d05c35e 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 650305b09bcc9f137525524bd225366a540fa438 +# trails-api v1 895ee3b30b3c64ce853eadd9f13512ebc33e1335 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -921,13 +921,16 @@ components: enum: - EXACT_INPUT - EXACT_OUTPUT - QuoteProviderType: + RouteProvider: type: string description: Represented as string on the server side enum: - - RELAY - - CCTPV2 + - NONE + - CCTP - LIFI + - RELAY + - SUSHI + - ZEROX IntentStatus: type: string description: Represented as uint8 on the server side @@ -1021,8 +1024,10 @@ components: QuoteIntentRequestOptions: type: object properties: - quoteProvider: - type: string + swapProvider: + $ref: '#/components/schemas/RouteProvider' + bridgeProvider: + $ref: '#/components/schemas/RouteProvider' slippageTolerance: type: number trailsAddressOverrides: @@ -1288,6 +1293,9 @@ components: IntentProviderQuote: type: object required: + - routeProviders + - routeProvidersRequestIds + - routeProvidersFeeUsd - quoteProvider - quoteProviderRequestId - quoteProviderFeeUsd @@ -1299,6 +1307,21 @@ components: - priceImpact - priceImpactUsd properties: + routeProviders: + type: array + description: '[]RouteProvider' + items: + $ref: '#/components/schemas/RouteProvider' + routeProvidersRequestIds: + type: array + description: '[]string' + items: + type: string + routeProvidersFeeUsd: + type: array + description: '[]float64' + items: + type: number quoteProvider: type: string quoteProviderRequestId: From 514ec0932b32948bd3940dde4efb87ae8ddf46d4 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:09:06 +0000 Subject: [PATCH 41/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 9d05c35e..2e0d03db 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 895ee3b30b3c64ce853eadd9f13512ebc33e1335 +# trails-api v1 f14679c5ffd09663021e421f67b33a8cf5287d4a # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -925,7 +925,7 @@ components: type: string description: Represented as string on the server side enum: - - NONE + - AUTO - CCTP - LIFI - RELAY From 65c5671ab91d5a0fc50f2a387dc2b1408fe900d5 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 2 Dec 2025 16:09:41 +0000 Subject: [PATCH 42/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 2e0d03db..4c6ae6ce 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 f14679c5ffd09663021e421f67b33a8cf5287d4a +# trails-api v1 084ea43253074ae6cb7cf6173a6e5f82cd2ed766 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2126,6 +2126,11 @@ components: type: boolean includeExternal: type: boolean + excludeTokens: + type: array + description: '[]string' + items: + type: string GetTokenListResponse: type: object required: From ee4d8c54682d7502ed63277ecf904100bf6eec62 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 3 Dec 2025 18:38:21 +0000 Subject: [PATCH 43/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 33 +++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 4c6ae6ce..7b1e6bf0 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 084ea43253074ae6cb7cf6173a6e5f82cd2ed766 +# trails-api v1 4075a64caa6cf1a0398a83bb5028ce078b1ff625 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -893,6 +893,28 @@ components: status: type: number example: 400 + ErrorQuoteExpired: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "QuoteExpired" + code: + type: number + example: 7001 + msg: + type: string + example: "Intent quote has expired. Please try again." + cause: + type: string + status: + type: number + example: 400 ErrorIntentsDisabled: type: object required: @@ -1296,9 +1318,6 @@ components: - routeProviders - routeProvidersRequestIds - routeProvidersFeeUsd - - quoteProvider - - quoteProviderRequestId - - quoteProviderFeeUsd - fromAmount - fromAmountMin - toAmount @@ -1322,12 +1341,6 @@ components: description: '[]float64' items: type: number - quoteProvider: - type: string - quoteProviderRequestId: - type: string - quoteProviderFeeUsd: - type: number fromAmount: type: number fromAmountMin: From 00daea4f74095b0c694505584e9e8db2c74b8edf Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 4 Dec 2025 12:51:32 +0000 Subject: [PATCH 44/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 7b1e6bf0..2f0bd878 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 4075a64caa6cf1a0398a83bb5028ce078b1ff625 +# trails-api v1 f0bc670e0470ee70458af83aa1129c53613c23aa # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -1074,6 +1074,7 @@ components: - quote - fees - trailsVersion + - trailsContracts - expiresAt properties: id: @@ -1118,6 +1119,8 @@ components: $ref: '#/components/schemas/IntentFees' trailsVersion: type: string + trailsContracts: + $ref: '#/components/schemas/TrailsContracts' expiresAt: type: string updatedAt: @@ -1898,12 +1901,9 @@ components: type: object required: - intent - - trailsContracts properties: intent: $ref: '#/components/schemas/Intent' - trailsContracts: - $ref: '#/components/schemas/TrailsContracts' CommitIntentResponse: type: object required: From d8531867dcb313ff0c141cfa099087eed6436888 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 4 Dec 2025 20:44:25 +0000 Subject: [PATCH 45/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 2f0bd878..f74b6c7a 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 f0bc670e0470ee70458af83aa1129c53613c23aa +# trails-api v1 f143a5dae32057ecbd675951259345fe1053b900 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -7,9 +7,6 @@ openapi: 3.0.0 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://sequence.build', 'name': 'X-Access-Key'}} schemas: From ac495a039469e6700bb19e54b0d3c32c6d5cc477 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Fri, 5 Dec 2025 13:05:42 +0000 Subject: [PATCH 46/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index f74b6c7a..558acc00 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 f143a5dae32057ecbd675951259345fe1053b900 +# trails-api v1 35c8448f49399dff5d5e1f01e1155366058af4e5 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2031,6 +2031,26 @@ components: $ref: '#/components/schemas/IntentSummary' nextPage: $ref: '#/components/schemas/Page' + RequeueIntentRequest: + type: object + required: + - intentId + properties: + intentId: + type: string + RequeueIntentResponse: + type: object + required: + - intentId + - requeuedTransactions + - status + properties: + intentId: + type: string + requeuedTransactions: + type: number + status: + $ref: '#/components/schemas/IntentStatus' GetTokenPricesRequest: type: object required: From 5c09b1145eafc890ddaec073504cbfd693ac5eb5 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Fri, 5 Dec 2025 13:06:11 +0000 Subject: [PATCH 47/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 558acc00..f74b6c7a 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 35c8448f49399dff5d5e1f01e1155366058af4e5 +# trails-api v1 f143a5dae32057ecbd675951259345fe1053b900 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2031,26 +2031,6 @@ components: $ref: '#/components/schemas/IntentSummary' nextPage: $ref: '#/components/schemas/Page' - RequeueIntentRequest: - type: object - required: - - intentId - properties: - intentId: - type: string - RequeueIntentResponse: - type: object - required: - - intentId - - requeuedTransactions - - status - properties: - intentId: - type: string - requeuedTransactions: - type: number - status: - $ref: '#/components/schemas/IntentStatus' GetTokenPricesRequest: type: object required: From 718759b74eb9ee31d905ae0918e343188a41330f Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 5 Dec 2025 17:57:48 +0000 Subject: [PATCH 48/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index f74b6c7a..afb68869 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 f143a5dae32057ecbd675951259345fe1053b900 +# trails-api v1 a6bd8407006d618eae3ff182532e7a9856a1affd # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2000,6 +2000,8 @@ components: type: string byDestinationIntentAddress: type: string + byQueryString: + type: string SearchIntentsResponse: type: object required: From 46278244e7d1468973e47327fb70ebc9d25f432f Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 5 Dec 2025 21:01:56 +0000 Subject: [PATCH 49/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index afb68869..5cadbe91 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 a6bd8407006d618eae3ff182532e7a9856a1affd +# trails-api v1 29bbde2b9e897c05d4538259d0a8df426b14aca4 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2181,4 +2181,29 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' + AdminRequeueIntentTransactionRequest: + type: object + required: + - intentId + properties: + intentId: + type: string + origin: + type: boolean + destination: + type: boolean + originMinAmountOverride: + type: number + destinationMinAmountOverride: + type: number + AdminRequeueIntentTransactionResponse: + type: object + required: + - status + - message + properties: + status: + type: boolean + message: + type: string paths: From 2efea1db29b547c41532cbab93f8773be36999e3 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 01:23:30 +0000 Subject: [PATCH 50/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 5cadbe91..207e7cc1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 29bbde2b9e897c05d4538259d0a8df426b14aca4 +# trails-api v1 516088f18178ca4a85cac8429bb27812e6923021 # -- # Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT # @@ -2206,4 +2206,26 @@ components: type: boolean message: type: string + AdminDeployCCTPMessageWalletRequest: + type: object + required: + - chainId + properties: + chainId: + type: number + AdminDeployCCTPMessageWalletResponse: + type: object + required: + - chainId + - walletAddress + - deployed + properties: + chainId: + type: number + walletAddress: + type: string + deployed: + type: boolean + deploymentTxHash: + type: string paths: From 8ba6dc1a22fe9153b915e996c7f3cf879c056e51 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 02:24:16 +0000 Subject: [PATCH 51/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 53 ++----------------------------- 1 file changed, 3 insertions(+), 50 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 207e7cc1..1d697cd0 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,8 +1,8 @@ -# trails-api v1 516088f18178ca4a85cac8429bb27812e6923021 +# trails-api v1 a6bd8407006d618eae3ff182532e7a9856a1affd # -- -# Code generated by webrpc-gen@v0.31.2 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # -# webrpc-gen -service=Trails -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml +# webrpc-gen -service=Trails -methodTreeShake -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 info: title: 'Trails API' @@ -2181,51 +2181,4 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' - AdminRequeueIntentTransactionRequest: - type: object - required: - - intentId - properties: - intentId: - type: string - origin: - type: boolean - destination: - type: boolean - originMinAmountOverride: - type: number - destinationMinAmountOverride: - type: number - AdminRequeueIntentTransactionResponse: - type: object - required: - - status - - message - properties: - status: - type: boolean - message: - type: string - AdminDeployCCTPMessageWalletRequest: - type: object - required: - - chainId - properties: - chainId: - type: number - AdminDeployCCTPMessageWalletResponse: - type: object - required: - - chainId - - walletAddress - - deployed - properties: - chainId: - type: number - walletAddress: - type: string - deployed: - type: boolean - deploymentTxHash: - type: string paths: From 4bc7566766a0ee5418dd855d74d9cf6acf262091 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 17:09:05 +0000 Subject: [PATCH 52/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 406 +++++++++++++++++++++++++++++- 1 file changed, 405 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 1d697cd0..eb7dd85d 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 a6bd8407006d618eae3ff182532e7a9856a1affd +# trails-api v1 7ba075d1b66432a71b6ee5beab432f2a14948f16 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2153,6 +2153,410 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' + GetMeldCountryDefaultsRequest: + type: object + required: + - countryCode + properties: + countryCode: + type: string + GetMeldCountryDefaultsResponse: + type: object + required: + - defaults + properties: + defaults: + type: array + description: '[]MeldCountryDefault' + items: + $ref: '#/components/schemas/MeldCountryDefault' + MeldCountryDefault: + type: object + required: + - countryCode + - defaultCurrencyCode + - defaultPaymentMethods + properties: + countryCode: + type: string + defaultCurrencyCode: + type: string + defaultPaymentMethods: + type: array + description: '[]string' + items: + type: string + GetMeldFiatCurrenciesRequest: + type: object + required: + - countryCode + properties: + countryCode: + type: string + GetMeldFiatCurrenciesResponse: + type: object + required: + - fiatCurrencies + properties: + fiatCurrencies: + type: array + description: '[]MeldFiatCurrency' + items: + $ref: '#/components/schemas/MeldFiatCurrency' + MeldFiatCurrency: + type: object + required: + - currencyCode + - name + - symbolImageUrl + properties: + currencyCode: + type: string + name: + type: string + symbolImageUrl: + type: string + GetMeldPaymentMethodsRequest: + type: object + required: + - fiatCurrency + properties: + fiatCurrency: + type: string + GetMeldPaymentMethodsResponse: + type: object + required: + - paymentMethods + properties: + paymentMethods: + type: array + description: '[]MeldPaymentMethod' + items: + $ref: '#/components/schemas/MeldPaymentMethod' + MeldPaymentMethod: + type: object + required: + - paymentMethod + - name + - paymentType + - logos + properties: + paymentMethod: + type: string + name: + type: string + paymentType: + type: string + logos: + $ref: '#/components/schemas/MeldPaymentLogos' + MeldPaymentLogos: + type: object + required: + - dark + - light + properties: + dark: + type: string + light: + type: string + GetMeldCryptoCurrenciesRequest: + type: object + required: + - countryCode + properties: + countryCode: + type: string + GetMeldCryptoCurrenciesResponse: + type: object + required: + - cryptoCurrencies + properties: + cryptoCurrencies: + type: array + description: '[]MeldCryptoCurrency' + items: + $ref: '#/components/schemas/MeldCryptoCurrency' + MeldCryptoCurrency: + type: object + required: + - currencyCode + - name + - chainCode + - chainName + - symbolImageUrl + properties: + currencyCode: + type: string + name: + type: string + chainCode: + type: string + chainName: + type: string + chainId: + type: string + contractAddress: + type: string + symbolImageUrl: + type: string + GetMeldPurchaseLimitsRequest: + type: object + GetMeldPurchaseLimitsResponse: + type: object + required: + - limits + properties: + limits: + type: object + description: 'map' + additionalProperties: + $ref: '#/components/schemas/MeldCurrencyLimits' + MeldCurrencyLimits: + type: object + required: + - minimumAmount + - maximumAmount + properties: + defaultAmount: + type: number + minimumAmount: + type: number + maximumAmount: + type: number + GetMeldQuoteRequest: + type: object + required: + - sourceAmount + - sourceCurrencyCode + - destinationCurrencyCode + - countryCode + - walletAddress + properties: + sourceAmount: + type: string + sourceCurrencyCode: + type: string + destinationCurrencyCode: + type: string + countryCode: + type: string + walletAddress: + type: string + GetMeldQuoteResponse: + type: object + required: + - quoteResponse + properties: + quoteResponse: + type: string + MeldQuote: + type: object + required: + - transactionType + - sourceAmount + - sourceAmountWithoutFees + - fiatAmountWithoutFees + - sourceCurrencyCode + - countryCode + - totalFee + - networkFee + - transactionFee + - destinationAmount + - destinationCurrencyCode + - exchangeRate + - paymentMethodType + - customerScore + - serviceProvider + - partnerFee + properties: + transactionType: + type: string + sourceAmount: + type: number + sourceAmountWithoutFees: + type: number + fiatAmountWithoutFees: + type: number + destinationAmountWithoutFees: + type: number + sourceCurrencyCode: + type: string + countryCode: + type: string + totalFee: + type: number + networkFee: + type: number + transactionFee: + type: number + destinationAmount: + type: number + destinationCurrencyCode: + type: string + exchangeRate: + type: number + paymentMethodType: + type: string + customerScore: + type: number + serviceProvider: + type: string + institutionName: + type: string + lowKyc: + type: boolean + partnerFee: + type: number + CreateMeldWidgetSessionRequest: + type: object + required: + - sessionData + - sessionType + - externalCustomerId + - externalSessionId + properties: + sessionData: + $ref: '#/components/schemas/MeldSessionData' + sessionType: + type: string + externalCustomerId: + type: string + externalSessionId: + type: string + MeldSessionData: + type: object + required: + - walletAddress + - countryCode + - sourceCurrencyCode + - sourceAmount + - destinationCurrencyCode + - serviceProvider + properties: + walletAddress: + type: string + countryCode: + type: string + sourceCurrencyCode: + type: string + sourceAmount: + type: string + destinationCurrencyCode: + type: string + serviceProvider: + type: string + paymentMethodType: + type: string + redirectUrl: + type: string + CreateMeldWidgetSessionResponse: + type: object + required: + - widgetSession + properties: + widgetSession: + type: string + GetMeldTransactionRequest: + type: object + required: + - transactionId + properties: + transactionId: + type: string + GetMeldTransactionResponse: + type: object + required: + - transaction + properties: + transaction: + $ref: '#/components/schemas/MeldTransaction' + SearchMeldTransactionsRequest: + type: object + properties: + statuses: + type: string + externalSessionIds: + type: string + externalCustomerIds: + type: string + customerIds: + type: string + sessionIds: + type: string + sessionId: + type: string + from: + type: string + to: + type: string + limit: + type: number + SearchMeldTransactionsResponse: + type: object + required: + - transactions + properties: + transactions: + $ref: '#/components/schemas/MeldTransactions' + MeldTransaction: + type: object + required: + - id + properties: + id: + type: string + MeldTransactions: + type: object + required: + - transactions + properties: + transactions: + type: array + description: '[]MeldTransaction' + items: + $ref: '#/components/schemas/MeldTransaction' + CreateMeldBankLinkingConnectionRequest: + type: object + required: + - externalCustomerId + properties: + externalCustomerId: + type: string + institutionId: + type: string + institutionSearchString: + type: string + products: + type: array + description: '[]string' + items: + type: string + optionalProducts: + type: array + description: '[]string' + items: + type: string + redirectUrl: + type: string + regions: + type: array + description: '[]string' + items: + type: string + accountPreferenceOverride: + $ref: '#/components/schemas/MeldAccountPreferenceOverride' + MeldAccountPreferenceOverride: + type: object + properties: + allowRedirect: + type: boolean + CreateMeldBankLinkingConnectionResponse: + type: object + required: + - connectionResponse + properties: + connectionResponse: + type: string Page: type: object properties: From ff333b8df88cd429ca9e83a63e880f04cc97478c Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:18:25 +0000 Subject: [PATCH 53/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 348 +----------------------------- 1 file changed, 1 insertion(+), 347 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index eb7dd85d..c8901486 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 7ba075d1b66432a71b6ee5beab432f2a14948f16 +# trails-api v1 3ffa08c363d41ba9b70f4e54f767b7e3b3f737b5 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2153,202 +2153,6 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' - GetMeldCountryDefaultsRequest: - type: object - required: - - countryCode - properties: - countryCode: - type: string - GetMeldCountryDefaultsResponse: - type: object - required: - - defaults - properties: - defaults: - type: array - description: '[]MeldCountryDefault' - items: - $ref: '#/components/schemas/MeldCountryDefault' - MeldCountryDefault: - type: object - required: - - countryCode - - defaultCurrencyCode - - defaultPaymentMethods - properties: - countryCode: - type: string - defaultCurrencyCode: - type: string - defaultPaymentMethods: - type: array - description: '[]string' - items: - type: string - GetMeldFiatCurrenciesRequest: - type: object - required: - - countryCode - properties: - countryCode: - type: string - GetMeldFiatCurrenciesResponse: - type: object - required: - - fiatCurrencies - properties: - fiatCurrencies: - type: array - description: '[]MeldFiatCurrency' - items: - $ref: '#/components/schemas/MeldFiatCurrency' - MeldFiatCurrency: - type: object - required: - - currencyCode - - name - - symbolImageUrl - properties: - currencyCode: - type: string - name: - type: string - symbolImageUrl: - type: string - GetMeldPaymentMethodsRequest: - type: object - required: - - fiatCurrency - properties: - fiatCurrency: - type: string - GetMeldPaymentMethodsResponse: - type: object - required: - - paymentMethods - properties: - paymentMethods: - type: array - description: '[]MeldPaymentMethod' - items: - $ref: '#/components/schemas/MeldPaymentMethod' - MeldPaymentMethod: - type: object - required: - - paymentMethod - - name - - paymentType - - logos - properties: - paymentMethod: - type: string - name: - type: string - paymentType: - type: string - logos: - $ref: '#/components/schemas/MeldPaymentLogos' - MeldPaymentLogos: - type: object - required: - - dark - - light - properties: - dark: - type: string - light: - type: string - GetMeldCryptoCurrenciesRequest: - type: object - required: - - countryCode - properties: - countryCode: - type: string - GetMeldCryptoCurrenciesResponse: - type: object - required: - - cryptoCurrencies - properties: - cryptoCurrencies: - type: array - description: '[]MeldCryptoCurrency' - items: - $ref: '#/components/schemas/MeldCryptoCurrency' - MeldCryptoCurrency: - type: object - required: - - currencyCode - - name - - chainCode - - chainName - - symbolImageUrl - properties: - currencyCode: - type: string - name: - type: string - chainCode: - type: string - chainName: - type: string - chainId: - type: string - contractAddress: - type: string - symbolImageUrl: - type: string - GetMeldPurchaseLimitsRequest: - type: object - GetMeldPurchaseLimitsResponse: - type: object - required: - - limits - properties: - limits: - type: object - description: 'map' - additionalProperties: - $ref: '#/components/schemas/MeldCurrencyLimits' - MeldCurrencyLimits: - type: object - required: - - minimumAmount - - maximumAmount - properties: - defaultAmount: - type: number - minimumAmount: - type: number - maximumAmount: - type: number - GetMeldQuoteRequest: - type: object - required: - - sourceAmount - - sourceCurrencyCode - - destinationCurrencyCode - - countryCode - - walletAddress - properties: - sourceAmount: - type: string - sourceCurrencyCode: - type: string - destinationCurrencyCode: - type: string - countryCode: - type: string - walletAddress: - type: string - GetMeldQuoteResponse: - type: object - required: - - quoteResponse - properties: - quoteResponse: - type: string MeldQuote: type: object required: @@ -2407,156 +2211,6 @@ components: type: boolean partnerFee: type: number - CreateMeldWidgetSessionRequest: - type: object - required: - - sessionData - - sessionType - - externalCustomerId - - externalSessionId - properties: - sessionData: - $ref: '#/components/schemas/MeldSessionData' - sessionType: - type: string - externalCustomerId: - type: string - externalSessionId: - type: string - MeldSessionData: - type: object - required: - - walletAddress - - countryCode - - sourceCurrencyCode - - sourceAmount - - destinationCurrencyCode - - serviceProvider - properties: - walletAddress: - type: string - countryCode: - type: string - sourceCurrencyCode: - type: string - sourceAmount: - type: string - destinationCurrencyCode: - type: string - serviceProvider: - type: string - paymentMethodType: - type: string - redirectUrl: - type: string - CreateMeldWidgetSessionResponse: - type: object - required: - - widgetSession - properties: - widgetSession: - type: string - GetMeldTransactionRequest: - type: object - required: - - transactionId - properties: - transactionId: - type: string - GetMeldTransactionResponse: - type: object - required: - - transaction - properties: - transaction: - $ref: '#/components/schemas/MeldTransaction' - SearchMeldTransactionsRequest: - type: object - properties: - statuses: - type: string - externalSessionIds: - type: string - externalCustomerIds: - type: string - customerIds: - type: string - sessionIds: - type: string - sessionId: - type: string - from: - type: string - to: - type: string - limit: - type: number - SearchMeldTransactionsResponse: - type: object - required: - - transactions - properties: - transactions: - $ref: '#/components/schemas/MeldTransactions' - MeldTransaction: - type: object - required: - - id - properties: - id: - type: string - MeldTransactions: - type: object - required: - - transactions - properties: - transactions: - type: array - description: '[]MeldTransaction' - items: - $ref: '#/components/schemas/MeldTransaction' - CreateMeldBankLinkingConnectionRequest: - type: object - required: - - externalCustomerId - properties: - externalCustomerId: - type: string - institutionId: - type: string - institutionSearchString: - type: string - products: - type: array - description: '[]string' - items: - type: string - optionalProducts: - type: array - description: '[]string' - items: - type: string - redirectUrl: - type: string - regions: - type: array - description: '[]string' - items: - type: string - accountPreferenceOverride: - $ref: '#/components/schemas/MeldAccountPreferenceOverride' - MeldAccountPreferenceOverride: - type: object - properties: - allowRedirect: - type: boolean - CreateMeldBankLinkingConnectionResponse: - type: object - required: - - connectionResponse - properties: - connectionResponse: - type: string Page: type: object properties: From ea6796d7ce51b2e6c8067e0479770a1b80b3452c Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 18:30:59 +0000 Subject: [PATCH 54/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 58 +++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index c8901486..90203b8b 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 3ffa08c363d41ba9b70f4e54f767b7e3b3f737b5 +# trails-api v1 250f3e931b07e6feab161ee556e03e1bd9963a1f # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2153,6 +2153,34 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' + Page: + type: object + properties: + column: + type: string + before: + type: number + after: + type: number + 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' MeldQuote: type: object required: @@ -2211,32 +2239,4 @@ components: type: boolean partnerFee: type: number - Page: - type: object - properties: - column: - type: string - before: - type: number - after: - type: number - 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' paths: From b46ddfd31e808443bc401ac18cccd2ae9e06ed87 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 8 Dec 2025 19:33:42 +0000 Subject: [PATCH 55/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 118 +++++++++++++++--------------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 90203b8b..439cf1d1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 250f3e931b07e6feab161ee556e03e1bd9963a1f +# trails-api v1 66c279b84c70b817bb9b5676ab3656f7188e3b39 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1813,6 +1813,64 @@ components: type: boolean featureIndex: type: number + MeldQuote: + type: object + required: + - transactionType + - sourceAmount + - sourceAmountWithoutFees + - fiatAmountWithoutFees + - sourceCurrencyCode + - countryCode + - totalFee + - networkFee + - transactionFee + - destinationAmount + - destinationCurrencyCode + - exchangeRate + - paymentMethodType + - customerScore + - serviceProvider + - partnerFee + properties: + transactionType: + type: string + sourceAmount: + type: number + sourceAmountWithoutFees: + type: number + fiatAmountWithoutFees: + type: number + destinationAmountWithoutFees: + type: number + sourceCurrencyCode: + type: string + countryCode: + type: string + totalFee: + type: number + networkFee: + type: number + transactionFee: + type: number + destinationAmount: + type: number + destinationCurrencyCode: + type: string + exchangeRate: + type: number + paymentMethodType: + type: string + customerScore: + type: number + serviceProvider: + type: string + institutionName: + type: string + lowKyc: + type: boolean + partnerFee: + type: number SortOrder: type: string description: Represented as uint32 on the server side @@ -2181,62 +2239,4 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' - MeldQuote: - type: object - required: - - transactionType - - sourceAmount - - sourceAmountWithoutFees - - fiatAmountWithoutFees - - sourceCurrencyCode - - countryCode - - totalFee - - networkFee - - transactionFee - - destinationAmount - - destinationCurrencyCode - - exchangeRate - - paymentMethodType - - customerScore - - serviceProvider - - partnerFee - properties: - transactionType: - type: string - sourceAmount: - type: number - sourceAmountWithoutFees: - type: number - fiatAmountWithoutFees: - type: number - destinationAmountWithoutFees: - type: number - sourceCurrencyCode: - type: string - countryCode: - type: string - totalFee: - type: number - networkFee: - type: number - transactionFee: - type: number - destinationAmount: - type: number - destinationCurrencyCode: - type: string - exchangeRate: - type: number - paymentMethodType: - type: string - customerScore: - type: number - serviceProvider: - type: string - institutionName: - type: string - lowKyc: - type: boolean - partnerFee: - type: number paths: From 21052d82888fd76a58cdcd6cb7df4cc4487b63bb Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Wed, 10 Dec 2025 13:06:57 +0000 Subject: [PATCH 56/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 40 ++++++++++--------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 439cf1d1..a3554f04 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 66c279b84c70b817bb9b5676ab3656f7188e3b39 +# trails-api v1 a426bd90b09b82411861e1ba36d7ec2a9a9da835 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1877,49 +1877,33 @@ components: enum: - DESC - ASC - 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 - - startTime - - hostname - - uptime - - ver + - version - branch - commitHash + - startTime + - uptime + - hostname - runnables - services properties: healthOK: type: boolean - startTime: - type: string - hostname: - type: string - uptime: - type: number - ver: + version: type: string branch: type: string commitHash: type: string + startTime: + type: string + uptime: + type: string + hostname: + type: string runnables: type: object services: From 87a2cfe78b256e9ec97cba8c5db7129a15120373 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Thu, 11 Dec 2025 17:00:51 +0000 Subject: [PATCH 57/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index a3554f04..686aa01a 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -2,13 +2,14 @@ # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # -# webrpc-gen -service=Trails -methodTreeShake -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -securitySchemes={ 'ApiKeyAuth': { 'type': 'apiKey', 'in': 'header', 'description': 'Project access key for authenticating requests, get an access key at https://sequence.build', 'name': 'X-Access-Key' }, } -out=proto/docs/trails-api.gen.yaml +# webrpc-gen -service=Trails -methodTreeShake -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -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'}} -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 info: title: 'Trails API' version: '' + 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'}} + 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: ErrorWebrpcEndpoint: type: object @@ -2223,4 +2224,5 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' -paths: + +paths: \ No newline at end of file From 9cc089380c0badb1048f0f6f0ca995f347ba8ade Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:00:46 +0000 Subject: [PATCH 58/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 686aa01a..2c8f9814 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 a426bd90b09b82411861e1ba36d7ec2a9a9da835 +# trails-api v1 588ce5fb673239f382cf61c41602dd786b3fb6d6 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -960,6 +960,7 @@ components: - EXECUTING - FAILED - SUCCEEDED + - ABORTED TransactionType: type: string description: Represented as uint8 on the server side @@ -2076,6 +2077,29 @@ components: $ref: '#/components/schemas/IntentSummary' nextPage: $ref: '#/components/schemas/Page' + AbortIntentRequest: + type: object + required: + - intentId + - chainId + - abortTransactionHash + properties: + intentId: + type: string + chainId: + type: number + abortTransactionHash: + type: string + AbortIntentResponse: + type: object + required: + - intentId + - status + properties: + intentId: + type: string + status: + $ref: '#/components/schemas/IntentStatus' GetTokenPricesRequest: type: object required: From ad3461665cf465d36a9717ecd21e59fe88453df2 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 12 Dec 2025 02:56:18 +0000 Subject: [PATCH 59/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 2c8f9814..97719ea4 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 588ce5fb673239f382cf61c41602dd786b3fb6d6 +# trails-api v1 a2d3e7a8836cb99f2614f83cc66051410a09fd35 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1473,6 +1473,7 @@ components: - destinationTokenAmount - destinationTokenMetadata - destinationToAddress + - expiresAt - createdAt properties: id: @@ -1517,6 +1518,8 @@ components: $ref: '#/components/schemas/TokenMetadata' destinationToAddress: type: string + expiresAt: + type: string updatedAt: type: string createdAt: From 1cdfaf6909c770ff50b68e68ce313ff1eaa7424d Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 12 Dec 2025 19:33:33 +0000 Subject: [PATCH 60/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 97719ea4..7a0c16a5 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 a2d3e7a8836cb99f2614f83cc66051410a09fd35 +# trails-api v1 8f92de91bde2cea43b147e23526187b7ff8c4fcd # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1322,8 +1322,12 @@ components: - routeProvidersFeeUsd - fromAmount - fromAmountMin + - fromAmountUsd + - fromAmountMinUsd - toAmount - toAmountMin + - toAmountUsd + - toAmountMinUsd - maxSlippage - priceImpact - priceImpactUsd @@ -1347,10 +1351,18 @@ components: type: number fromAmountMin: type: number + fromAmountUsd: + type: number + fromAmountMinUsd: + type: number toAmount: type: number toAmountMin: type: number + toAmountUsd: + type: number + toAmountMinUsd: + type: number maxSlippage: type: number priceImpact: From 2e3f6c734257844539ab3d28dcc114b7c2dfac7d Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 17 Dec 2025 00:40:51 +0000 Subject: [PATCH 61/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 226 ++++++++++++++++++++++-------- 1 file changed, 170 insertions(+), 56 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 7a0c16a5..42eb8548 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 8f92de91bde2cea43b147e23526187b7ff8c4fcd +# trails-api v1 460b0b8285b5ebeaef8828da8904674ccb63bcc3 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1215,6 +1215,96 @@ components: type: string input: type: string + IntentHistory: + type: object + required: + - intentId + - status + - expiresAt + - receipt + properties: + intentId: + type: string + status: + $ref: '#/components/schemas/IntentStatus' + expiresAt: + type: string + updatedAt: + type: string + createdAt: + type: string + receipt: + $ref: '#/components/schemas/IntentReceipt' + IntentReceiptSummary: + type: object + required: + - intentId + - status + - ownerAddress + - originChainId + - destinationChainId + - tradeType + - routeProviders + - originIntentAddress + - originTokenAddress + - originTokenAmount + - originTokenMetadata + - destinationIntentAddress + - destinationTokenMetadata + - destinationHasCallData + - destinationHasCallValue + - createdAt + - expiresAt + properties: + intentId: + type: string + status: + $ref: '#/components/schemas/IntentStatus' + ownerAddress: + type: string + originChainId: + type: number + destinationChainId: + type: number + tradeType: + $ref: '#/components/schemas/TradeType' + routeProviders: + type: array + description: '[]RouteProvider' + items: + $ref: '#/components/schemas/RouteProvider' + originIntentAddress: + type: string + originTokenAddress: + type: string + originTokenAmount: + type: number + originTokenMetadata: + $ref: '#/components/schemas/TokenMetadata' + destinationIntentAddress: + type: string + destinationTokenAddress: + type: string + destinationTokenAmount: + type: number + destinationToAddress: + type: string + destinationTokenMetadata: + $ref: '#/components/schemas/TokenMetadata' + destinationHasCallData: + type: boolean + destinationHasCallValue: + type: boolean + memo: + type: string + createdAt: + type: string + expiresAt: + type: string + startedAt: + type: string + finishedAt: + type: string IntentReceipt: type: object required: @@ -1229,6 +1319,7 @@ components: - depositTransaction - originTransactionId - originTransaction + - summary properties: id: type: number @@ -1256,6 +1347,8 @@ components: type: number destinationTransaction: $ref: '#/components/schemas/IntentTransaction' + summary: + $ref: '#/components/schemas/IntentReceiptSummary' updatedAt: type: string createdAt: @@ -1265,6 +1358,7 @@ components: required: - id - intentId + - status - chainId - type - context @@ -1272,12 +1366,15 @@ components: - toAddress - tokenAddress - tokenAmount - - status properties: id: type: number intentId: type: string + status: + $ref: '#/components/schemas/TransactionStatus' + statusReason: + type: string chainId: type: number type: @@ -1306,10 +1403,6 @@ components: type: string txnMinedAt: type: string - status: - $ref: '#/components/schemas/TransactionStatus' - statusReason: - type: string updatedAt: type: string createdAt: @@ -1418,52 +1511,6 @@ components: type: number totalFeeUsd: type: number - IntentTransactionGasFee: - type: object - required: - - chainId - - totalGasLimit - - gasPrice - - nativeTokenSymbol - - chainGasUsageStatus - - totalFeeAmount - - totalFeeUsd - - metaTxnFeeDetails - - metaTxnGasQuote - properties: - chainId: - type: number - totalGasLimit: - type: number - gasPrice: - type: number - nativeTokenSymbol: - type: string - nativeTokenPriceUsd: - type: number - chainGasUsageStatus: - $ref: '#/components/schemas/ChainGasUsageStatus' - totalFeeAmount: - type: number - totalFeeUsd: - type: string - metaTxnFeeDetails: - $ref: '#/components/schemas/MetaTxnFeeDetails' - metaTxnGasQuote: - type: string - MetaTxnFeeDetails: - type: object - required: - - metaTxnId - - estimatedGasLimit - - feeNative - properties: - metaTxnId: - type: string - estimatedGasLimit: - type: number - feeNative: - type: number IntentSummary: type: object required: @@ -1536,6 +1583,52 @@ components: type: string createdAt: type: string + IntentTransactionGasFee: + type: object + required: + - chainId + - totalGasLimit + - gasPrice + - nativeTokenSymbol + - chainGasUsageStatus + - totalFeeAmount + - totalFeeUsd + - metaTxnFeeDetails + - metaTxnGasQuote + properties: + chainId: + type: number + totalGasLimit: + type: number + gasPrice: + type: number + nativeTokenSymbol: + type: string + nativeTokenPriceUsd: + type: number + chainGasUsageStatus: + $ref: '#/components/schemas/ChainGasUsageStatus' + totalFeeAmount: + type: number + totalFeeUsd: + type: string + metaTxnFeeDetails: + $ref: '#/components/schemas/MetaTxnFeeDetails' + metaTxnGasQuote: + type: string + MetaTxnFeeDetails: + type: object + required: + - metaTxnId + - estimatedGasLimit + - feeNative + properties: + metaTxnId: + type: string + estimatedGasLimit: + type: number + feeNative: + type: number ChainMetadata: type: object required: @@ -2071,7 +2164,7 @@ components: description: '[]Intent' items: $ref: '#/components/schemas/Intent' - GetIntentTransactionHistoryRequest: + GetIntentHistoryRequest: type: object properties: page: @@ -2080,16 +2173,16 @@ components: type: number byOwnerAddress: type: string - GetIntentTransactionHistoryResponse: + GetIntentHistoryResponse: type: object required: - intents properties: intents: type: array - description: '[]IntentSummary' + description: '[]IntentHistory' items: - $ref: '#/components/schemas/IntentSummary' + $ref: '#/components/schemas/IntentHistory' nextPage: $ref: '#/components/schemas/Page' AbortIntentRequest: @@ -2263,5 +2356,26 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' + GetIntentTransactionHistoryRequest: + type: object + properties: + page: + $ref: '#/components/schemas/Page' + byProjectId: + type: number + byOwnerAddress: + type: string + GetIntentTransactionHistoryResponse: + type: object + required: + - intents + properties: + intents: + type: array + description: '[]IntentSummary' + items: + $ref: '#/components/schemas/IntentSummary' + nextPage: + $ref: '#/components/schemas/Page' paths: \ No newline at end of file From 7c545023545860d95ed1343c86fcbb8bf89e309a Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Thu, 18 Dec 2025 13:38:07 +0000 Subject: [PATCH 62/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 42eb8548..41eb7531 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 460b0b8285b5ebeaef8828da8904674ccb63bcc3 +# trails-api v1 dccdcc8fb172fbe39c51a7e89d408dc2d7d43ee1 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -961,6 +961,7 @@ components: - FAILED - SUCCEEDED - ABORTED + - REFUNDED TransactionType: type: string description: Represented as uint8 on the server side @@ -990,6 +991,7 @@ components: - SUCCEEDED - FAILED - ABORTED + - REVERTED ChainGasUsageStatus: type: string description: Represented as string on the server side From 974f71c3e7ca67f1ecb3adb59551b1a0b08d9733 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 18 Dec 2025 15:07:32 +0000 Subject: [PATCH 63/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 41eb7531..42eb8548 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 dccdcc8fb172fbe39c51a7e89d408dc2d7d43ee1 +# trails-api v1 460b0b8285b5ebeaef8828da8904674ccb63bcc3 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -961,7 +961,6 @@ components: - FAILED - SUCCEEDED - ABORTED - - REFUNDED TransactionType: type: string description: Represented as uint8 on the server side @@ -991,7 +990,6 @@ components: - SUCCEEDED - FAILED - ABORTED - - REVERTED ChainGasUsageStatus: type: string description: Represented as string on the server side From 7e5d07530166492013a32af154529182ea125ed3 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Fri, 19 Dec 2025 12:54:47 +0000 Subject: [PATCH 64/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 42eb8548..4d7aa10a 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 460b0b8285b5ebeaef8828da8904674ccb63bcc3 +# trails-api v1 89bbbb375dffc12e4bc1e41ffb0b130bc4a68272 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1469,6 +1469,8 @@ components: - provider - feeTokenAddress - feeTokenTotal + - feeTokenAmount + - feeTokenUsd - totalFeeAmount - totalFeeUsd properties: @@ -1482,6 +1484,10 @@ components: type: string feeTokenTotal: type: number + feeTokenAmount: + type: number + feeTokenUsd: + type: number totalFeeAmount: type: number totalFeeUsd: From 2fab149e275e769df630f112162b9071897afaf3 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 23 Dec 2025 03:05:09 +0000 Subject: [PATCH 65/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 4d7aa10a..19a6ffd5 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 89bbbb375dffc12e4bc1e41ffb0b130bc4a68272 +# trails-api v1 cb9c80da8f1202d083d6f3a6ed5347bdaddf0a81 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -961,6 +961,7 @@ components: - FAILED - SUCCEEDED - ABORTED + - REFUNDED TransactionType: type: string description: Represented as uint8 on the server side @@ -990,6 +991,7 @@ components: - SUCCEEDED - FAILED - ABORTED + - REVERTED ChainGasUsageStatus: type: string description: Represented as string on the server side From 009884991fe0fa2083bf6308d56473e2050c7dad Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 23 Dec 2025 16:07:23 +0000 Subject: [PATCH 66/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 70 +++++++++++++++++++++++++++++-- 1 file changed, 66 insertions(+), 4 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 19a6ffd5..e0898aa0 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 cb9c80da8f1202d083d6f3a6ed5347bdaddf0a81 +# trails-api v1 5fe493dc722c5753f4a2b4c651ec9a484541ea7d # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1409,6 +1409,35 @@ components: type: string createdAt: type: string + PriceImpact: + type: object + required: + - priceImpact + - priceImpactUsd + properties: + priceImpact: + type: number + priceImpactUsd: + type: number + PriceImpactDetails: + type: object + required: + - executionPriceImpact + - marketPriceImpact + - providerFeesPriceImpact + - trailsFeesPriceImpact + - netPriceImpact + properties: + executionPriceImpact: + $ref: '#/components/schemas/PriceImpact' + marketPriceImpact: + $ref: '#/components/schemas/PriceImpact' + providerFeesPriceImpact: + $ref: '#/components/schemas/PriceImpact' + trailsFeesPriceImpact: + $ref: '#/components/schemas/PriceImpact' + netPriceImpact: + $ref: '#/components/schemas/PriceImpact' IntentProviderQuote: type: object required: @@ -1426,6 +1455,7 @@ components: - maxSlippage - priceImpact - priceImpactUsd + - priceImpactDetails properties: routeProviders: type: array @@ -1464,15 +1494,25 @@ components: type: number priceImpactUsd: type: number + priceImpactDetails: + $ref: '#/components/schemas/PriceImpactDetails' IntentFees: type: object required: - originGas - provider - feeTokenAddress - - feeTokenTotal - feeTokenAmount - feeTokenUsd + - feeTokenTotal + - gasFeeTotal + - gasFeeUsd + - trailsFeeTotal + - trailsFeeUsd + - collectorFeeTotal + - collectorFeeUsd + - providerFeeTotal + - providerFeeUsd - totalFeeAmount - totalFeeUsd properties: @@ -1484,12 +1524,28 @@ components: $ref: '#/components/schemas/IntentProviderFees' feeTokenAddress: type: string - feeTokenTotal: - type: number feeTokenAmount: type: number feeTokenUsd: type: number + feeTokenTotal: + type: number + gasFeeTotal: + type: number + gasFeeUsd: + type: number + trailsFeeTotal: + type: number + trailsFeeUsd: + type: number + collectorFeeTotal: + type: number + collectorFeeUsd: + type: number + providerFeeTotal: + type: number + providerFeeUsd: + type: number totalFeeAmount: type: number totalFeeUsd: @@ -1502,6 +1558,8 @@ components: - quoteProviderFeeUsd - trailsFee - trailsFeeUsd + - quoteProviderWithTrailsFee + - providerWithTrailsFeeUsd - totalFeeAmount - totalFeeUsd properties: @@ -1515,6 +1573,10 @@ components: type: number trailsFeeUsd: type: number + quoteProviderWithTrailsFee: + type: number + providerWithTrailsFeeUsd: + type: number totalFeeAmount: type: number totalFeeUsd: From ca667b0d875a8052ddf98aa6a01462da03ba6309 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Tue, 13 Jan 2026 10:52:28 +0000 Subject: [PATCH 67/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 54 ++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index e0898aa0..09177572 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 5fe493dc722c5753f4a2b4c651ec9a484541ea7d +# trails-api v1 6bcec99488538c687c72b8c2e6e1ecc63962c1dc # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -971,6 +971,7 @@ components: - ORIGIN - DESTINATION - ROUTE + - REFUND TransactionContext: type: string description: Represented as uint8 on the server side @@ -1009,6 +1010,17 @@ components: - FETCHING - COMPLETE - FAILED + RelayTransferStatus: + type: string + description: Represented as uint8 on the server side + enum: + - UNKNOWN + - ON_HOLD + - PENDING + - FETCHING + - COMPLETE + - REFUNDED + - FAILED QuoteIntentRequest: type: object required: @@ -1349,6 +1361,10 @@ components: type: number destinationTransaction: $ref: '#/components/schemas/IntentTransaction' + refundTransactionId: + type: number + refundTransaction: + $ref: '#/components/schemas/IntentTransaction' summary: $ref: '#/components/schemas/IntentReceiptSummary' updatedAt: @@ -1799,6 +1815,42 @@ components: type: string updatedAt: type: string + RelayTransfer: + type: object + required: + - id + - intentId + - originChainId + - destinationChainId + - originTxnId + - originTxnHash + - destinationTxnId + - status + - createdAt + - updatedAt + properties: + id: + type: number + intentId: + type: string + originChainId: + type: number + destinationChainId: + type: number + originTxnId: + type: number + originTxnHash: + type: string + destinationTxnId: + type: number + status: + type: number + statusReason: + type: string + createdAt: + type: string + updatedAt: + type: string GasFeeOptions: type: object required: From f7e2053db0761d98d56373c650f2deb11b54240d Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Tue, 13 Jan 2026 20:52:53 +0000 Subject: [PATCH 68/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 09177572..82fc132d 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1825,6 +1825,7 @@ components: - originTxnId - originTxnHash - destinationTxnId + - destinationTxnHash - status - createdAt - updatedAt @@ -1843,6 +1844,8 @@ components: type: string destinationTxnId: type: number + destinationTxnHash: + type: string status: type: number statusReason: @@ -2500,4 +2503,4 @@ components: nextPage: $ref: '#/components/schemas/Page' -paths: \ No newline at end of file +paths: From 7d238ec565cf7bd3f5c80d94a3ca8f982d49bcb4 Mon Sep 17 00:00:00 2001 From: miguelmota <168240+miguelmota@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:18:40 +0000 Subject: [PATCH 69/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 82fc132d..b43f3137 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 6bcec99488538c687c72b8c2e6e1ecc63962c1dc +# trails-api v1 882f47b54785b948cf6982e36a36bebba6ee5baa # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1773,6 +1773,25 @@ components: type: number updatedAt: type: string + ExchangeRate: + type: object + required: + - name + - symbol + - value + - vsCurrency + - currencyType + properties: + name: + type: string + symbol: + type: string + value: + type: number + vsCurrency: + type: string + currencyType: + type: string CCTPTransfer: type: object required: @@ -2503,4 +2522,4 @@ components: nextPage: $ref: '#/components/schemas/Page' -paths: +paths: \ No newline at end of file From be307d8c2462c0b7850fe06bc047753ed5a1ce9d Mon Sep 17 00:00:00 2001 From: miguelmota <168240+miguelmota@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:21:00 +0000 Subject: [PATCH 70/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 90 ++++++++++++++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index b43f3137..f15fb616 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 882f47b54785b948cf6982e36a36bebba6ee5baa +# trails-api v1 0517f00cb9576abe647fd27182885ba1d87c4d3f # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2067,6 +2067,61 @@ components: type: boolean featureIndex: type: number + EarnPool: + type: object + required: + - id + - name + - protocol + - chainId + - apy + - tvl + - token + - depositAddress + - isActive + properties: + id: + type: string + name: + type: string + protocol: + type: string + chainId: + type: number + apy: + type: number + tvl: + type: number + token: + $ref: '#/components/schemas/PoolTokenInfo' + depositAddress: + type: string + isActive: + type: boolean + poolUrl: + type: string + protocolUrl: + type: string + wrappedTokenGatewayAddress: + type: string + PoolTokenInfo: + type: object + required: + - symbol + - name + - address + - decimals + properties: + symbol: + type: string + name: + type: string + address: + type: string + decimals: + type: number + logoUrl: + type: string MeldQuote: type: object required: @@ -2472,6 +2527,39 @@ components: description: '[]TokenInfo' items: $ref: '#/components/schemas/TokenInfo' + GetEarnPoolsRequest: + type: object + properties: + chainIds: + type: array + description: '[]uint64' + items: + type: number + protocols: + type: array + description: '[]string' + items: + type: string + minTvl: + type: number + maxApy: + type: number + GetEarnPoolsResponse: + type: object + required: + - pools + - timestamp + - cached + properties: + pools: + type: array + description: '[]EarnPool' + items: + $ref: '#/components/schemas/EarnPool' + timestamp: + type: string + cached: + type: boolean Page: type: object properties: From 986e199e429357b4dba5e1cf97aac4c846842afa Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Thu, 15 Jan 2026 10:43:08 +0000 Subject: [PATCH 71/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index f15fb616..bfc71e34 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 0517f00cb9576abe647fd27182885ba1d87c4d3f +# trails-api v1 e7341e5f1ec243ade3384c4f3594956280e9facb # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2122,6 +2122,25 @@ components: type: number logoUrl: type: string + FiatCurrency: + type: object + required: + - code + - symbol + - name + - flag + - decimals + properties: + code: + type: string + symbol: + type: string + name: + type: string + flag: + type: string + decimals: + type: number MeldQuote: type: object required: From e95d5ec3beadcd3fbe5729e1969a486f74ace811 Mon Sep 17 00:00:00 2001 From: miguelmota <168240+miguelmota@users.noreply.github.com> Date: Thu, 15 Jan 2026 14:05:59 +0000 Subject: [PATCH 72/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 33 ++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index bfc71e34..46e964d3 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 e7341e5f1ec243ade3384c4f3594956280e9facb +# trails-api v1 b795e62c0a9d2cd06dde990d3f51e3dd8fcee4d4 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -2122,6 +2122,37 @@ components: type: number logoUrl: type: string + CountryRegion: + type: object + required: + - regionCode + - name + properties: + regionCode: + type: string + name: + type: string + Country: + type: object + required: + - countryCode + - name + - flag + - flagImageUrl + properties: + countryCode: + type: string + name: + type: string + flag: + type: string + flagImageUrl: + type: string + regions: + type: array + description: '[]CountryRegion' + items: + $ref: '#/components/schemas/CountryRegion' FiatCurrency: type: object required: From 78d960129bc54924169a572bb7b456132ef11246 Mon Sep 17 00:00:00 2001 From: miguelmota <168240+miguelmota@users.noreply.github.com> Date: Mon, 26 Jan 2026 23:18:09 +0000 Subject: [PATCH 73/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 46e964d3..95976339 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 b795e62c0a9d2cd06dde990d3f51e3dd8fcee4d4 +# trails-api v1 b36048f8bdf8c3a55e5698aacdbb8118d7f8174a # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -950,6 +950,7 @@ components: - LIFI - RELAY - SUSHI + - WETH - ZEROX IntentStatus: type: string From 2c63560315febbbddc5b869e3e710e71998e103c Mon Sep 17 00:00:00 2001 From: miguelmota <168240+miguelmota@users.noreply.github.com> Date: Mon, 26 Jan 2026 23:27:35 +0000 Subject: [PATCH 74/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 95976339..094f973b 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 b36048f8bdf8c3a55e5698aacdbb8118d7f8174a +# trails-api v1 1324f0e5cb1e28bd10a2a57602e4d744b577c983 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -1147,6 +1147,10 @@ components: - toAddress - tokenAddress - amount + - chainId + - to + - data + - value properties: toAddress: type: string @@ -1156,6 +1160,14 @@ components: type: number amount: type: number + chainId: + type: number + to: + type: string + data: + type: string + value: + type: number IntentCalls: type: object required: From 5aa9847c3a3408298fedd5e59af9e3133d1797e3 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Fri, 30 Jan 2026 11:38:36 +0000 Subject: [PATCH 75/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 50 ++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 094f973b..ee42505e 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 1324f0e5cb1e28bd10a2a57602e4d744b577c983 +# trails-api v1 3d9cdad332f46e6616d1705d0b3d60d56621cf59 # -- # Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT # @@ -952,6 +952,14 @@ components: - SUSHI - WETH - ZEROX + FundMethod: + type: string + description: Represented as string on the server side + enum: + - WALLET + - DIRECT_TRANSFER + - ONRAMP_MESH + - ONRAMP_MELD IntentStatus: type: string description: Represented as uint8 on the server side @@ -1053,6 +1061,8 @@ components: type: number tradeType: $ref: '#/components/schemas/TradeType' + fundMethod: + $ref: '#/components/schemas/FundMethod' onlyNativeGasFee: type: boolean options: @@ -1068,6 +1078,20 @@ components: type: number trailsAddressOverrides: $ref: '#/components/schemas/TrailsAddressOverrides' + PassthroughInfo: + type: object + required: + - eligible + properties: + eligible: + type: boolean + depositTransaction: + $ref: '#/components/schemas/DepositTransaction' + transactionStates: + type: array + description: '[]TransactionStateInfo' + items: + $ref: '#/components/schemas/TransactionStateInfo' Intent: type: object required: @@ -1115,6 +1139,8 @@ components: type: number depositTransaction: $ref: '#/components/schemas/DepositTransaction' + passthrough: + type: boolean originCalls: $ref: '#/components/schemas/IntentCalls' destinationCalls: @@ -1168,6 +1194,19 @@ components: type: string value: type: number + TransactionStateInfo: + type: object + required: + - id + - label + - chainId + properties: + id: + type: string + label: + type: string + chainId: + type: number IntentCalls: type: object required: @@ -1946,6 +1985,8 @@ components: type: string is2612: type: boolean + isPassthroughEligible: + type: boolean DepositSignature: type: object required: @@ -2308,6 +2349,13 @@ components: $ref: '#/components/schemas/Intent' gasFeeOptions: $ref: '#/components/schemas/GasFeeOptions' + transactionStates: + type: array + description: '[]TransactionStateInfo' + items: + $ref: '#/components/schemas/TransactionStateInfo' + passthrough: + $ref: '#/components/schemas/PassthroughInfo' CommitIntentRequest: type: object required: From f7ef9d09d8648b84373c30cce70b763a6f8b8b10 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Mon, 2 Feb 2026 00:30:44 +0000 Subject: [PATCH 76/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 1706 ++++++++++++++++++++++++++++- 1 file changed, 1702 insertions(+), 4 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index ee42505e..7f2423dd 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,8 +1,8 @@ -# trails-api v1 3d9cdad332f46e6616d1705d0b3d60d56621cf59 +# trails-api v1 885f570fc1ed8d03d549df978b59f862c6c813f5 # -- -# Code generated by webrpc-gen@v0.31.3 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # -# webrpc-gen -service=Trails -methodTreeShake -match=@public -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -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'}} -out=proto/docs/trails-api.gen.yaml +# webrpc-gen -service=Trails -methodTreeShake -service=Trails -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -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'}} -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 info: title: 'Trails API' @@ -2720,5 +2720,1703 @@ components: $ref: '#/components/schemas/IntentSummary' nextPage: $ref: '#/components/schemas/Page' + Trails_Ping_Request: + type: object + Trails_RuntimeStatus_Request: + type: object + Trails_Clock_Request: + type: object + Trails_GetExchangeRate_Request: + type: object + properties: + toCurrency: + type: string + Trails_GetCountryList_Request: + type: object + Trails_GetTrailsContracts_Request: + type: object + Trails_GetFiatCurrencyList_Request: + type: object + Trails_Ping_Response: + type: object + properties: + version: + type: string + Trails_RuntimeStatus_Response: + type: object + properties: + status: + $ref: '#/components/schemas/RuntimeStatus' + Trails_Clock_Response: + type: object + properties: + serverTime: + type: string + Trails_GetExchangeRate_Response: + type: object + properties: + exchangeRate: + $ref: '#/components/schemas/ExchangeRate' + Trails_GetCountryList_Response: + type: object + properties: + countries: + type: array + description: '[]Country' + items: + $ref: '#/components/schemas/Country' + Trails_GetTrailsContracts_Response: + type: object + properties: + TrailsContracts: + $ref: '#/components/schemas/TrailsContracts' + Trails_GetFiatCurrencyList_Response: + type: object + properties: + currencies: + type: array + description: '[]FiatCurrency' + items: + $ref: '#/components/schemas/FiatCurrency' -paths: \ No newline at end of file +paths: + /rpc/Trails/Ping: + post: + operationId: Trails-Ping + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_Ping_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_Ping_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/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/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' + /rpc/Trails/RuntimeStatus: + post: + operationId: Trails-RuntimeStatus + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_RuntimeStatus_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_RuntimeStatus_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/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/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' + /rpc/Trails/Clock: + post: + operationId: Trails-Clock + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_Clock_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_Clock_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/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/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' + /rpc/Trails/QuoteIntent: + post: + operationId: Trails-QuoteIntent + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/QuoteIntentRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/QuoteIntentResponse' + '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/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' + /rpc/Trails/CommitIntent: + post: + operationId: Trails-CommitIntent + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/CommitIntentRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/CommitIntentResponse' + '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/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' + /rpc/Trails/ExecuteIntent: + post: + operationId: Trails-ExecuteIntent + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/ExecuteIntentRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/ExecuteIntentResponse' + '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/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' + /rpc/Trails/WaitIntentReceipt: + post: + operationId: Trails-WaitIntentReceipt + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/WaitIntentReceiptRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/WaitIntentReceiptResponse' + '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/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' + /rpc/Trails/GetIntentReceipt: + post: + operationId: Trails-GetIntentReceipt + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentReceiptRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentReceiptResponse' + '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/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' + /rpc/Trails/GetIntent: + post: + operationId: Trails-GetIntent + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentResponse' + '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/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' + /rpc/Trails/SearchIntents: + post: + operationId: Trails-SearchIntents + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/SearchIntentsRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/SearchIntentsResponse' + '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/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' + /rpc/Trails/GetIntentHistory: + post: + operationId: Trails-GetIntentHistory + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentHistoryRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentHistoryResponse' + '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/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' + /rpc/Trails/AbortIntent: + post: + operationId: Trails-AbortIntent + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AbortIntentRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/AbortIntentResponse' + '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/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' + /rpc/Trails/GetChains: + post: + operationId: Trails-GetChains + tags: ["Trails"] + summary: "GetChains will return the list of supported chains by Trails." + requestBody: + content: + application/json: + schema: + $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/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' + /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/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' + /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/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' + /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 + content: + application/json: + schema: + $ref: '#/components/schemas/GetTokenListResponse' + '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/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' + /rpc/Trails/GetTokenPrices: + post: + operationId: Trails-GetTokenPrices + tags: ["Trails"] + summary: "GetTokenPrices will return the live prices for a list of tokens." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetTokenPricesRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetTokenPricesResponse' + '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/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' + /rpc/Trails/GetExchangeRate: + post: + operationId: Trails-GetExchangeRate + tags: ["Trails"] + summary: "GetExchangeRate returns the exchange rate from USD to a specified currency." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetExchangeRate_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetExchangeRate_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/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/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' + /rpc/Trails/GetCountryList: + post: + operationId: Trails-GetCountryList + tags: ["Trails"] + summary: "GetCountryList returns the list of supported countries for onramp providers." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetCountryList_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetCountryList_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/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/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' + /rpc/Trails/GetTrailsContracts: + post: + operationId: Trails-GetTrailsContracts + tags: ["Trails"] + summary: "GetTrailsContracts returns Trails contract addresses used by the Trails Intents stack." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetTrailsContracts_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetTrailsContracts_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/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/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' + /rpc/Trails/GetEarnPools: + post: + operationId: Trails-GetEarnPools + tags: ["Trails"] + summary: "GetEarnPools returns aggregated pool information from DeFi protocols (Aave, Morpho)." + description: | + This endpoint provides yield-bearing opportunities across multiple chains. + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetEarnPoolsRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetEarnPoolsResponse' + '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/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' + /rpc/Trails/GetFiatCurrencyList: + post: + operationId: Trails-GetFiatCurrencyList + tags: ["Trails"] + summary: "GetFiatCurrencyList returns the list of supported fiat currencies for display preferences." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetFiatCurrencyList_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetFiatCurrencyList_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/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/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' + /rpc/Trails/GetIntentTransactionHistory: + post: + operationId: Trails-GetIntentTransactionHistory + tags: ["Trails"] + summary: "Deprecated: please use GetIntentHistory instead" + deprecated: true + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentTransactionHistoryRequest' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/GetIntentTransactionHistoryResponse' + '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/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' \ No newline at end of file From 85fcaafe74ff3dc2b59fb3a9334312dfc1dddb8a Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:31:22 +0000 Subject: [PATCH 77/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 33 ++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 7f2423dd..fa63d4e6 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 885f570fc1ed8d03d549df978b59f862c6c813f5 +# trails-api v1 9923827ab0683bd37e4aa9e713fa728b4c930297 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -1085,8 +1085,8 @@ components: properties: eligible: type: boolean - depositTransaction: - $ref: '#/components/schemas/DepositTransaction' + passthroughTransaction: + $ref: '#/components/schemas/PassThroughTransaction' transactionStates: type: array description: '[]TransactionStateInfo' @@ -1194,6 +1194,33 @@ components: type: string value: type: number + PassThroughTransaction: + type: object + required: + - toAddress + - tokenAddress + - amount + - chainId + - to + - data + - value + properties: + toAddress: + type: string + tokenAddress: + type: string + decimals: + type: number + amount: + type: number + chainId: + type: number + to: + type: string + data: + type: string + value: + type: number TransactionStateInfo: type: object required: From 41b7192b61f3a37efdca4250f610461e49be2bba Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 12 Feb 2026 03:36:33 +0000 Subject: [PATCH 78/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 49 +++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index fa63d4e6..47022725 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 9923827ab0683bd37e4aa9e713fa728b4c930297 +# trails-api v1 ffbd87b67c27fec01ab50b279c1ce1c3af650163 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -935,6 +935,28 @@ components: status: type: number example: 400 + ErrorChainNodeHealth: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "ChainNodeHealth" + code: + type: number + example: 9001 + msg: + type: string + example: "Intent quote is unavailable due to interrupted chain node access" + cause: + type: string + status: + type: number + example: 503 TradeType: type: string description: Represented as string on the server side @@ -2877,6 +2899,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/RuntimeStatus: post: operationId: Trails-RuntimeStatus @@ -2947,6 +2970,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/Clock: post: operationId: Trails-Clock @@ -3017,6 +3041,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/QuoteIntent: post: operationId: Trails-QuoteIntent @@ -3087,6 +3112,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/CommitIntent: post: operationId: Trails-CommitIntent @@ -3157,6 +3183,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/ExecuteIntent: post: operationId: Trails-ExecuteIntent @@ -3227,6 +3254,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/WaitIntentReceipt: post: operationId: Trails-WaitIntentReceipt @@ -3297,6 +3325,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetIntentReceipt: post: operationId: Trails-GetIntentReceipt @@ -3367,6 +3396,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetIntent: post: operationId: Trails-GetIntent @@ -3437,6 +3467,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/SearchIntents: post: operationId: Trails-SearchIntents @@ -3507,6 +3538,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetIntentHistory: post: operationId: Trails-GetIntentHistory @@ -3577,6 +3609,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/AbortIntent: post: operationId: Trails-AbortIntent @@ -3647,6 +3680,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetChains: post: operationId: Trails-GetChains @@ -3717,6 +3751,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetExactOutputRoutes: post: operationId: Trails-GetExactOutputRoutes @@ -3802,6 +3837,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetExactInputRoutes: post: operationId: Trails-GetExactInputRoutes @@ -3882,6 +3918,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetTokenList: post: operationId: Trails-GetTokenList @@ -3954,6 +3991,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetTokenPrices: post: operationId: Trails-GetTokenPrices @@ -4024,6 +4062,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetExchangeRate: post: operationId: Trails-GetExchangeRate @@ -4094,6 +4133,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetCountryList: post: operationId: Trails-GetCountryList @@ -4164,6 +4204,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetTrailsContracts: post: operationId: Trails-GetTrailsContracts @@ -4234,6 +4275,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetEarnPools: post: operationId: Trails-GetEarnPools @@ -4306,6 +4348,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetFiatCurrencyList: post: operationId: Trails-GetFiatCurrencyList @@ -4376,6 +4419,7 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' /rpc/Trails/GetIntentTransactionHistory: post: operationId: Trails-GetIntentTransactionHistory @@ -4446,4 +4490,5 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcBadResponse' - $ref: '#/components/schemas/ErrorWebrpcServerPanic' - $ref: '#/components/schemas/ErrorWebrpcInternalError' - - $ref: '#/components/schemas/ErrorUnexpected' \ No newline at end of file + - $ref: '#/components/schemas/ErrorUnexpected' + - $ref: '#/components/schemas/ErrorChainNodeHealth' \ No newline at end of file From 15ac42c98fe2920a1a8fd3a29d4e1be2eb9256d4 Mon Sep 17 00:00:00 2001 From: VojtechVitek <139342+VojtechVitek@users.noreply.github.com> Date: Fri, 13 Feb 2026 11:52:01 +0000 Subject: [PATCH 79/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 116 +++++++++++++++++++++--------- 1 file changed, 81 insertions(+), 35 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 47022725..04af40c3 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 ffbd87b67c27fec01ab50b279c1ce1c3af650163 +# trails-api v1 4d397c894ffa11049054b53003ebf41f0ccff405 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -1052,6 +1052,12 @@ components: - COMPLETE - REFUNDED - FAILED + SortOrder: + type: string + description: Represented as uint32 on the server side + enum: + - DESC + - ASC QuoteIntentRequest: type: object required: @@ -1350,6 +1356,48 @@ components: type: string receipt: $ref: '#/components/schemas/IntentReceipt' + hasBalance: + type: boolean + balances: + type: array + description: '[]IntentAddressBalance' + items: + $ref: '#/components/schemas/IntentAddressBalance' + IntentAddressBalance: + type: object + required: + - intentAddress + - chainId + - tokens + properties: + intentAddress: + type: string + chainId: + type: number + tokens: + type: array + description: '[]IntentTokenBalance' + items: + $ref: '#/components/schemas/IntentTokenBalance' + IntentTokenBalance: + type: object + required: + - contractAddress + - balance + - decimals + - chainId + - symbol + properties: + contractAddress: + type: string + balance: + type: string + decimals: + type: number + chainId: + type: number + symbol: + type: string IntentReceiptSummary: type: object required: @@ -2275,6 +2323,34 @@ components: type: string decimals: type: number + Page: + type: object + properties: + column: + type: string + before: + type: number + after: + type: number + 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' MeldQuote: type: object required: @@ -2333,12 +2409,6 @@ components: type: boolean partnerFee: type: number - SortOrder: - type: string - description: Represented as uint32 on the server side - enum: - - DESC - - ASC RuntimeStatus: type: object required: @@ -2532,6 +2602,10 @@ components: type: number byOwnerAddress: type: string + includeBalances: + type: boolean + onlyRecoverable: + type: boolean GetIntentHistoryResponse: type: object required: @@ -2720,34 +2794,6 @@ components: type: string cached: type: boolean - Page: - type: object - properties: - column: - type: string - before: - type: number - after: - type: number - 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' GetIntentTransactionHistoryRequest: type: object properties: From 077b3aba654fe664bb7f26de71149a44c9e11326 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 18 Feb 2026 16:59:07 +0000 Subject: [PATCH 80/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 04af40c3..5ee6fd01 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 4d397c894ffa11049054b53003ebf41f0ccff405 +# trails-api v1 5c961431383427089e40150a105cd9adc669a885 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -993,6 +993,7 @@ components: - SUCCEEDED - ABORTED - REFUNDED + - INVALID TransactionType: type: string description: Represented as uint8 on the server side From 9905771ab2d537bac10126ecfacac4f8d0145e2c Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 20 Feb 2026 19:03:53 +0000 Subject: [PATCH 81/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 5ee6fd01..510d4aa2 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -970,10 +970,20 @@ components: - AUTO - CCTP - LIFI + - LZ_OFT + - LZ_STARGATE - RELAY - SUSHI - WETH - ZEROX + RoutePreference: + type: string + description: Represented as string on the server side + enum: + - RECOMMENDED + - FASTEST + - CHEAPEST + - TRUSTLESS FundMethod: type: string description: Represented as string on the server side @@ -1103,6 +1113,8 @@ components: $ref: '#/components/schemas/RouteProvider' bridgeProvider: $ref: '#/components/schemas/RouteProvider' + preference: + $ref: '#/components/schemas/RoutePreference' slippageTolerance: type: number trailsAddressOverrides: @@ -1337,6 +1349,8 @@ components: type: string input: type: string + bridgeGas: + type: number IntentHistory: type: object required: @@ -1557,6 +1571,8 @@ components: type: string tokenAmount: type: number + bridgeGas: + type: number calldata: type: string metaTxnId: @@ -1638,6 +1654,8 @@ components: description: '[]float64' items: type: number + estimatedDuration: + type: number fromAmount: type: number fromAmountMin: From 61cca9693b41ecdfa9a2ced345a0da95c4a1e457 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 25 Feb 2026 18:23:46 +0000 Subject: [PATCH 82/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 510d4aa2..e8eb1705 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 5c961431383427089e40150a105cd9adc669a885 +# trails-api v1 2149efcef448b27d325110d005ff6c3dbe4b80bb # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -971,7 +971,6 @@ components: - CCTP - LIFI - LZ_OFT - - LZ_STARGATE - RELAY - SUSHI - WETH @@ -2621,6 +2620,14 @@ components: type: number byOwnerAddress: type: string + originChainId: + type: number + destinationChainId: + type: number + fromTime: + type: number + toTime: + type: number includeBalances: type: boolean onlyRecoverable: From a65b169addf7dbc3ef139ccdb085946f45e62616 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 25 Feb 2026 19:40:09 +0000 Subject: [PATCH 83/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index e8eb1705..5be2a290 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 2149efcef448b27d325110d005ff6c3dbe4b80bb +# trails-api v1 3ed3cffbcf996870cf31e85bd6146a08fe5aa0ca # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -1112,6 +1112,10 @@ components: $ref: '#/components/schemas/RouteProvider' bridgeProvider: $ref: '#/components/schemas/RouteProvider' + swapProviderFallback: + type: boolean + bridgeProviderFallback: + type: boolean preference: $ref: '#/components/schemas/RoutePreference' slippageTolerance: From 3c09307941e9a661a4841e01e687295989381dfb Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Mon, 2 Mar 2026 15:29:52 +0000 Subject: [PATCH 84/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 5be2a290..8b04c279 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 3ed3cffbcf996870cf31e85bd6146a08fe5aa0ca +# trails-api v1 6243d9741d2f85bc58607bf82641d2c74106f104 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -1402,6 +1402,8 @@ components: required: - contractAddress - balance + - balanceUsd + - priceUsd - decimals - chainId - symbol @@ -1410,6 +1412,10 @@ components: type: string balance: type: string + balanceUsd: + type: string + priceUsd: + type: string decimals: type: number chainId: From ba0274e6b149fae4afe61465b392ca29913b4270 Mon Sep 17 00:00:00 2001 From: shunkakinoki <39187513+shunkakinoki@users.noreply.github.com> Date: Mon, 2 Mar 2026 16:48:02 +0000 Subject: [PATCH 85/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 8b04c279..5d818ff3 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 6243d9741d2f85bc58607bf82641d2c74106f104 +# trails-api v1 7773f9557b02749ba9c167836995a6e80f2290a7 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -2642,6 +2642,8 @@ components: type: boolean onlyRecoverable: type: boolean + byStatus: + $ref: '#/components/schemas/IntentStatus' GetIntentHistoryResponse: type: object required: From 3a98b7be0e37afa13de7a084c5c4ef09e2cef091 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 10 Mar 2026 19:29:25 +0000 Subject: [PATCH 86/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 140 +++++++++++++++++++++++++++++- 1 file changed, 138 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 5d818ff3..3b81cd42 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 7773f9557b02749ba9c167836995a6e80f2290a7 +# trails-api v1 09b4a22354daade797322fab7aa7bc2260a5f516 # -- # Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT # @@ -991,6 +991,12 @@ components: - DIRECT_TRANSFER - ONRAMP_MESH - ONRAMP_MELD + IntentProtocolVersion: + type: string + description: Represented as string on the server side + enum: + - v1 + - v1_5 IntentStatus: type: string description: Represented as uint8 on the server side @@ -1108,6 +1114,8 @@ components: QuoteIntentRequestOptions: type: object properties: + intentProtocol: + $ref: '#/components/schemas/IntentProtocolVersion' swapProvider: $ref: '#/components/schemas/RouteProvider' bridgeProvider: @@ -1203,6 +1211,8 @@ components: $ref: '#/components/schemas/IntentFees' trailsVersion: type: string + intentProtocol: + $ref: '#/components/schemas/IntentProtocolVersion' trailsContracts: $ref: '#/components/schemas/TrailsContracts' expiresAt: @@ -2188,7 +2198,30 @@ components: type: string trailsRouterShimAddress: type: string - ChainInfo: + NativeCurrency: + type: object + required: + - name + - symbol + - decimals + properties: + name: + type: string + symbol: + type: string + decimals: + type: number + BlockExplorer: + type: object + required: + - name + - url + properties: + name: + type: string + url: + type: string + RouteChainInfo: type: object required: - id @@ -2217,6 +2250,23 @@ components: type: string blockExplorerUrl: type: string + ChainInfo: + type: object + required: + - id + - name + - nativeCurrency + properties: + id: + type: number + name: + type: string + nativeCurrency: + $ref: '#/components/schemas/NativeCurrency' + logoUri: + type: string + blockExplorer: + $ref: '#/components/schemas/BlockExplorer' TokenInfo: type: object required: @@ -2644,6 +2694,11 @@ components: type: boolean byStatus: $ref: '#/components/schemas/IntentStatus' + byStatuses: + type: array + description: '[]IntentStatus' + items: + $ref: '#/components/schemas/IntentStatus' GetIntentHistoryResponse: type: object required: @@ -2868,6 +2923,8 @@ components: type: object Trails_GetTrailsContracts_Request: type: object + Trails_GetSupportedIntentProtocols_Request: + type: object Trails_GetFiatCurrencyList_Request: type: object Trails_Ping_Response: @@ -2903,6 +2960,14 @@ components: properties: TrailsContracts: $ref: '#/components/schemas/TrailsContracts' + Trails_GetSupportedIntentProtocols_Response: + type: object + properties: + versions: + type: array + description: '[]IntentProtocolVersion' + items: + $ref: '#/components/schemas/IntentProtocolVersion' Trails_GetFiatCurrencyList_Response: type: object properties: @@ -4360,6 +4425,77 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetSupportedIntentProtocols: + post: + operationId: Trails-GetSupportedIntentProtocols + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetSupportedIntentProtocols_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetSupportedIntentProtocols_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/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/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/GetEarnPools: post: operationId: Trails-GetEarnPools From ed9e3fb3eca2db88c36da79a430f2f678e19f362 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 11 Mar 2026 20:02:05 +0000 Subject: [PATCH 87/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 3b81cd42..5949d2f1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ -# trails-api v1 09b4a22354daade797322fab7aa7bc2260a5f516 +# trails-api v1 0077b7e0065e880dfb911316126f00a2057d7b08 # -- -# Code generated by webrpc-gen@v0.32.2 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.36.0 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -methodTreeShake -service=Trails -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -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'}} -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 From a04d1700bcdcc3232dda7414545a0856f8090839 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Sat, 14 Mar 2026 11:51:32 +0000 Subject: [PATCH 88/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 209 +----------------------------- 1 file changed, 4 insertions(+), 205 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 5949d2f1..87e62b64 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,6 +1,6 @@ -# trails-api v1 0077b7e0065e880dfb911316126f00a2057d7b08 +# trails-api v1 9dacd2e5232190c510823bb4f33a7deec1a9b3b7 # -- -# Code generated by webrpc-gen@v0.36.0 with openapi generator; DO NOT EDIT +# Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # # webrpc-gen -service=Trails -methodTreeShake -service=Trails -schema=proto/trails-api.ridl -target=openapi -title=Trails API -securityAnnotation=@auth -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'}} -out=proto/docs/trails-api.gen.yaml openapi: 3.0.0 @@ -1025,6 +1025,8 @@ components: enum: - NONE - CCTPV2_MESSAGE + - LZ_COMPOSE + - LZ_RECEIVE TransactionStatus: type: string description: Represented as uint8 on the server side @@ -1047,27 +1049,6 @@ components: - NORMAL - BUSY - VERY_BUSY - CCTPTransferStatus: - type: string - description: Represented as uint8 on the server side - enum: - - UNKNOWN - - ON_HOLD - - PENDING - - FETCHING - - COMPLETE - - FAILED - RelayTransferStatus: - type: string - description: Represented as uint8 on the server side - enum: - - UNKNOWN - - ON_HOLD - - PENDING - - FETCHING - - COMPLETE - - REFUNDED - - FAILED SortOrder: type: string description: Represented as uint32 on the server side @@ -1902,20 +1883,6 @@ components: type: number feeNative: type: number - ChainMetadata: - type: object - required: - - chainId - - name - properties: - chainId: - type: number - name: - type: string - logoUri: - type: string - testnet: - type: boolean TokenMetadata: type: object required: @@ -1979,87 +1946,6 @@ components: type: string currencyType: type: string - CCTPTransfer: - type: object - required: - - id - - intentId - - originChainId - - destinationChainId - - originTxnId - - originTxnHash - - destinationTxnId - - message - - attestation - - status - - createdAt - - updatedAt - properties: - id: - type: number - intentId: - type: string - originChainId: - type: number - destinationChainId: - type: number - originTxnId: - type: number - originTxnHash: - type: string - destinationTxnId: - type: number - message: - type: string - attestation: - type: string - status: - type: number - statusReason: - type: string - createdAt: - type: string - updatedAt: - type: string - RelayTransfer: - type: object - required: - - id - - intentId - - originChainId - - destinationChainId - - originTxnId - - originTxnHash - - destinationTxnId - - destinationTxnHash - - status - - createdAt - - updatedAt - properties: - id: - type: number - intentId: - type: string - originChainId: - type: number - destinationChainId: - type: number - originTxnId: - type: number - originTxnHash: - type: string - destinationTxnId: - type: number - destinationTxnHash: - type: string - status: - type: number - statusReason: - type: string - createdAt: - type: string - updatedAt: - type: string GasFeeOptions: type: object required: @@ -2221,35 +2107,6 @@ components: type: string url: type: string - RouteChainInfo: - type: object - required: - - id - - name - - tokenName - - tokenSymbol - - tokenDecimals - - isTestnet - - supportsBridging - properties: - id: - type: number - name: - type: string - tokenName: - type: string - tokenSymbol: - type: string - tokenDecimals: - type: number - isTestnet: - type: boolean - supportsBridging: - type: boolean - logoUri: - type: string - blockExplorerUrl: - type: string ChainInfo: type: object required: @@ -2429,64 +2286,6 @@ components: type: string order: $ref: '#/components/schemas/SortOrder' - MeldQuote: - type: object - required: - - transactionType - - sourceAmount - - sourceAmountWithoutFees - - fiatAmountWithoutFees - - sourceCurrencyCode - - countryCode - - totalFee - - networkFee - - transactionFee - - destinationAmount - - destinationCurrencyCode - - exchangeRate - - paymentMethodType - - customerScore - - serviceProvider - - partnerFee - properties: - transactionType: - type: string - sourceAmount: - type: number - sourceAmountWithoutFees: - type: number - fiatAmountWithoutFees: - type: number - destinationAmountWithoutFees: - type: number - sourceCurrencyCode: - type: string - countryCode: - type: string - totalFee: - type: number - networkFee: - type: number - transactionFee: - type: number - destinationAmount: - type: number - destinationCurrencyCode: - type: string - exchangeRate: - type: number - paymentMethodType: - type: string - customerScore: - type: number - serviceProvider: - type: string - institutionName: - type: string - lowKyc: - type: boolean - partnerFee: - type: number RuntimeStatus: type: object required: From 26918b6df94225c4908f21de683083498656b23e Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Mon, 16 Mar 2026 23:44:46 +0000 Subject: [PATCH 89/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 86 ++++++++++++++++++++++++++++++- 1 file changed, 84 insertions(+), 2 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 87e62b64..c10e4a9b 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 9dacd2e5232190c510823bb4f33a7deec1a9b3b7 +# trails-api v1 1b8f494929b941a8a46622f2ba54fd445dff3913 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -2722,6 +2722,11 @@ components: type: object Trails_GetTrailsContracts_Request: type: object + Trails_GetProtocolContracts_Request: + type: object + properties: + intentProtocol: + $ref: '#/components/schemas/IntentProtocolVersion' Trails_GetSupportedIntentProtocols_Request: type: object Trails_GetFiatCurrencyList_Request: @@ -2759,6 +2764,11 @@ components: properties: TrailsContracts: $ref: '#/components/schemas/TrailsContracts' + Trails_GetProtocolContracts_Response: + type: object + properties: + TrailsContracts: + $ref: '#/components/schemas/TrailsContracts' Trails_GetSupportedIntentProtocols_Response: type: object properties: @@ -4157,7 +4167,8 @@ paths: post: operationId: Trails-GetTrailsContracts tags: ["Trails"] - summary: "GetTrailsContracts returns Trails contract addresses used by the Trails Intents stack." + summary: "Deprecated: please use GetProtocolContracts instead" + deprecated: true requestBody: content: application/json: @@ -4224,6 +4235,77 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetProtocolContracts: + post: + operationId: Trails-GetProtocolContracts + tags: ["Trails"] + summary: "GetProtocolContracts returns Trails contract addresses used by the Trails Intents stack for the given protocol." + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetProtocolContracts_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetProtocolContracts_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/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/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/GetSupportedIntentProtocols: post: operationId: Trails-GetSupportedIntentProtocols From 07a7032c1e9d49131c7bce36358a4bddcf855efb Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Thu, 19 Mar 2026 13:48:15 +0000 Subject: [PATCH 90/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 49 ++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index c10e4a9b..00b9a839 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 1b8f494929b941a8a46622f2ba54fd445dff3913 +# trails-api v1 54e5c45fad699aea7a4004e15de52c0e67b2a446 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -913,6 +913,28 @@ components: status: type: number example: 400 + ErrorHighPriceImpact: + type: object + required: + - error + - code + - msg + - status + properties: + error: + type: string + example: "HighPriceImpact" + code: + type: number + example: 7002 + msg: + type: string + example: "Quote unavailable due to high price impact" + cause: + type: string + status: + type: number + example: 422 ErrorIntentsDisabled: type: object required: @@ -2846,6 +2868,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -2917,6 +2940,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -2988,6 +3012,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3059,6 +3084,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3130,6 +3156,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3201,6 +3228,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3272,6 +3300,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3343,6 +3372,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3414,6 +3444,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3485,6 +3516,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3556,6 +3588,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3627,6 +3660,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3698,6 +3732,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3784,6 +3819,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3865,6 +3901,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -3938,6 +3975,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4009,6 +4047,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4080,6 +4119,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4151,6 +4191,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4223,6 +4264,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4294,6 +4336,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4365,6 +4408,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4438,6 +4482,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4509,6 +4554,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error @@ -4581,6 +4627,7 @@ paths: - $ref: '#/components/schemas/ErrorClientOutdated' - $ref: '#/components/schemas/ErrorIntentsSkipped' - $ref: '#/components/schemas/ErrorQuoteExpired' + - $ref: '#/components/schemas/ErrorHighPriceImpact' - $ref: '#/components/schemas/ErrorIntentsDisabled' '5XX': description: Server error From 767b60a504331ee2c4f5355df9266fa5a7cd191d Mon Sep 17 00:00:00 2001 From: ScreamingHawk <1460552+ScreamingHawk@users.noreply.github.com> Date: Sun, 22 Mar 2026 23:59:57 +0000 Subject: [PATCH 91/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 00b9a839..572ca3f1 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 54e5c45fad699aea7a4004e15de52c0e67b2a446 +# trails-api v1 c91cc4209a7d27494f3fa2a0589bc310d0095738 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -1098,6 +1098,8 @@ components: type: string destinationToAddress: type: string + destinationApproveAddress: + type: string destinationCallData: type: string destinationCallValue: From de30f00059866bf4ad2949d3707cecd335d7ce1a Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Fri, 27 Mar 2026 00:12:53 +0000 Subject: [PATCH 92/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 81 ++++++++++++++++++++++++++++++- 1 file changed, 80 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 572ca3f1..8b659f56 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 c91cc4209a7d27494f3fa2a0589bc310d0095738 +# trails-api v1 e5f7fc952d694046c813590e0141426137e6aa71 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -2753,6 +2753,8 @@ components: $ref: '#/components/schemas/IntentProtocolVersion' Trails_GetSupportedIntentProtocols_Request: type: object + Trails_GetDefaultIntentProtocol_Request: + type: object Trails_GetFiatCurrencyList_Request: type: object Trails_Ping_Response: @@ -2801,6 +2803,11 @@ components: description: '[]IntentProtocolVersion' items: $ref: '#/components/schemas/IntentProtocolVersion' + Trails_GetDefaultIntentProtocol_Response: + type: object + properties: + version: + $ref: '#/components/schemas/IntentProtocolVersion' Trails_GetFiatCurrencyList_Response: type: object properties: @@ -4423,6 +4430,78 @@ paths: - $ref: '#/components/schemas/ErrorWebrpcInternalError' - $ref: '#/components/schemas/ErrorUnexpected' - $ref: '#/components/schemas/ErrorChainNodeHealth' + /rpc/Trails/GetDefaultIntentProtocol: + post: + operationId: Trails-GetDefaultIntentProtocol + tags: ["Trails"] + summary: "" + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetDefaultIntentProtocol_Request' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/Trails_GetDefaultIntentProtocol_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/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/GetEarnPools: post: operationId: Trails-GetEarnPools From 98c688775acaac09794e7f80a73ef52b6e8e42a0 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Tue, 31 Mar 2026 17:23:29 +0000 Subject: [PATCH 93/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index 8b659f56..e04ae6db 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 afb12298fbfbb321e3c14c2cde12a278757b55c3 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -2035,9 +2035,7 @@ components: DepositSignature: type: object required: - - intentSignature - selectedGasFeeOption - - userNonce - deadline properties: intentSignature: @@ -2057,11 +2055,9 @@ components: DepositIntentEntry: type: object required: - - intentSignature - feeAmount - feeToken - feeCollector - - userNonce - deadline properties: intentSignature: @@ -2101,6 +2097,7 @@ components: - trailsIntentEntrypointAddress - trailsRouterAddress - trailsRouterShimAddress + - trailsUtilsAddress properties: trailsIntentEntrypointAddress: type: string @@ -2108,6 +2105,8 @@ components: type: string trailsRouterShimAddress: type: string + trailsUtilsAddress: + type: string NativeCurrency: type: object required: From 8afb52039f69f95daa1a38e07e531deed8d4e071 Mon Sep 17 00:00:00 2001 From: pkieltyka <18831+pkieltyka@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:38:25 +0000 Subject: [PATCH 94/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 601 +++++++++++++++++++++++++++++- 1 file changed, 600 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index e04ae6db..a5b0f824 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 afb12298fbfbb321e3c14c2cde12a278757b55c3 +# trails-api v1 34edef67f3d439e1eca97dc7aa887642e49df57e # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -991,6 +991,7 @@ components: enum: - AUTO - CCTP + - GASZIP - LIFI - LZ_OFT - RELAY @@ -2709,6 +2710,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: @@ -4575,6 +4670,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 From 432d85dae0bb5be6f6d3fc6f5bcf2a658f12378e Mon Sep 17 00:00:00 2001 From: ScreamingHawk <1460552+ScreamingHawk@users.noreply.github.com> Date: Mon, 6 Apr 2026 22:18:31 +0000 Subject: [PATCH 95/95] [AUTOMATED] Update: proto/docs/trails-api.gen.yaml --- api-reference/trails-api.gen.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/api-reference/trails-api.gen.yaml b/api-reference/trails-api.gen.yaml index a5b0f824..e591533c 100644 --- a/api-reference/trails-api.gen.yaml +++ b/api-reference/trails-api.gen.yaml @@ -1,4 +1,4 @@ -# trails-api v1 34edef67f3d439e1eca97dc7aa887642e49df57e +# trails-api v1 9d51a97722c875ec619680b1edd5bf3de42402a2 # -- # Code generated by webrpc-gen@v0.36.1 with openapi generator; DO NOT EDIT # @@ -1161,6 +1161,8 @@ components: - ownerAddress - originChainId - destinationChainId + - originTokenAddress + - destinationTokenAddress - originIntentAddress - salt - depositTransaction @@ -1189,6 +1191,10 @@ components: type: number destinationChainId: type: number + originTokenAddress: + type: string + destinationTokenAddress: + type: string originIntentAddress: type: string destinationIntentAddress: @@ -2505,8 +2511,12 @@ components: type: string originChainId: type: number + originTokenAddress: + type: string destinationChainId: type: number + destinationTokenAddress: + type: string fromTime: type: number toTime: