@0xsquid/sdk
Advanced tools
Comparing version 1.1.0-beta.8 to 1.1.0-beta.9
@@ -158,3 +158,3 @@ "use strict"; | ||
data: transactionRequest.data, | ||
gasLimit: 70e4 // 700000 gasLimit | ||
gasLimit: transactionRequest.gasLimit | ||
}; | ||
@@ -161,0 +161,0 @@ if (transactionRequest.routeType !== "SEND") { |
@@ -99,2 +99,6 @@ import { ethers } from "ethers"; | ||
value: number; | ||
gasLimit: string; | ||
gasPrice: string; | ||
maxFeePerGas: string; | ||
maxPriorityFeePerGas: string; | ||
}; | ||
@@ -124,2 +128,4 @@ export declare type RouteData = SwapData[]; | ||
aggregatePriceImpact: string; | ||
feeCosts: FeeCost[]; | ||
gasCosts: GasCost[]; | ||
}; | ||
@@ -200,1 +206,20 @@ export declare type Route = { | ||
}; | ||
export declare type GasCost = { | ||
type: string; | ||
token: TokenData; | ||
amount: string; | ||
amountUSD: string; | ||
gasPrice: string; | ||
maxFeePerGas: string; | ||
maxPriorityFeePerGas: string; | ||
estimate: string; | ||
limit: string; | ||
}; | ||
export declare type FeeCost = { | ||
name: string; | ||
description: string; | ||
percentage: string; | ||
token: TokenData; | ||
amount: string; | ||
amountUSD: string; | ||
}; |
{ | ||
"name": "@0xsquid/sdk", | ||
"version": "1.1.0-beta.8", | ||
"version": "1.1.0-beta.9", | ||
"description": "🛠 An SDK for building applications on top of 0xsquid", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39797
810