11/* eslint-disable */
2- // trails-api v1.0.0 be6fdd3eab15f477b03ddf9bd7abeb162178b4d0
2+ // trails-api v1.0.0 57e04bf9ac957ab0646258ce21b9b52859e2d8b3
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 = 'be6fdd3eab15f477b03ddf9bd7abeb162178b4d0 '
15+ export const WebrpcSchemaHash = '57e04bf9ac957ab0646258ce21b9b52859e2d8b3 '
1616
1717//
1818// Client interface
@@ -104,10 +104,11 @@ export interface QuoteIntentRequest {
104104 originTokenAddress : string
105105 destinationChainId : number
106106 destinationTokenAddress : string
107- destinationTokenAmount : bigint
108107 destinationToAddress : string
109108 destinationCallData ?: string
110109 destinationCallValue ?: string
110+ originTokenAmount ?: bigint
111+ destinationTokenAmount ?: bigint
111112 tradeType ?: TradeType
112113 options ?: QuoteIntentRequestOptions
113114}
@@ -830,7 +831,7 @@ const BIG_INT_FIELDS: { [typ: string]: (string | [string, string])[] } = {
830831 IntentTransaction : [ 'tokenAmount' ] ,
831832 IntentTransactionGasFee : [ 'totalGasLimit' , 'gasPrice' , 'totalFeeAmount' , [ 'metaTxnFeeDetails' , 'MetaTxnFeeDetails' ] ] ,
832833 MetaTxnFeeDetails : [ 'estimatedGasLimit' , 'feeNative' ] ,
833- QuoteIntentRequest : [ 'destinationTokenAmount' ] ,
834+ QuoteIntentRequest : [ 'originTokenAmount' , ' destinationTokenAmount'] ,
834835 QuoteIntentResponse : [ [ 'intent' , 'Intent' ] ] ,
835836 SearchIntentsResponse : [ [ 'intents' , 'Intent[]' ] ] ,
836837 TransactionCall : [ 'value' , 'gasLimit' ] ,
0 commit comments