1
1
/* eslint-disable */
2
- // sequence-api v0.4.0 416e853bb8f0c0c743846ac941ea7f53b5f0683d
2
+ // sequence-api v0.4.0 fce15c8cb22b7e081fc97615dbf78baf9d718749
3
3
// --
4
4
// Code generated by [email protected] with typescript generator. DO NOT EDIT.
5
5
//
@@ -16,7 +16,7 @@ export const WebRPCVersion = 'v1'
16
16
export const WebRPCSchemaVersion = 'v0.4.0'
17
17
18
18
// Schema hash generated from your RIDL schema
19
- export const WebRPCSchemaHash = '416e853bb8f0c0c743846ac941ea7f53b5f0683d '
19
+ export const WebRPCSchemaHash = 'fce15c8cb22b7e081fc97615dbf78baf9d718749 '
20
20
21
21
type WebrpcGenVersions = {
22
22
webrpcGenVersion : string
@@ -461,6 +461,17 @@ export interface LifiSwapRoute {
461
461
toTokens : Array < LifiToken >
462
462
}
463
463
464
+ export interface GetLifiSwapQuoteParams {
465
+ chainId : number
466
+ walletAddress : string
467
+ fromTokenAddress : string
468
+ toTokenAddress : string
469
+ fromTokenAmount : string
470
+ toTokenAmount : string
471
+ includeApprove : boolean
472
+ slippageBps : number
473
+ }
474
+
464
475
export interface LifiSwapQuote {
465
476
currencyAddress : string
466
477
currencyBalance : string
@@ -1467,14 +1478,7 @@ export interface GetLifiSwapRoutesReturn {
1467
1478
routes : Array < LifiSwapRoute >
1468
1479
}
1469
1480
export interface GetLifiSwapQuoteArgs {
1470
- userAddress : string
1471
- buyCurrencyAddress : string
1472
- sellCurrencyAddress : string
1473
- buyAmount ?: string
1474
- sellAmount ?: string
1475
- chainId : number
1476
- includeApprove : boolean
1477
- slippagePercentage ?: number
1481
+ params : GetLifiSwapQuoteParams
1478
1482
}
1479
1483
1480
1484
export interface GetLifiSwapQuoteReturn {
0 commit comments