Skip to content

Commit cbb8284

Browse files
authored
feat: curve finance endpoint (#23)
1 parent 799c13b commit cbb8284

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Previous Releases: <br />
2929
</tr>
3030
<tr>
3131
<td>version</td>
32-
<td><a href="mailto:&#x76;&#49;&#x2e;&#x31;&#x2e;&#x35;&#x40;&#x32;&#x30;&#50;&#49;&#x2e;&#49;&#48;&#x2e;&#50;&#50;">v1.1.11@2022.6.02</a></td>
32+
<td><a href="mailto:&#x76;&#49;&#x2e;&#x31;&#x2e;&#x35;&#x40;&#x32;&#x30;&#50;&#49;&#x2e;&#49;&#48;&#x2e;&#50;&#50;">v1.1.12@2022.11.11</a></td>
3333
</tr>
3434
<tr>
3535
<td>license</td>
@@ -63,6 +63,8 @@ Previous Releases: <br />
6363
+ [bnc-ext](#bnc-ext)
6464
+ [BlockNative Chrome Extenstion](#blocknative-chrome-extenstion)
6565
+ [sample response](#sample-response)
66+
* [Curve Finance](#curve-finance)
67+
+ [getGas](#getGas)
6668
* [WalletConnect](#walletconnect)
6769
+ [specification](#specification)
6870
+ [sample response](#sample-response-1)
@@ -483,6 +485,47 @@ Does this mean that we always save gas when using transaction’s with access li
483485
"baseFeePerGas": 83.897778652
484486
}
485487
```
488+
489+
### Curve-Finance
490+
491+
#### `getGas`
492+
493+
[https://api.curve.fi/api/getGas](https://api.curve.fi/api/getGas)
494+
495+
496+
```bash
497+
https://api.curve.fi/api/getGas
498+
```
499+
500+
```json
501+
{
502+
"success": true,
503+
"data": {
504+
"gas": {
505+
"rapid": 36000000000,
506+
"fast": 35000000000,
507+
"standard": 35000000000,
508+
"slow": 35000000000
509+
},
510+
"eip1559Gas": {
511+
"base": 35292604977,
512+
"prio": [
513+
1220000000,
514+
500000000,
515+
350000000,
516+
230000000
517+
],
518+
"max": [
519+
56110000000,
520+
55390000000,
521+
55240000000,
522+
55120000000
523+
]
524+
}
525+
},
526+
"generatedTimeMs": 1668181797396
527+
}
528+
```
486529

487530
### WalletConnect
488531

0 commit comments

Comments
 (0)