-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.json
88 lines (87 loc) · 2.31 KB
/
demo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"swaps": [
{
"inputAmount": {
"numerator": [660865024, 931322574],
"denominator": [1],
"currency": {
"chainId": 1,
"decimals": 18,
"isNative": false,
"isToken": true,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
"decimalScale": [660865024, 931322574]
},
"outputAmount": {
"numerator": [78472333, 2],
"denominator": [1],
"currency": {
"chainId": 1,
"decimals": 6,
"isNative": false,
"isToken": true,
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"decimalScale": [1000000]
},
"route": {
"_midPrice": null,
"pools": [
{
"token0": {
"chainId": 1,
"decimals": 18,
"isNative": false,
"isToken": true,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
"token1": {
"chainId": 1,
"decimals": 6,
"isNative": false,
"isToken": true,
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
},
"fee": 3000,
"sqrtRatioX96": [162496388, 164875760, 3247071],
"liquidity": [354071663, 76344425, 7],
"tickCurrent": -199211,
"tickDataProvider": {}
}
],
"tokenPath": [
{
"chainId": 1,
"decimals": 18,
"isNative": false,
"isToken": true,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
{
"chainId": 1,
"decimals": 6,
"isNative": false,
"isToken": true,
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}
],
"input": {
"chainId": 1,
"decimals": 18,
"isNative": false,
"isToken": true,
"address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
},
"output": {
"chainId": 1,
"decimals": 6,
"isNative": false,
"isToken": true,
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}
}
}
],
"tradeType": 0
}