We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1217b60 commit f046a87Copy full SHA for f046a87
src/types/chains.ts
@@ -32,6 +32,7 @@ export type Theme = {
32
export enum GAS_PRICE_TYPE {
33
ORACLE = 'ORACLE',
34
FIXED = 'FIXED',
35
+ FIXED_1559 = 'FIXED1559',
36
UNKNOWN = 'UNKNOWN',
37
}
38
@@ -47,11 +48,17 @@ export type GasPriceFixed = {
47
48
weiValue: string
49
50
51
+export type GasPriceFixedEIP1559 = {
52
+ type: GAS_PRICE_TYPE.FIXED_1559
53
+ maxFeePerGas: string
54
+ maxPriorityFeePerGas: string
55
+}
56
+
57
export type GasPriceUnknown = {
58
type: GAS_PRICE_TYPE.UNKNOWN
59
60
-export type GasPrice = (GasPriceOracle | GasPriceFixed | GasPriceUnknown)[]
61
+export type GasPrice = (GasPriceOracle | GasPriceFixed | GasPriceFixedEIP1559 | GasPriceUnknown)[]
62
63
export enum FEATURES {
64
ERC721 = 'ERC721',
0 commit comments