11/* eslint-disable */
2- // trails-api v1.0.0 3db4e7de3a5bd5ac465fd949325f7ae87f8f896d
2+ // trails-api v1.0.0 637d853041f61166b4ffb5d6fb879fce563c45a8
33// --
44// Code generated by [email protected] with typescript generator. DO NOT EDIT. 55//
@@ -12,7 +12,7 @@ export const WebrpcVersion = 'v1'
1212export const WebrpcSchemaVersion = 'v1.0.0'
1313
1414// Schema hash generated from your RIDL schema
15- export const WebrpcSchemaHash = '3db4e7de3a5bd5ac465fd949325f7ae87f8f896d '
15+ export const WebrpcSchemaHash = '637d853041f61166b4ffb5d6fb879fce563c45a8 '
1616
1717//
1818// Client interface
@@ -131,6 +131,7 @@ export interface Intent {
131131 metaTxns : Array < MetaTxn >
132132 quote : IntentProviderQuote
133133 fees : IntentFees
134+ trailsVersion : string
134135 expiresAt : string
135136 updatedAt ?: string
136137 createdAt ?: string
@@ -244,11 +245,11 @@ export interface IntentTransactionGasFee {
244245 chainGasUsageStatus : ChainGasUsageStatus
245246 totalFeeAmount : bigint
246247 totalFeeUsd : string
247- metaTxnFeeDetails : Array < MetaTxnFeeDetail >
248+ metaTxnFeeDetails : MetaTxnFeeDetails
248249 metaTxnGasQuote : string
249250}
250251
251- export interface MetaTxnFeeDetail {
252+ export interface MetaTxnFeeDetails {
252253 metaTxnId : string
253254 estimatedGasLimit : bigint
254255 feeNative : bigint
@@ -812,8 +813,8 @@ const BIG_INT_FIELDS: { [typ: string]: (string | [string, string])[] } = {
812813 [ 'destinationTransaction' , 'IntentTransaction' ]
813814 ] ,
814815 IntentTransaction : [ 'tokenAmount' ] ,
815- IntentTransactionGasFee : [ 'totalGasLimit' , 'gasPrice' , 'totalFeeAmount' , [ 'metaTxnFeeDetails' , 'MetaTxnFeeDetail[] ' ] ] ,
816- MetaTxnFeeDetail : [ 'estimatedGasLimit' , 'feeNative' ] ,
816+ IntentTransactionGasFee : [ 'totalGasLimit' , 'gasPrice' , 'totalFeeAmount' , [ 'metaTxnFeeDetails' , 'MetaTxnFeeDetails ' ] ] ,
817+ MetaTxnFeeDetails : [ 'estimatedGasLimit' , 'feeNative' ] ,
817818 QuoteIntentRequest : [ 'originTokenAmount' , 'destinationTokenAmount' ] ,
818819 QuoteIntentResponse : [ [ 'intent' , 'Intent' ] ] ,
819820 SearchIntentsResponse : [ [ 'intents' , 'Intent[]' ] ] ,
0 commit comments