@wardenswap/bestrate-sdk-beta 2.9.0 → 2.11.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -8,7 +8,8 @@ declare enum BESTRATE_NETWORK {
8
8
  polygon = "polygon",
9
9
  ethereum = "ethereum",
10
10
  avalanche = "avalanche",
11
- optimism = "optimism"
11
+ optimism = "optimism",
12
+ base = "base"
12
13
  }
13
14
  type TokenInfo = {
14
15
  address: string;
@@ -765,7 +766,7 @@ declare class WardenBestRate {
765
766
  * @param amountIn Amount of src asset to be traded
766
767
  * @param gasPrice Amount of gas price per unit in native currency (18 decimals)
767
768
  * e.g. BSC = BNB, Polygon = MATIC, Ethereum = ETH. For L2 chains,
768
- * this is Ethereum (L1) gas price.
769
+ * this is price per byte of data.
769
770
  * @param opts Options for getting quote
770
771
  * @returns Trading routes which provide the best rate
771
772
  */
@@ -8,7 +8,8 @@ declare enum BESTRATE_NETWORK {
8
8
  polygon = "polygon",
9
9
  ethereum = "ethereum",
10
10
  avalanche = "avalanche",
11
- optimism = "optimism"
11
+ optimism = "optimism",
12
+ base = "base"
12
13
  }
13
14
  type TokenInfo = {
14
15
  address: string;
@@ -765,7 +766,7 @@ declare class WardenBestRate {
765
766
  * @param amountIn Amount of src asset to be traded
766
767
  * @param gasPrice Amount of gas price per unit in native currency (18 decimals)
767
768
  * e.g. BSC = BNB, Polygon = MATIC, Ethereum = ETH. For L2 chains,
768
- * this is Ethereum (L1) gas price.
769
+ * this is price per byte of data.
769
770
  * @param opts Options for getting quote
770
771
  * @returns Trading routes which provide the best rate
771
772
  */